diff options
author | garga <garga@FreeBSD.org> | 2012-08-03 23:34:45 +0800 |
---|---|---|
committer | garga <garga@FreeBSD.org> | 2012-08-03 23:34:45 +0800 |
commit | 614c4ed9928269c536345007e69e8ba648fccf8d (patch) | |
tree | 840e8379f841715c5db9a647458ff49f7766d803 /security/checkpassword | |
parent | a3dfce416fb9bdc21b43f0f2cbc480e7205aaa94 (diff) | |
download | freebsd-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/checkpassword')
-rw-r--r-- | security/checkpassword/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/security/checkpassword/Makefile b/security/checkpassword/Makefile index 7a52e6a84e01..26a50c3a2703 100644 --- a/security/checkpassword/Makefile +++ b/security/checkpassword/Makefile @@ -15,6 +15,9 @@ MASTER_SITE_SUBDIR= distfiles MAINTAINER= garga@FreeBSD.org COMMENT= A simple password-checking interface +OPTIONS_DEFINE= DOCS +OPTIONS_DEFAULT=DOCS + ALL_TARGET= it INSTALL_TARGET= setup @@ -23,6 +26,8 @@ MAKE_JOBS_SAFE= yes PLIST_FILES= bin/checkpassword PORTDOCS= CHANGES FILES README SYSDEPS TARGETS TODO VERSION +.include <bsd.port.pre.mk> + post-patch: @${REINPLACE_CMD} -e "s,gcc,${CC},g" ${WRKSRC}/find-systype.sh @@ -32,11 +37,11 @@ do-configure: @${ECHO_CMD} ${PREFIX} >${WRKSRC}/conf-home post-install: -.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> |