aboutsummaryrefslogtreecommitdiffstats
path: root/dns/dnswall
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2013-01-15 21:40:28 +0800
committerehaupt <ehaupt@FreeBSD.org>2013-01-15 21:40:28 +0800
commitd17f4033ae11c1ef211b336b25eb38a014e0c74b (patch)
tree98f96307b5a32cecd5d4e2104c22673c560b9789 /dns/dnswall
parent7e85483bc4dd371692cb42e0670e76bc41c0a5ba (diff)
downloadfreebsd-ports-gnome-d17f4033ae11c1ef211b336b25eb38a014e0c74b.tar.gz
freebsd-ports-gnome-d17f4033ae11c1ef211b336b25eb38a014e0c74b.tar.zst
freebsd-ports-gnome-d17f4033ae11c1ef211b336b25eb38a014e0c74b.zip
- Use DOC instead of NOPORTDOCS
- Pacify portlint - Convert header
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