diff options
author | jlam <jlam> | 2008-02-21 19:32:23 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-02-21 19:32:23 +0000 |
commit | fcc6b83430ef07240a92b8d0704b4e7dc37911c8 (patch) | |
tree | 17fbe38ecf2c29e18e76358c675cb7025aa7ba83 /databases/db/Makefile | |
parent | ca2eab43f3c14742d46eb5ec958588ebb6f3ed73 (diff) | |
download | pkgsrc-fcc6b83430ef07240a92b8d0704b4e7dc37911c8.tar.gz |
+ Name the programs installed by the db(2) package db2_*.
+ Put documentation under ${PREFIX}/share/doc instead of
${PREFIX}/share/doc/html. Packages that install documentation under the
"html" directory are supposed to move them to the "doc" directory when
they're updated, but these packages are basically EOL'ed so just move
them now.
+ Add full DESTDIR support.
Bump the PKGREVISION of databases/db to 3 and databases/db3 to 4.
Diffstat (limited to 'databases/db/Makefile')
-rw-r--r-- | databases/db/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/databases/db/Makefile b/databases/db/Makefile index d4f1179039c..5fa5a7e46d9 100644 --- a/databases/db/Makefile +++ b/databases/db/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.29 2008/02/16 05:25:57 obache Exp $ +# $NetBSD: Makefile,v 1.30 2008/02/21 19:32:23 jlam Exp $ DISTNAME= db-2.7.7 -PKGREVISION= 2 +PKGREVISION= 3 CATEGORIES= databases MASTER_SITES= http://download.oracle.com/berkeley-db/ @@ -12,16 +12,18 @@ COMMENT= Sleepycat Software's Berkeley DB version 2 NO_PKGTOOLS_REQD_CHECK= yes # (needed for pkgtools/pkg_install) PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir WRKSRC= ${WRKDIR}/${DISTNAME}/build_unix USE_LIBTOOL= yes GNU_CONFIGURE= yes CONFIGURE_SCRIPT= ../dist/configure +CONFIGURE_ARGS+= --program-transform-name=s,db_,db2_, CONFIGURE_ARGS+= --enable-compat185 -INSTALLATION_DIRS= bin include/db2 lib share/doc/html +INSTALLATION_DIRS= bin include/db2 lib share/doc/db2 post-install: - ${CHOWN} -R ${BINOWN}:${BINGRP} ${PREFIX}/share/doc/html/db + ${CHOWN} -R ${BINOWN}:${BINGRP} ${DESTDIR}${PREFIX}/share/doc/db2 .include "../../mk/bsd.pkg.mk" |