aboutsummaryrefslogtreecommitdiff
path: root/textproc/htdig
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2012-11-21 23:23:25 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2012-11-21 23:23:25 +0000
commit875b27ddf2e9da887f3eefe5339227aea7319ce2 (patch)
treeec6bd2f1fd3e7c27ee5deca2e277ee51935c7d4e /textproc/htdig
parentc39c56c6cd59aea79c9a4fee1f946ad58ef868c0 (diff)
downloadports-875b27ddf2e9da887f3eefe5339227aea7319ce2.tar.gz
ports-875b27ddf2e9da887f3eefe5339227aea7319ce2.zip
Convert to new options framework
Feature safe: yes
Notes
Notes: svn path=/head/; revision=307631
Diffstat (limited to 'textproc/htdig')
-rw-r--r--textproc/htdig/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/textproc/htdig/Makefile b/textproc/htdig/Makefile
index 0ffd35dbfa71..878e5945d916 100644
--- a/textproc/htdig/Makefile
+++ b/textproc/htdig/Makefile
@@ -1,5 +1,4 @@
# Created by: Bill Fumerola <billf@chc-chimes.com>
-#
# $FreeBSD$
PORTNAME= htdig
@@ -31,11 +30,12 @@ MAN1= htdig.1 htdig-pdfparser.1 htdump.1 htfuzzy.1 htload.1 \
MAN8= htdigconfig.8
-OPTIONS= APACHE "Include ${APACHE_PORT} as a dependency" on
+OPTIONS_DEFINE= APACHE DOCS
+OPTIONS_DEFAULT= APACHE
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if !defined(WITHOUT_APACHE)
+.if ${PORT_OPTIONS:MAPACHE}
USE_APACHE= 22+
CONFIGURE_ARGS+= --with-apache=${LOCALBASE}/sbin
.include "${PORTSDIR}/Mk/bsd.apache.mk"
@@ -55,7 +55,7 @@ post-install:
.if exists(${PREFIX}/etc/htdig/htdig.conf.old)
${MV} ${PREFIX}/etc/htdig/htdig.conf.old ${PREFIX}/etc/htdig/htdig.conf
.endif
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}/html
.for f in ChangeLog ChangeLog.0 README STATUS
@${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
@@ -65,4 +65,4 @@ post-install:
.endfor
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>