diff options
author | joerg <joerg@pkgsrc.org> | 2008-06-20 01:09:05 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2008-06-20 01:09:05 +0000 |
commit | 3b0d97b0de8516db29699676c860489da3f7f0e1 (patch) | |
tree | bb388f6b2532587595653e67cce25229ed050cb8 /security/cfs/Makefile | |
parent | 10abca39942a8f34d088f39ccc073fee44271274 (diff) | |
download | pkgsrc-3b0d97b0de8516db29699676c860489da3f7f0e1.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'security/cfs/Makefile')
-rw-r--r-- | security/cfs/Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/security/cfs/Makefile b/security/cfs/Makefile index 325c6cf57f5..6793c31aea4 100644 --- a/security/cfs/Makefile +++ b/security/cfs/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.31 2008/04/07 16:45:35 joerg Exp $ +# $NetBSD: Makefile,v 1.32 2008/06/20 01:09:33 joerg Exp $ DISTNAME= cfs-1.4.1 PKGREVISION= 6 @@ -9,6 +9,7 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.crypto.com/software/ COMMENT= Encrypting file system, using NFS as its interface +PKG_DESTDIR_SUPPORT= user-destdir CRYPTO= # defined @@ -99,15 +100,15 @@ do-build: @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} \ ${SH} ${CFS_BUILD_SCRIPT} ${BUILD_TARGET} -INSTALLATION_DIRS= sbin ${PKGMANDIR}/man1 ${PKGMANDIR}/man8 ${DOCDIR} +INSTALLATION_DIRS= bin sbin ${PKGMANDIR}/man1 ${PKGMANDIR}/man8 ${DOCDIR} post-install: cd ${WRKSRC}; for file in *.1; do \ - ${INSTALL_MAN} $${file} ${PREFIX}/${PKGMANDIR}/man1/$${file}; \ + ${INSTALL_MAN} $${file} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/$${file}; \ done cd ${WRKSRC}; for file in *.8; do \ - ${INSTALL_MAN} $${file} ${PREFIX}/${PKGMANDIR}/man8/$${file}; \ + ${INSTALL_MAN} $${file} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/$${file}; \ done - ${INSTALL_DATA} ${WRKSRC}/notes.ms ${DOCDIR} + ${INSTALL_DATA} ${WRKSRC}/notes.ms ${DESTDIR}${DOCDIR} .include "../../mk/bsd.pkg.mk" |