summaryrefslogtreecommitdiff
path: root/science
diff options
context:
space:
mode:
authorFUJISHIMA Satsuki <sf@FreeBSD.org>2001-09-21 14:18:28 +0000
committerFUJISHIMA Satsuki <sf@FreeBSD.org>2001-09-21 14:18:28 +0000
commitcfb7836629aed730f501c9ea19ec65cd555f8040 (patch)
tree9d1df0c857557ab862ebfe4d187fe91776aeec32 /science
parentupdate patch for Big5 IME support (diff)
o mkdir locale subdirectory before install.
o use INSTALL_* macro rather than ${CP}.
Notes
Notes: svn path=/head/; revision=48036
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