summaryrefslogtreecommitdiff
path: root/biology
diff options
context:
space:
mode:
authorjtb <jtb@pkgsrc.org>2001-03-04 17:33:42 +0000
committerjtb <jtb@pkgsrc.org>2001-03-04 17:33:42 +0000
commit10e5a9abde5e9396b480e5011a93a5a63bc109b9 (patch)
treef48925d2eb6c4875b32d7b9b5e631372556776f0 /biology
parent28d15231cb9293edd7d4c712f5465324303353cb (diff)
downloadpkgsrc-10e5a9abde5e9396b480e5011a93a5a63bc109b9.tar.gz
Use ${PKGLOCALEDIR}.
Diffstat (limited to 'biology')
-rw-r--r--biology/chemtool/Makefile4
-rw-r--r--biology/chemtool/files/patch-sum4
-rw-r--r--biology/chemtool/patches/patch-aa4
3 files changed, 7 insertions, 5 deletions
diff --git a/biology/chemtool/Makefile b/biology/chemtool/Makefile
index a8ee2f988f7..c50d3864c80 100644
--- a/biology/chemtool/Makefile
+++ b/biology/chemtool/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2001/02/16 13:41:27 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2001/03/04 17:33:42 jtb Exp $
DISTNAME= chemtool-1.3
CATEGORIES= biology
@@ -10,6 +10,8 @@ COMMENT= Program for drawing organic molecules
DEPENDS+= gtk+>=1.0.0:../../x11/gtk
+MAKE_ENV+= "PKGLOCALEDIR=${PKGLOCALEDIR}"
+
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/chemtool
@for f in ${WRKSRC}/examples/*; do \
diff --git a/biology/chemtool/files/patch-sum b/biology/chemtool/files/patch-sum
index b8d15483343..8eeb48dd979 100644
--- a/biology/chemtool/files/patch-sum
+++ b/biology/chemtool/files/patch-sum
@@ -1,5 +1,5 @@
-$NetBSD: patch-sum,v 1.2 2001/02/12 02:16:03 jtb Exp $
+$NetBSD: patch-sum,v 1.3 2001/03/04 17:33:42 jtb Exp $
-MD5 (patch-aa) = 0854349a7060d6a8020b776d315c331c
+MD5 (patch-aa) = 5c7beeb40e46fe0579e3f9e73ed73b1c
MD5 (patch-ab) = 0f990b1e1f3dc5c5176a748870d713ba
MD5 (patch-ac) = 1c1b963e57d809d6332ada09004d2e58
diff --git a/biology/chemtool/patches/patch-aa b/biology/chemtool/patches/patch-aa
index 0b02a6aee62..dba56e897eb 100644
--- a/biology/chemtool/patches/patch-aa
+++ b/biology/chemtool/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.2 2001/02/12 02:16:03 jtb Exp $
+$NetBSD: patch-aa,v 1.3 2001/03/04 17:33:42 jtb Exp $
--- Makefile.orig Tue Feb 6 18:52:54 2001
+++ Makefile
@@ -10,7 +10,7 @@ $NetBSD: patch-aa,v 1.2 2001/02/12 02:16:03 jtb Exp $
-CP=/bin/cp
-RM=/bin/rm -f
+#PREFIX=/usr/local
-+LOCALEDIR=${PREFIX}/share/locale
++LOCALEDIR=${PREFIX}/${PKGLOCALEDIR}/locale
+#CFLAGS=-O2 -Wall
+#CC=gcc
+#CP=/bin/cp