1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/security/ipfw2dshield/Makefile
Pawel Pekala a941169f87 - Add staging support, allow it as regular user
- Convert to new options framework
- Turn 2 simple patches to REINPLACE_CMD
- Respect CC, CFLAGS during build
2014-07-10 22:14:30 +00:00

28 lines
698 B
Makefile

# Created by: Frank W. Josellis <frank@dynamical-systems.org>
# $FreeBSD$
PORTNAME= ipfw2dshield
PORTVERSION= 0.5
CATEGORIES= security
MASTER_SITES= http://www.dynamical-systems.org/ipfw/
MAINTAINER= ports@FreeBSD.org
COMMENT= DShield client for ipfw logs
PORTDOCS= CHANGES README.html README.txt
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:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>