From ecf8e9043bb89f30feb6d9f6e54064daac58d7a1 Mon Sep 17 00:00:00 2001 From: billf Date: Fri, 29 Oct 1999 01:19:10 +0000 Subject: Upgrade to 3.1.3 Submitted by: Doug Barton lots of others who missed PLIST stuff. --- textproc/htdig/Makefile | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) (limited to 'textproc/htdig/Makefile') diff --git a/textproc/htdig/Makefile b/textproc/htdig/Makefile index 507a48c42003..02f55c791286 100644 --- a/textproc/htdig/Makefile +++ b/textproc/htdig/Makefile @@ -1,12 +1,12 @@ # New ports collection makefile for: htdig -# Version required: 3.1.2 +# Version required: 3.1.3 # Date created: 18 August 1998 # Whom: Bill Fumerola # # $FreeBSD$ # -DISTNAME= htdig-3.1.2 +DISTNAME= htdig-3.1.3 CATEGORIES= textproc www MASTER_SITES= http://www.htdig.org/files/ \ ${MASTER_SITE_SUNSITE} \ @@ -16,6 +16,10 @@ MASTER_SITES= http://www.htdig.org/files/ \ ftp://ftp.htdig.org/pub/htdig/ MASTER_SITE_SUBDIR= apps/www/indexing +PATCH_SITES= http://www.htdig.org/files/contrib/other/ +PATCHFILES= htdig-3.1.3-urlparmbug.patch +PATCH_DIST_STRIP= -p1 + MAINTAINER= billf@FreeBSD.org Y2K= http://www.htdig.org/FAQ.html#q1.7 @@ -26,17 +30,20 @@ CONFIGURE_ARGS= --with-cgi-bin-dir=${PREFIX}/www/cgi-bin \ --with-search-dir=${PREFIX}/www/data BUILD_TARGET= depends all -# XXX - Please see patches/patch-aa, as it modifies this -# file too. This is wrong, and one day I'll make sed do -# everything. - post-patch: - ${MV} ${WRKSRC}/CONFIG.in ${WRKSRC}/CONFIG.in.old - ${SED} -e 's#htdocs#data#g' \ + @ ${MV} ${WRKSRC}/CONFIG.in ${WRKSRC}/CONFIG.in.Dist + @ ${SED} -e 's#htdocs#data#g' \ + -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#' \ -e 's#/common#/share/htdig#' \ -e 's#/db#/share/htdig#' \ - ${WRKSRC}/CONFIG.in.old > ${WRKSRC}/CONFIG.in + ${WRKSRC}/CONFIG.Dist > ${WRKSRC}/CONFIG .include -- cgit