mirror of
https://git.freebsd.org/ports.git
synced 2025-06-07 05:40:30 -04:00
36 lines
1.1 KiB
Text
36 lines
1.1 KiB
Text
--- ./Makefile_start.orig 2010-10-10 19:42:50.000000000 +0200
|
|
+++ ./Makefile_start 2011-07-31 01:06:08.000000000 +0200
|
|
@@ -1,6 +1,6 @@
|
|
POSTFIX=REPLACE_POSTFIX
|
|
-CC = REPLACE_CC
|
|
-RANLIB=REPLACE_RANLIB
|
|
+%%SET_CC%%
|
|
+%%SET_RANLIB%%
|
|
INSTALLDIR=REPLACE_INSTALLDIR
|
|
LIBINSTALLDIR=REPLACE_LIBINSTALLDIR
|
|
|
|
@@ -12,8 +12,8 @@
|
|
xml2ads xml2bib xml2end xml2isi xml2ris xml2wordbib modsclean
|
|
|
|
all : FORCE
|
|
- cd lib; make -k $(CC) -k $(RANLIB); cd ..
|
|
- cd bin; make -k $(CC) -k VERSION="$(VERSION)" -k DATE="$(DATE)"; cd ..
|
|
+ cd lib; make ; cd ..
|
|
+ cd bin; make VERSION="$(VERSION)" DATE="$(DATE)"; cd ..
|
|
|
|
clean: FORCE
|
|
cd lib ; make clean ; cd ..
|
|
@@ -31,11 +31,12 @@
|
|
cd bin ; make test; cd ..
|
|
|
|
install: all FORCE
|
|
- cd lib ; make -k LIBINSTALLDIR=$(LIBINSTALLDIR) install; cd ..
|
|
+ cd lib ; make LIBINSTALLDIR=$(LIBINSTALLDIR) install; cd ..
|
|
sed 's/VERSION/${VERSION}/g' packageconfig_start > lib/bibutils.pc
|
|
@for p in ${PROGRAMS}; \
|
|
do ( cp bin/$$p ${INSTALLDIR}/$$p ); \
|
|
done
|
|
+ cp lib/libbibutils.a ${INSTALLDIR}/../lib
|
|
|
|
package: all FORCE
|
|
csh -f maketgz.csh ${VERSION} ${POSTFIX}
|