aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsf <sf@FreeBSD.org>2001-09-21 22:18:28 +0800
committersf <sf@FreeBSD.org>2001-09-21 22:18:28 +0800
commitba5d90013a0110857dd37c8898cf5134481b6894 (patch)
tree622e49504fe1b60468149bfdb655094220743389
parentecffa443e4aa7c393f31c6848bc7fe3f3f06db20 (diff)
downloadfreebsd-ports-gnome-ba5d90013a0110857dd37c8898cf5134481b6894.tar.gz
freebsd-ports-gnome-ba5d90013a0110857dd37c8898cf5134481b6894.tar.zst
freebsd-ports-gnome-ba5d90013a0110857dd37c8898cf5134481b6894.zip
o mkdir locale subdirectory before install.
o use INSTALL_* macro rather than ${CP}.
-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