blob: ae88644aa730507fd71fc4bb6ecf6ee6992b03b1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# New ports collection makefile for: htdig
# Version required: 3.1.2
# Date created: 18 August 1998
# Whom: Bill Fumerola <billf@chc-chimes.com>
#
# $Id: Makefile,v 1.8 1999/05/31 21:11:47 billf Exp $
#
DISTNAME= htdig-3.1.2
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
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
# 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' \
-e 's#/conf#/etc#' \
-e 's#/common#/share/htdig#' \
-e 's#/db#/share/htdig#' \
${WRKSRC}/CONFIG.in.old > ${WRKSRC}/CONFIG.in
.include <bsd.port.mk>
|