aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--textproc/htdig/Makefile14
-rw-r--r--textproc/htdig/pkg-plist64
2 files changed, 39 insertions, 39 deletions
diff --git a/textproc/htdig/Makefile b/textproc/htdig/Makefile
index 02f55c791286..2445ec8d6545 100644
--- a/textproc/htdig/Makefile
+++ b/textproc/htdig/Makefile
@@ -22,26 +22,26 @@ PATCH_DIST_STRIP= -p1
MAINTAINER= billf@FreeBSD.org
+RUN_DEPENDS= ${PREFIX}/share/apache:${PORTSDIR}/www/apache13
+
Y2K= http://www.htdig.org/FAQ.html#q1.7
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --with-cgi-bin-dir=${PREFIX}/www/cgi-bin \
- --with-image-dir=${PREFIX}/www/icons \
- --with-search-dir=${PREFIX}/www/data
+CONFIGURE_ARGS= --with-cgi-bin-dir=${PREFIX}/share/apache/cgi-bin \
+ --with-image-dir=${PREFIX}/share/apache/icons \
+ --with-search-dir=${PREFIX}/share/apache/htdocs
BUILD_TARGET= depends all
post-patch:
@ ${MV} ${WRKSRC}/CONFIG.in ${WRKSRC}/CONFIG.in.Dist
- @ ${SED} -e 's#htdocs#data#g' \
- -e 's#/conf#/etc#' \
+ @ ${SED} -e 's#/conf#/etc#' \
-e 's#/common#/share/htdig#' \
-e 's#/db#/share/htdig#' \
${WRKSRC}/CONFIG.in.Dist > ${WRKSRC}/CONFIG.in
@ ${MV} ${WRKSRC}/CONFIG ${WRKSRC}/CONFIG.Dist
- @ ${SED} -e 's#htdocs#data#g' \
- -e 's#/conf#/etc#' \
+ @ ${SED} -e 's#/conf#/etc#' \
-e 's#/common#/share/htdig#' \
-e 's#/db#/share/htdig#' \
${WRKSRC}/CONFIG.Dist > ${WRKSRC}/CONFIG
diff --git a/textproc/htdig/pkg-plist b/textproc/htdig/pkg-plist
index 562041b816f4..b55d596ded73 100644
--- a/textproc/htdig/pkg-plist
+++ b/textproc/htdig/pkg-plist
@@ -15,36 +15,36 @@ share/htdig/short.html
share/htdig/synonyms
share/htdig/syntax.html
share/htdig/wrapper.html
-www/cgi-bin/htsearch
-www/data/search.html
-www/icons/button1.gif
-www/icons/button1.png
-www/icons/button10.gif
-www/icons/button10.png
-www/icons/button2.gif
-www/icons/button2.png
-www/icons/button3.gif
-www/icons/button3.png
-www/icons/button4.gif
-www/icons/button4.png
-www/icons/button5.gif
-www/icons/button5.png
-www/icons/button6.gif
-www/icons/button6.png
-www/icons/button7.gif
-www/icons/button7.png
-www/icons/button8.gif
-www/icons/button8.png
-www/icons/button9.gif
-www/icons/button9.png
-www/icons/buttonl.gif
-www/icons/buttonl.png
-www/icons/buttonr.gif
-www/icons/buttonr.png
-www/icons/htdig.gif
-www/icons/htdig.png
-www/icons/star.gif
-www/icons/star.png
-www/icons/star_blank.gif
-www/icons/star_blank.png
+share/apache/cgi-bin/htsearch
+share/apache/htdocs/search.html
+share/apache/icons/button1.gif
+share/apache/icons/button1.png
+share/apache/icons/button10.gif
+share/apache/icons/button10.png
+share/apache/icons/button2.gif
+share/apache/icons/button2.png
+share/apache/icons/button3.gif
+share/apache/icons/button3.png
+share/apache/icons/button4.gif
+share/apache/icons/button4.png
+share/apache/icons/button5.gif
+share/apache/icons/button5.png
+share/apache/icons/button6.gif
+share/apache/icons/button6.png
+share/apache/icons/button7.gif
+share/apache/icons/button7.png
+share/apache/icons/button8.gif
+share/apache/icons/button8.png
+share/apache/icons/button9.gif
+share/apache/icons/button9.png
+share/apache/icons/buttonl.gif
+share/apache/icons/buttonl.png
+share/apache/icons/buttonr.gif
+share/apache/icons/buttonr.png
+share/apache/icons/htdig.gif
+share/apache/icons/htdig.png
+share/apache/icons/star.gif
+share/apache/icons/star.png
+share/apache/icons/star_blank.gif
+share/apache/icons/star_blank.png
@dirrm share/htdig