- Move PROJECTHOST up (portlint)

- Convert to USES=autoreconf
- Remove DOCS option patching.  Not needed with staging.
This commit is contained in:
Tijl Coosemans 2014-10-05 13:24:58 +00:00
parent 6417066580
commit e9ff3bcfff
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=370064

View File

@ -6,39 +6,18 @@ PORTVERSION= 0.1.4
PORTREVISION= 1
CATEGORIES= dns security
MASTER_SITES= GOOGLE_CODE CRITICAL
PROJECTHOST= google-dnswall
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Daemon that filters out private IP addresses in DNS responses
USES= dos2unix
PROJECTHOST= google-dnswall
USE_AUTOTOOLS= automake autoconf:env
GNU_CONFIGURE= yes
USES= autoreconf dos2unix
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)
@${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>