diff options
author | joerg <joerg@pkgsrc.org> | 2009-07-08 16:01:04 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2009-07-08 16:01:04 +0000 |
commit | c2e517d2ee20dd2b7707fa9ccf646a95ba06b1c2 (patch) | |
tree | c436e8c9cbbb2414ba813c269a93a899083e4ec1 /databases/cdb | |
parent | 1da0042796f6f4ce837a45c1010ef27415657853 (diff) | |
download | pkgsrc-c2e517d2ee20dd2b7707fa9ccf646a95ba06b1c2.tar.gz |
user-destdir support
Diffstat (limited to 'databases/cdb')
-rw-r--r-- | databases/cdb/Makefile | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/databases/cdb/Makefile b/databases/cdb/Makefile index af31e492720..50185960396 100644 --- a/databases/cdb/Makefile +++ b/databases/cdb/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 2006/01/07 06:45:45 schmonz Exp $ +# $NetBSD: Makefile,v 1.20 2009/07/08 16:01:04 joerg Exp $ DISTNAME= cdb-0.75 CATEGORIES= databases @@ -8,17 +8,23 @@ MAINTAINER= schmonz@NetBSD.org HOMEPAGE= http://cr.yp.to/cdb.html COMMENT= Creates and reads constant databases +PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir + CONFLICTS+= tinycdb-[0-9]* DJB_RESTRICTED= YES -PKG_INSTALLATION_TYPES= overwrite pkgviews - INSTALLATION_DIRS= bin include lib -post-install: - ${INSTALL_DATA} ${WRKSRC}/cdb.h ${PREFIX}/include - ${INSTALL_DATA} ${WRKSRC}/cdb.a ${PREFIX}/lib/libcdb.a +do-install: + for prog in cdbdump cdbget cdbmake cdbstats cdbtest; do \ + ${INSTALL_PROGRAM} ${WRKSRC}/$$prog ${DESTDIR}${PREFIX}/bin; \ + done + ${INSTALL_SCRIPT} ${WRKSRC}/cdbmake-12 ${DESTDIR}${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/cdbmake-sv ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/cdb.h ${DESTDIR}${PREFIX}/include + ${INSTALL_DATA} ${WRKSRC}/cdb.a ${DESTDIR}${PREFIX}/lib/libcdb.a .include "../../mk/djbware.mk" .include "../../mk/bsd.pkg.mk" |