aboutsummaryrefslogtreecommitdiffstats
path: root/science
diff options
context:
space:
mode:
Diffstat (limited to 'science')
-rw-r--r--science/chemtool/files/patch-Makefile22
1 files changed, 20 insertions, 2 deletions
diff --git a/science/chemtool/files/patch-Makefile b/science/chemtool/files/patch-Makefile
index ea86514bf556..5a3986e3c48b 100644
--- a/science/chemtool/files/patch-Makefile
+++ b/science/chemtool/files/patch-Makefile
@@ -1,5 +1,7 @@
---- Makefile.orig Tue Sep 11 15:38:42 2001
-+++ Makefile Tue Sep 11 15:39:52 2001
+$FreeBSD$
+
+--- Makefile.orig Thu May 3 08:31:00 2001
++++ Makefile Fri Sep 21 23:15:06 2001
@@ -1,7 +1,5 @@
-PREFIX=/usr/local
-LOCALEDIR=/usr/share/locale
@@ -19,3 +21,19 @@
all: chemtool cht
+@@ -25,9 +23,12 @@
+ # ${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