aboutsummaryrefslogtreecommitdiffstats
path: root/security/keychain
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2012-08-03 23:34:45 +0800
committergarga <garga@FreeBSD.org>2012-08-03 23:34:45 +0800
commit614c4ed9928269c536345007e69e8ba648fccf8d (patch)
tree840e8379f841715c5db9a647458ff49f7766d803 /security/keychain
parenta3dfce416fb9bdc21b43f0f2cbc480e7205aaa94 (diff)
downloadfreebsd-ports-gnome-614c4ed9928269c536345007e69e8ba648fccf8d.tar.gz
freebsd-ports-gnome-614c4ed9928269c536345007e69e8ba648fccf8d.tar.zst
freebsd-ports-gnome-614c4ed9928269c536345007e69e8ba648fccf8d.zip
Add DOCS, EXAMPLES and NLS to OPTIONS_DEFINE to my ports
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>