pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases/cdb user-destdir support
details: https://anonhg.NetBSD.org/pkgsrc/rev/50d2fc3e6664
branches: trunk
changeset: 395535:50d2fc3e6664
user: joerg <joerg%pkgsrc.org@localhost>
date: Wed Jul 08 16:01:04 2009 +0000
description:
user-destdir support
diffstat:
databases/cdb/Makefile | 18 ++++++++++++------
1 files changed, 12 insertions(+), 6 deletions(-)
diffs (38 lines):
diff -r 267637663dc4 -r 50d2fc3e6664 databases/cdb/Makefile
--- a/databases/cdb/Makefile Wed Jul 08 15:54:33 2009 +0000
+++ b/databases/cdb/Makefile Wed Jul 08 16:01:04 2009 +0000
@@ -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 @@
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"
Home |
Main Index |
Thread Index |
Old Index