diff options
author | Thierry Thomas <thierry@FreeBSD.org> | 2016-01-10 22:11:55 +0000 |
---|---|---|
committer | Thierry Thomas <thierry@FreeBSD.org> | 2016-01-10 22:11:55 +0000 |
commit | f05f94553e5d1f90e639cdfcc3cd64075d832836 (patch) | |
tree | 3fc0db9722a6d8cda350b7dcc22b7ec386b7961a | |
parent | d25cbb31f30b355a9889ff10860316352e466bbc (diff) | |
download | ports-f05f94553e5d1f90e639cdfcc3cd64075d832836.tar.gz ports-f05f94553e5d1f90e639cdfcc3cd64075d832836.zip |
Notes
-rw-r--r-- | mail/spambnc/Makefile | 22 |
1 files changed, 7 insertions, 15 deletions
diff --git a/mail/spambnc/Makefile b/mail/spambnc/Makefile index 8abfa29406d5..0c6da9cd1029 100644 --- a/mail/spambnc/Makefile +++ b/mail/spambnc/Makefile @@ -25,15 +25,13 @@ PLIST= ${WRKDIR}/.pkg-plist PKGMESSAGE= ${WRKDIR}/pkg-message SUB_FILES= pkg-message -OPTIONS_DEFINE= DOCS +PORTDATA= * +PORTDOCS= documentation.html upgrading.html loglevels.txt -.include <bsd.port.options.mk> +OPTIONS_DEFINE= DOCS -.if ${PORT_OPTIONS:MDOCS} -MASTER_SITES+= http://www.spambouncer.org/configure/:upg -DISTFILES+= upgrading.shtml:upg -PORTDOCS= documentation.html upgrading.html loglevels.txt -.endif +DOCS_MASTER_SITES= http://www.spambouncer.org/configure/:upg +DOCS_DISTFILES= upgrading.shtml:upg pre-extract: ${MKDIR} ${EXTRACT_DIR} @@ -42,23 +40,17 @@ post-extract: ${MV} ${EXTRACT_DIR} ${WRKDIR} ${RM} -rf ${WRKDIRPREFIX}${.CURDIR}/worktmp -pre-install: - (cd ${WRKSRC} && ${FIND} -s . -type f | ${GREP} -v "^\.\/\." | \ - ${GREP} -v docs | ${SED} -e 's,.,%%DATADIR%%,1' > ${PLIST}) - (cd ${WRKSRC} && ${FIND} -s . -type d | ${GREP} -v docs | ${SORT} -r | \ - ${SED} -e 's,.,@dirrm %%DATADIR%%,' >> ${PLIST}) - do-install: ${MKDIR} ${STAGEDIR}${DATADIR} (cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${STAGEDIR}${DATADIR}) ${RM} -rf ${STAGEDIR}${DATADIR}/docs -.if ${PORT_OPTIONS:MDOCS} + +do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/quickstart.shtml \ ${STAGEDIR}${DOCSDIR}/documentation.html ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/upgrading.shtml \ ${STAGEDIR}${DOCSDIR}/upgrading.html ${INSTALL_DATA} ${WRKSRC}/docs/loglevels.txt ${STAGEDIR}${DOCSDIR} -.endif .include <bsd.port.mk> |