summaryrefslogtreecommitdiff
path: root/biology/chemtool
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-07-08 15:10:58 +0000
committerjoerg <joerg@pkgsrc.org>2009-07-08 15:10:58 +0000
commit1b148d11bfe54450f10a2d9a49461c890c81f28f (patch)
tree9b0a173393a53d0d1fc446292ce1fbc250725847 /biology/chemtool
parent12d0a9af7e250638b02bc5f32001e5180513004d (diff)
downloadpkgsrc-1b148d11bfe54450f10a2d9a49461c890c81f28f.tar.gz
user-destdir
Diffstat (limited to 'biology/chemtool')
-rw-r--r--biology/chemtool/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/biology/chemtool/Makefile b/biology/chemtool/Makefile
index e6aaa5540bf..bd0e73154a5 100644
--- a/biology/chemtool/Makefile
+++ b/biology/chemtool/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2007/03/04 11:56:40 joerg Exp $
+# $NetBSD: Makefile,v 1.32 2009/07/08 15:10:58 joerg Exp $
DISTNAME= chemtool-1.6.8
CATEGORIES= biology
@@ -9,18 +9,19 @@ HOMEPAGE= http://ruby.chemie.uni-freiburg.de/~martin/chemtool/
COMMENT= Program for drawing organic molecules
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
USE_PKGLOCALEDIR= yes
USE_TOOLS+= gmake pkg-config
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --without-gnomedir
+INSTALLATION_DIRS= share/doc/chemtool share/examples/chemtool
+
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/chemtool
- ${INSTALL_DATA} ${WRKSRC}/examples/* ${PREFIX}/share/examples/chemtool
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/chemtool
+ ${INSTALL_DATA} ${WRKSRC}/examples/* ${DESTDIR}${PREFIX}/share/examples/chemtool
cd ${WRKSRC} && ${INSTALL_DATA} README TODO \
- ${PREFIX}/share/doc/chemtool/
+ ${DESTDIR}${PREFIX}/share/doc/chemtool/
.include "../../x11/gtk/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"