1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/textproc/htdig/Makefile
Bill Fumerola 16a8fac4f5 Upgrade to 3.1.3
Submitted by:	Doug Barton <doug@gorean.org>
		lots of others who missed PLIST stuff.
1999-10-29 01:19:10 +00:00

50 lines
1.3 KiB
Makefile

# New ports collection makefile for: htdig
# Version required: 3.1.3
# Date created: 18 August 1998
# Whom: Bill Fumerola <billf@chc-chimes.com>
#
# $FreeBSD$
#
DISTNAME= htdig-3.1.3
CATEGORIES= textproc www
MASTER_SITES= http://www.htdig.org/files/ \
${MASTER_SITE_SUNSITE} \
ftp://ftp.ntua.gr/pub/www/htdig/ \
ftp://ftp.max.irk.ru/unix/net/www/ \
ftp://ftp.loxinfo.co.th/pub/unix/www/ \
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
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
BUILD_TARGET= depends all
post-patch:
@ ${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.Dist > ${WRKSRC}/CONFIG
.include <bsd.port.mk>