diff options
author | joerg <joerg> | 2010-01-29 16:51:38 +0000 |
---|---|---|
committer | joerg <joerg> | 2010-01-29 16:51:38 +0000 |
commit | 651abb46680362c29e91688c45aecb2fccdb1b44 (patch) | |
tree | d793efe2c921b6a9d26b1de0536e6f0ab8acc511 /databases/dbh | |
parent | 0d2d494721a0675a0e6d34deb93e44c1e0a23422 (diff) | |
download | pkgsrc-651abb46680362c29e91688c45aecb2fccdb1b44.tar.gz |
DESTDIR support
Diffstat (limited to 'databases/dbh')
-rw-r--r-- | databases/dbh/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/databases/dbh/Makefile b/databases/dbh/Makefile index e3c92f7c6f2..7f9d4e0ca76 100644 --- a/databases/dbh/Makefile +++ b/databases/dbh/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.18 2010/01/16 17:57:37 wiz Exp $ +# $NetBSD: Makefile,v 1.19 2010/01/29 16:59:48 joerg Exp $ DISTNAME= dbh-1.0.24 CATEGORIES= databases @@ -8,16 +8,18 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://dbh.sourceforge.net/ COMMENT= Library to create disk based Hashtables +PKG_DESTDIR_SUPPORT= user-destdir + USE_LIBTOOL= yes GNU_CONFIGURE= yes USE_TOOLS+= pkg-config +INSTALLATION_DIRS+= share/doc/dbh/html + post-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/dbh - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/dbh/html cd ${WRKSRC} && ${INSTALL_DATA} AUTHORS COPYING ChangeLog \ - ${PREFIX}/share/doc/dbh + ${DESTDIR}${PREFIX}/share/doc/dbh cd ${WRKSRC} && ${INSTALL_DATA} doc/dbh-hash-tables.html \ - ${PREFIX}/share/doc/dbh/html + ${DESTDIR}${PREFIX}/share/doc/dbh/html .include "../../mk/bsd.pkg.mk" |