diff options
author | joerg <joerg@pkgsrc.org> | 2006-11-05 17:42:30 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-11-05 17:42:30 +0000 |
commit | 5ade59fdafbd1d4d9d91ab9ae015cd7c5d72b576 (patch) | |
tree | 255639bf9b875204654f9a90ae34e862631c9c9c /databases/db4/Makefile | |
parent | aa48c982406bf3ae2fc7616f0d5dfd0654627380 (diff) | |
download | pkgsrc-5ade59fdafbd1d4d9d91ab9ae015cd7c5d72b576.tar.gz |
DESTDIR support.
Diffstat (limited to 'databases/db4/Makefile')
-rw-r--r-- | databases/db4/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/databases/db4/Makefile b/databases/db4/Makefile index 398fe60f144..d23ff6e637d 100644 --- a/databases/db4/Makefile +++ b/databases/db4/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.48 2006/10/20 13:00:35 obache Exp $ +# $NetBSD: Makefile,v 1.49 2006/11/05 17:43:59 joerg Exp $ DISTNAME= db-4.4.20 PKGNAME= ${DISTNAME:S/db/db4/} @@ -14,6 +14,7 @@ HOMEPAGE= http://www.oracle.com/database/berkeley-db/db/index.html COMMENT= Berkeley DB version 4 from Oracle PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir DIST_SUBDIR= ${PKGNAME_NOREV} USE_LANGUAGES= c c++ @@ -56,7 +57,9 @@ PTHREAD_OPTS+= native . include "../../mk/pthread.buildlink3.mk" .endif +INSTALLATION_DIRS= include/db4 lib share/doc/db4 + post-install: - chown -R ${DOCOWN}:${DOCGRP} ${PREFIX}/share/doc/db4 + chown -R ${DOCOWN}:${DOCGRP} ${DESTDIR}${PREFIX}/share/doc/db4 .include "../../mk/bsd.pkg.mk" |