aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/py-stdiff/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/py-stdiff/Makefile')
-rw-r--r--sysutils/py-stdiff/Makefile9
1 files changed, 2 insertions, 7 deletions
diff --git a/sysutils/py-stdiff/Makefile b/sysutils/py-stdiff/Makefile
index d772d6188ac8..b50924fb473d 100644
--- a/sysutils/py-stdiff/Makefile
+++ b/sysutils/py-stdiff/Makefile
@@ -11,18 +11,13 @@ COMMENT= Spot The Difference is a file integrity checker.
USE_PYTHON= yes
USE_PYDISTUTILS= yes
-.if !defined(NOPORTDOCS)
+OPTIONS_DEFINE= DOCS
+
PORTDOCS= *
-.endif
post-install:
-.if !defined(NOPORTDOCS)
${MKDIR} ${STAGEDIR}${DOCSDIR}
$(INSTALL_MAN) ${WRKSRC}/INSTALL.txt ${STAGEDIR}/${DOCSDIR}/
$(INSTALL_MAN) ${WRKSRC}/LICENSE.txt ${STAGEDIR}/${DOCSDIR}/
(cd ${WRKSRC}/ && ${COPYTREE_SHARE} docs ${STAGEDIR}${DOCSDIR}/)
-.endif
- @if [ ! -f ${PREFIX}/etc/stdiff.conf ]; then \
- ${CP} -p ${STAGEDIR}${PREFIX}/etc/stdiff.conf.sample \
- ${PREFIX}/etc/stdiff.conf; fi
.include <bsd.port.mk>