aboutsummaryrefslogtreecommitdiff
path: root/dns/dnswall
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2013-01-15 13:40:28 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2013-01-15 13:40:28 +0000
commitc4c14fd1564a7a3bd0ae1cd2fb6050b662c936f8 (patch)
tree98f96307b5a32cecd5d4e2104c22673c560b9789 /dns/dnswall
parent56b2cbf1c5abcce2be96f0aa252e4df4d8d99dd2 (diff)
downloadports-c4c14fd1564a7a3bd0ae1cd2fb6050b662c936f8.tar.gz
ports-c4c14fd1564a7a3bd0ae1cd2fb6050b662c936f8.zip
- Use DOC instead of NOPORTDOCS
- Pacify portlint - Convert header
Notes
Notes: svn path=/head/; revision=310443
Diffstat (limited to 'dns/dnswall')
-rw-r--r--dns/dnswall/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/dns/dnswall/Makefile b/dns/dnswall/Makefile
index 703028b86e13..e580518ae14d 100644
--- a/dns/dnswall/Makefile
+++ b/dns/dnswall/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: dnswall
-# Date created: 28 Jan 2008
-# Whom: Emanuel Haupt <ehaupt@FreeBSD.org>
-#
+# Created by: Emanuel Haupt <ehaupt@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= dnswall
PORTVERSION= 0.1.4
@@ -28,11 +24,15 @@ 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 defined(NOPORTDOCS)
+.if empty(PORT_OPTIONS:MDOCS)
@${REINPLACE_CMD} -e '/^dist_doc_DATA/d' ${WRKSRC}/Makefile.am
.endif