diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2001-04-14 11:43:16 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2001-04-14 11:43:16 +0000 |
commit | f7268fcb56f79e7e35e738ea9f1653501731e85b (patch) | |
tree | 7ffd16e9c4c637393d758fb005ba5a139ca271d1 /science | |
parent | fd41396e56fc43d4b6cf0e7494c83d36e971604e (diff) | |
download | ports-f7268fcb56f79e7e35e738ea9f1653501731e85b.tar.gz ports-f7268fcb56f79e7e35e738ea9f1653501731e85b.zip |
Notes
Diffstat (limited to 'science')
-rw-r--r-- | science/chemtool/files/patch-Makefile | 23 | ||||
-rw-r--r-- | science/chemtool/files/patch-src-cht::Makefile | 8 |
2 files changed, 29 insertions, 2 deletions
diff --git a/science/chemtool/files/patch-Makefile b/science/chemtool/files/patch-Makefile index 92bf6d66fbfb..a1192f632ba1 100644 --- a/science/chemtool/files/patch-Makefile +++ b/science/chemtool/files/patch-Makefile @@ -1,5 +1,5 @@ ---- Makefile.orig Wed Feb 7 02:52:54 2001 -+++ Makefile Sat Mar 31 03:10:38 2001 +--- Makefile.orig Wed Feb 7 03:52:54 2001 ++++ Makefile Sat Apr 14 02:34:58 2001 @@ -1,7 +1,4 @@ -PREFIX=/usr/local -LOCALEDIR=/usr/share/locale @@ -20,3 +20,22 @@ all: chemtool cht +@@ -20,14 +17,14 @@ + ${CC} ${OBJS} ${SYS_LIBRARIES} -o chemtool + + cht: src-cht/cht-1.3.c +- cd src-cht;make ++ cd src-cht;${MAKE} + .c.o: + ${CC} ${CFLAGS} ${EXTRA_INCLUDES} -c ${SRCS} + + install: chemtool src-cht/cht +- ${CP} chemtool src-cht/cht ${PREFIX}/bin +- ${CP} chemtool.1 ${PREFIX}/man/man1 +- for L in `ls locales`; do ${CP} locales/$$L/chemtool.mo ${LOCALEDIR}/$$L/LC_MESSAGES;done ++ ${BSD_INSTALL_PROGRAM} chemtool src-cht/cht ${PREFIX}/bin ++ ${BSD_INSTALL_MAN} chemtool.1 ${PREFIX}/man/man1 ++ for L in `ls locales`; do mkdir -p ${LOCALEDIR}/$$L/LC_MESSAGES; ${BSD_INSTALL_DATA} locales/$$L/chemtool.mo ${LOCALEDIR}/$$L/LC_MESSAGES;done + + clean: + ${RM} *.o *~ src-cht/*.o src-cht/*~ chemtool src-cht/cht diff --git a/science/chemtool/files/patch-src-cht::Makefile b/science/chemtool/files/patch-src-cht::Makefile new file mode 100644 index 000000000000..193d47274874 --- /dev/null +++ b/science/chemtool/files/patch-src-cht::Makefile @@ -0,0 +1,8 @@ +--- src-cht/Makefile.orig Wed Feb 7 03:38:54 2001 ++++ src-cht/Makefile Sat Apr 14 02:13:38 2001 +@@ -1,4 +1,4 @@ + default: cht + + cht: cht-1.3.c +- gcc -O cht-1.3.c -lm -o cht ++ ${CC} ${CFLAGS} cht-1.3.c -lm -o cht |