summaryrefslogtreecommitdiff
path: root/security/keychain
diff options
context:
space:
mode:
authormartti <martti>2009-05-12 11:09:26 +0000
committermartti <martti>2009-05-12 11:09:26 +0000
commite29bb2e2793046ec48686c5abe63b5f0db46384e (patch)
tree293fee09a9da71a3f98e81d8892794bcb6b65a3a /security/keychain
parentc9e85b10d7b73e468e3df9cddd50403922abb499 (diff)
downloadpkgsrc-e29bb2e2793046ec48686c5abe63b5f0db46384e.tar.gz
Added PKG_DESTDIR_SUPPORT=user-destdir
Diffstat (limited to 'security/keychain')
-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"