aboutsummaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorDoug Barton <dougb@FreeBSD.org>2006-08-28 06:03:13 +0000
committerDoug Barton <dougb@FreeBSD.org>2006-08-28 06:03:13 +0000
commitf7b8b9e6a376ecf0c349bb960d3f63338d475bda (patch)
tree5dd8b87e81158687554508e441199cdb7d62eddc /textproc
parente89f5385b37dede91e9f7a298a1f54878584ee09 (diff)
downloadports-f7b8b9e6a376ecf0c349bb960d3f63338d475bda.tar.gz
ports-f7b8b9e6a376ecf0c349bb960d3f63338d475bda.zip
Notes
Diffstat (limited to 'textproc')
-rw-r--r--textproc/htdig/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/textproc/htdig/Makefile b/textproc/htdig/Makefile
index cd423f8b60ca..e976febf161f 100644
--- a/textproc/htdig/Makefile
+++ b/textproc/htdig/Makefile
@@ -20,8 +20,6 @@ DISTNAME= htdig-3.2.0b6
MAINTAINER= DougB@FreeBSD.org
COMMENT= A www indexing and searching system
-RUN_DEPENDS= ${LOCALBASE}/sbin/httpd:${PORTSDIR}/${APACHE_PORT}
-
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-config-dir=${PREFIX}/etc/htdig \
--with-default-config-file=${PREFIX}/etc/htdig/htdig.conf \
@@ -31,17 +29,22 @@ CONFIGURE_ARGS= --with-config-dir=${PREFIX}/etc/htdig \
--with-search-dir=${PREFIX}/www/data \
--with-image-dir=${PREFIX}/www/icons/htdig \
--with-image-url-prefix=/icons/htdig \
- --with-ssl \
- --with-apache=${LOCALBASE}/sbin
+ --with-ssl
MAN1= htdig.1 htdig-pdfparser.1 htdump.1 htfuzzy.1 htload.1 \
htmerge.1 htnotify.1 htpurge.1 htsearch.1 htstat.1 rundig.1
MAN8= htdigconfig.8
-APACHE_COMPAT= YES
+
+OPTIONS= APACHE "Include ${APACHE_PORT} as a dependency" on
.include <bsd.port.pre.mk>
+.if !defined(WITHOUT_APACHE)
+CONFIGURE_ARGS+= --with-apache=${LOCALBASE}/sbin
+RUN_DEPENDS= ${LOCALBASE}/sbin/httpd:${PORTSDIR}/${APACHE_PORT}
+.endif
+
.if ${OSVERSION} < 500000
EXTRA_PATCHES+= ${PATCHDIR}/RELENG_4-patch-htnet_SSLConnection.cc
.endif