mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
a941169f87
- Convert to new options framework - Turn 2 simple patches to REINPLACE_CMD - Respect CC, CFLAGS during build
28 lines
698 B
Makefile
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>
|