summaryrefslogtreecommitdiff
path: root/security/keychain/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/keychain/Makefile')
-rw-r--r--security/keychain/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/security/keychain/Makefile b/security/keychain/Makefile
index f6890103164..46aa75aae1c 100644
--- a/security/keychain/Makefile
+++ b/security/keychain/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2007/10/30 19:31:42 martti Exp $
+# $NetBSD: Makefile,v 1.25 2009/05/12 11:09:26 martti Exp $
DISTNAME= keychain-2.6.8
CATEGORIES= security
@@ -15,14 +15,17 @@ DEPENDS+= openssh-[0-9]*:../../security/openssh
.endif
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
NO_BUILD= yes
-INSTALLATION_DIRS= bin ${PKGMANDIR:Q}/man1 share/doc/${PKGBASE:Q}
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/doc/${PKGBASE}
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC:Q}/keychain ${PREFIX:Q}/bin
- ${INSTALL_MAN} ${WRKSRC:Q}/keychain.1 ${PREFIX:Q}/${PKGMANDIR:Q}/man1
- ${INSTALL_DATA} ${WRKSRC:Q}/README ${PREFIX:Q}/share/doc/${PKGBASE:Q}
+ ${INSTALL_SCRIPT} ${WRKSRC}/keychain ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/keychain.1 \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_DATA} ${WRKSRC}/README \
+ ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
.include "../../mk/bsd.pkg.mk"