(I) add www virtual category, (II) add a mirror site

(III) clean up post-patch target (IV) fix 'Version Required'

Submitted by:	(I) max@wide.ad.jp, (II,III,IV) billf
This commit is contained in:
Bill Fumerola 1999-01-20 20:21:32 +00:00
parent 2daa1c1c9b
commit ef2b002d3e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=16209

View File

@ -1,15 +1,16 @@
# New ports collection makefile for: htdig
# Version required: 3.0.8b2
# Version required: 3.1.0b2
# Date created: 18 August 1998
# Whom: Bill Fumerola <billf@chc-chimes.com>
#
# $Id: Makefile,v 1.3 1998/11/23 21:40:29 billf Exp $
# $Id: Makefile,v 1.4 1999/01/13 02:47:31 scrappy Exp $
#
DISTNAME= htdig-3.1.0b2
PKGNAME= htdig-3.1.0
CATEGORIES= textproc
CATEGORIES= textproc www
MASTER_SITES= http://www.htdig.org/files/ \
ftp://ftp.medasys-digital-systems.fr/mirror/htdig/files/ \
http://www.FreeBSD.org/~billf/
MAINTAINER= billf@FreeBSD.org
@ -22,12 +23,11 @@ BUILD_TARGET= depends all
post-patch:
${MV} ${WRKSRC}/CONFIG.in ${WRKSRC}/CONFIG.in.old
${CAT} ${WRKSRC}/CONFIG.in.old | \
${SED} -e 's#/opt/www/#${PREFIX}/www/#g' \
-e 's#htdocs#data#g' \
-e 's#/conf#/etc#' \
-e 's#/common#/share/htdig#' \
-e 's#/db#/share/htdig#' \
>> ${WRKSRC}/CONFIG.in
${WRKSRC}/CONFIG.in.old >> ${WRKSRC}/CONFIG.in
.include <bsd.port.mk>