aboutsummaryrefslogtreecommitdiff
path: root/security/keychain
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2012-08-03 15:34:45 +0000
committerRenato Botelho <garga@FreeBSD.org>2012-08-03 15:34:45 +0000
commit90d97bb7c0b335bf482b1243aaab6676246ab4ea (patch)
tree840e8379f841715c5db9a647458ff49f7766d803 /security/keychain
parent3699fb2fba0a69c608a43ba48f60a0bf905f0f1c (diff)
downloadports-90d97bb7c0b335bf482b1243aaab6676246ab4ea.tar.gz
ports-90d97bb7c0b335bf482b1243aaab6676246ab4ea.zip
Notes
Diffstat (limited to 'security/keychain')
-rw-r--r--security/keychain/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/security/keychain/Makefile b/security/keychain/Makefile
index 6a73d666a3d3..5cfcb4fdb67d 100644
--- a/security/keychain/Makefile
+++ b/security/keychain/Makefile
@@ -15,6 +15,9 @@ MASTER_SITE_SUBDIR= distfiles
MAINTAINER= garga@FreeBSD.org
COMMENT= A user-friendly front-end to ssh-agent(1)
+OPTIONS_DEFINE= DOCS
+OPTIONS_DEFAULT=DOCS
+
USE_BZIP2= yes
USE_GMAKE= yes
USE_PERL5_BUILD= yes
@@ -25,6 +28,8 @@ PLIST_FILES= bin/keychain
PORTDOCS= ChangeLog README.rst
+.include <bsd.port.pre.mk>
+
.if !exists(${LOCALBASE}/bin/ssh-agent) && !exists(/usr/bin/ssh-agent)
RUN_DEPENDS+= ssh-agent:${PORTSDIR}/security/openssh-portable
.endif
@@ -32,11 +37,11 @@ RUN_DEPENDS+= ssh-agent:${PORTSDIR}/security/openssh-portable
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/keychain ${PREFIX}/bin/keychain
${INSTALL_MAN} ${WRKSRC}/keychain.1 ${PREFIX}/man/man1
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>