diff options
author | Pawel Pekala <pawel@FreeBSD.org> | 2014-07-10 22:14:30 +0000 |
---|---|---|
committer | Pawel Pekala <pawel@FreeBSD.org> | 2014-07-10 22:14:30 +0000 |
commit | a941169f87749d511c7c7e83e037039f561e2c84 (patch) | |
tree | 820caa6823960d184e0af0c590b76feb5097f21f /security/ipfw2dshield/Makefile | |
parent | cb829aa67b67486cc32d2e628e4264fca2b7f94a (diff) |
Notes
Diffstat (limited to 'security/ipfw2dshield/Makefile')
-rw-r--r-- | security/ipfw2dshield/Makefile | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/security/ipfw2dshield/Makefile b/security/ipfw2dshield/Makefile index 77fea8579c76..3a26597b33cc 100644 --- a/security/ipfw2dshield/Makefile +++ b/security/ipfw2dshield/Makefile @@ -6,21 +6,22 @@ PORTVERSION= 0.5 CATEGORIES= security MASTER_SITES= http://www.dynamical-systems.org/ipfw/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= ports@FreeBSD.org COMMENT= DShield client for ipfw logs PORTDOCS= CHANGES README.html README.txt -NO_STAGE= yes +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/ipfw2dshield + @${REINPLACE_CMD} -E -e '/^(CC|CFLAGS|prefix)/ s|=|?=|' \ + -e 's|bindir)|DESTDIR)$$(&|' \ + ${WRKSRC}/ipaddr/Makefile \ + ${WRKSRC}/strpdate/Makefile post-install: -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} -.for i in ${PORTDOCS} - ${INSTALL_MAN} ${WRKSRC}/${i} ${DOCSDIR} -.endfor -.endif + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> |