1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/dns/dnswall/Makefile

45 lines
934 B
Makefile
Raw Normal View History

# Created by: Emanuel Haupt <ehaupt@FreeBSD.org>
# $FreeBSD$
PORTNAME= dnswall
PORTVERSION= 0.1.4
PORTREVISION= 1
CATEGORIES= dns security
2008-03-27 19:27:34 +00:00
MASTER_SITES= GOOGLE_CODE CRITICAL
MAINTAINER= ehaupt@FreeBSD.org
2013-03-08 14:00:30 +00:00
COMMENT= Daemon that filters out private IP addresses in DNS responses
2013-12-18 11:57:51 +00:00
USES= dos2unix
PROJECTHOST= google-dnswall
USE_AUTOTOOLS= automake autoconf:env
WRKSRC= ${WRKDIR}/${PORTNAME}
AUTOFILES= depcomp install-sh missing
PORTDOCS= README
PLIST_FILES= bin/dnswall
AUTOTOOLSFILES= aclocal.m4
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e 's|1.10|%%AUTOMAKE_APIVER%%|g' \
-e 's|2.61|%%AUTOCONF_VERSION%%|g' \
${WRKSRC}/aclocal.m4
.if empty(PORT_OPTIONS:MDOCS)
2008-06-19 13:43:23 +00:00
@${REINPLACE_CMD} -e '/^dist_doc_DATA/d' ${WRKSRC}/Makefile.am
.endif
pre-configure:
.for f in ${AUTOFILES}
@${RM} ${WRKSRC}/${f}
@${LN} -s ${AUTOMAKE_DIR}/${f} ${WRKSRC}/${f}
.endfor
.include <bsd.port.mk>