summaryrefslogtreecommitdiff
path: root/science/chemtool/files/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'science/chemtool/files/patch-Makefile')
-rw-r--r--science/chemtool/files/patch-Makefile23
1 files changed, 21 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