diff options
author | joerg <joerg> | 2010-01-29 16:51:38 +0000 |
---|---|---|
committer | joerg <joerg> | 2010-01-29 16:51:38 +0000 |
commit | 81ddcbee2d15d6187005a029244687bc69d84fe9 (patch) | |
tree | d793efe2c921b6a9d26b1de0536e6f0ab8acc511 /databases/dbh | |
parent | 2eabcc474d9e634d398aff503d16de461d7343b3 (diff) | |
download | pkgsrc-81ddcbee2d15d6187005a029244687bc69d84fe9.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" |