head	1.15;
access;
symbols
	RELEASE_8_3_0:1.14
	RELEASE_9_0_0:1.14
	RELEASE_7_4_0:1.14
	RELEASE_8_2_0:1.14
	RELEASE_6_EOL:1.14
	RELEASE_8_1_0:1.14
	RELEASE_7_3_0:1.14
	RELEASE_8_0_0:1.14
	RELEASE_7_2_0:1.14
	RELEASE_7_1_0:1.14
	RELEASE_6_4_0:1.14
	RELEASE_5_EOL:1.14
	RELEASE_7_0_0:1.14
	RELEASE_6_3_0:1.14
	PRE_XORG_7:1.14
	RELEASE_4_EOL:1.14
	RELEASE_6_2_0:1.14
	RELEASE_6_1_0:1.14
	RELEASE_5_5_0:1.14
	RELEASE_6_0_0:1.14
	RELEASE_5_4_0:1.14
	RELEASE_4_11_0:1.14
	RELEASE_5_3_0:1.14
	RELEASE_4_10_0:1.14
	RELEASE_5_2_1:1.14
	RELEASE_5_2_0:1.14
	RELEASE_4_9_0:1.14
	RELEASE_5_1_0:1.13
	RELEASE_4_8_0:1.13
	RELEASE_5_0_0:1.12
	RELEASE_4_7_0:1.11
	RELEASE_4_6_2:1.10
	RELEASE_4_6_1:1.10
	RELEASE_4_6_0:1.10
	RELEASE_5_0_DP1:1.10
	RELEASE_4_5_0:1.10
	RELEASE_4_4_0:1.10
	RELEASE_4_3_0:1.8
	RELEASE_4_2_0:1.8
	RELEASE_4_1_1:1.8
	RELEASE_4_1_0:1.8
	RELEASE_3_5_0:1.8
	RELEASE_4_0_0:1.7;
locks; strict;
comment	@# @;


1.15
date	2012.11.17.05.57.29;	author svnexp;	state Exp;
branches;
next	1.14;

1.14
date	2003.08.29.03.31.36;	author leeym;	state Exp;
branches;
next	1.13;

1.13
date	2003.02.21.12.00.36;	author knu;	state Exp;
branches;
next	1.12;

1.12
date	2002.12.20.12.35.42;	author edwin;	state Exp;
branches;
next	1.11;

1.11
date	2002.09.20.20.49.40;	author kris;	state Exp;
branches;
next	1.10;

1.10
date	2001.08.23.19.31.55;	author alex;	state Exp;
branches;
next	1.9;

1.9
date	2001.08.23.19.26.56;	author alex;	state Exp;
branches;
next	1.8;

1.8
date	2000.04.12.05.31.05;	author mharo;	state Exp;
branches;
next	1.7;

1.7
date	2000.03.09.18.10.33;	author ade;	state Exp;
branches;
next	1.6;

1.6
date	2000.02.26.19.36.03;	author steve;	state Exp;
branches;
next	1.5;

1.5
date	2000.02.23.23.19.53;	author jedgar;	state Exp;
branches;
next	1.4;

1.4
date	2000.02.16.13.16.04;	author jedgar;	state Exp;
branches;
next	1.3;

1.3
date	2000.01.29.21.23.33;	author steve;	state Exp;
branches;
next	1.2;

1.2
date	99.12.29.21.22.10;	author steve;	state Exp;
branches;
next	1.1;

1.1
date	99.12.25.05.04.25;	author steve;	state Exp;
branches;
next	;


desc
@@


1.15
log
@Switch exporter over
@
text
@# New ports collection makefile for:	Ftplocate
# Date created:				7 December 1999
# Whom:					tung@@turtle.ee.ncku.edu.tw
#
# $FreeBSD: head/ftp/ftplocate/Makefile 300896 2012-07-14 13:54:48Z beat $
#

PORTNAME=	ftplocate
PORTVERSION=	2.02
CATEGORIES=	ftp www
MASTER_SITES=	http://turtle.ee.ncku.edu.tw/ftplocate/download/

MAINTAINER=	tung@@turtle.ee.ncku.edu.tw
COMMENT=	A ftp search engine supporting filename and description search

RUN_DEPENDS=	glimpse:${PORTSDIR}/textproc/glimpse \
		unzip:${PORTSDIR}/archivers/unzip

USE_PERL5=	yes
NO_BUILD=	yes

PL_FILES=	install.pl bin/dcollect.pl bin/dindex.pl bin/dsearch.pl \
		bin/flcollect.pl bin/flfilter.pl bin/flhistory.pl \
		bin/flindex.pl bin/flmap.pl bin/flsearch.pl \
		bin/flserv.pl bin/flsummary.pl bin/fltop.pl \
		bin/fltrain.pl bin/flcatsite.pl template/ftplocate

post-extract:
.for f in ${PL_FILES}
	@@${PERL} -pi -e 's,/usr/bin/perl,${PERL},' ${WRKSRC}/${f}
.endfor
	@@${PERL} -pi -e 's,(/usr/local/www|/usr/local/apache/share),${PREFIX}/www,g' ${WRKSRC}/install.pl
	@@${PERL} -pi -e 's,/usr/local/bin/ftplocate,${PREFIX}/bin/ftplocate,g' ${WRKSRC}/install.pl
	@@${PERL} -pi -e 's,htdocs,data,g' ${WRKSRC}/install.pl

do-install:
	@@${MKDIR} ${PREFIX}/www/data ${PREFIX}/www/cgi-bin
	cd ${WRKSRC}; ${PERL} install.pl -y -c -bsdport

.include <bsd.port.mk>
@


1.14
log
@Port update for ftplocate-2.02

PR:		56088
Submitted by:	Chung-Kie Tung <tung@@turtle.ee.ncku.edu.tw>
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.13
log
@De-pkg-comment.
@
text
@d9 1
a9 2
PORTVERSION=	2.01
PORTREVISION=	1
d11 1
a11 1
MASTER_SITES=	ftp://ftp.ee.ncku.edu.tw/pub/ftplocate/
a15 1
BUILD_DEPENDS=  ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13
d19 1
a19 3
USE_PERL5_BUILD=yes
USE_PERL5_RUN=	yes
USE_REINPLACE=	yes
d28 1
a28 1
post-patch:
d30 1
a30 1
	@@${REINPLACE_CMD} -e 's,/usr/local/bin/perl,${PERL},' ${WRKSRC}/${f}
d32 3
a34 1
	@@${REINPLACE_CMD} -e "s,/usr/local,${PREFIX},g" ${WRKSRC}/install.pl
d37 1
@


1.12
log
@Unbreak ftp/ftplocate

PR:		ports/46324
Submitted by:	Michael L. Hostbaek <mich@@freebsdcluster.org>
@
text
@d15 1
@


1.11
log
@BROKEN: Incorrect pkg-plist
@
text
@a15 2
BROKEN=		"Incorrect pkg-plist"

d20 3
a22 1
USE_PERL5=	yes
d33 1
a33 1
	@@${PERL} -pi -e 's,/usr/local/bin/perl,${PERL},' ${WRKSRC}/${f}
d35 1
a35 1
	@@${PERL} -pi -e "s,/usr/local,${PREFIX},g" ${WRKSRC}/install.pl
@


1.10
log
@Now correctly install into PREFIX, not LOCALBASE.
However, this will work only if PREFIX==LOCALBASE, since it checks if
Apache's data.default dir is present (which is in LOCALBASE, not PREFIX).
(OTOH, it will be in PREFIX if it installs the apache13 dependency, so it
is correct)
@
text
@d5 1
a5 1
# $FreeBSD: ports/ftp/ftplocate/Makefile,v 1.9 2001/08/23 19:26:56 alex Exp $
d15 2
@


1.9
log
@- Depend on apache13
- install files to www/data.default and not deprecated apache/share/htdocs
- PERL-patch files in post-patch, not in post-extract
- Install to LOCALBASE, not hardcoded /usr/local
             ^^^^^^^^ ARGH

Apache-Dependency reported by:	bento
@
text
@d5 1
a5 1
# $FreeBSD: ports/ftp/ftplocate/Makefile,v 1.8 2000/04/12 05:31:05 mharo Exp $
d33 1
a33 1
	@@${PERL} -pi -e "s,/usr/local,${LOCALBASE},g" ${WRKSRC}/install.pl
@


1.8
log
@PORTNAME/PORTVERSION stuff
@
text
@d5 1
a5 1
# $FreeBSD: ports/ftp/ftplocate/Makefile,v 1.7 2000/03/09 18:10:33 ade Exp $
d10 1
d16 1
d29 1
a29 1
post-extract:
d33 1
@


1.7
log
@Fix web server check problem at install time.

Note to maintainer (who also happens to be the author).
When making changes like this, it is advisable to bump
the version number if you repackage things.

MD5 changes make us (especially Kris :) nervous.  I've verified
the differences for this one.

PR:		17174
Submitted by:	maintainer/author
@
text
@a1 1
# Version required:			2.01
d5 1
a5 1
# $FreeBSD: ports/ftp/ftplocate/Makefile,v 1.6 2000/02/26 19:36:03 steve Exp $
d8 2
a9 1
DISTNAME=	ftplocate-2.01
@


1.6
log
@Use '${PERL} install.pl' instead of relying on '.' being in PATH.
@
text
@d6 1
a6 1
# $FreeBSD: ports/ftp/ftplocate/Makefile,v 1.5 2000/02/23 23:19:53 jedgar Exp $
d33 1
a33 1
	cd ${WRKSRC}; ${PERL} install.pl -y
@


1.5
log
@Update port to 2.01

PR:		16930
Submitted by:	Maintainer
@
text
@d6 1
a6 1
# $FreeBSD: ports/ftp/ftplocate/Makefile,v 1.4 2000/02/16 13:16:04 jedgar Exp $
d33 1
a33 1
	cd ${WRKSRC}; install.pl -y
@


1.4
log
@Update port to 2.00

PR:		16710
Submitted by:	Maintainer
@
text
@d2 1
a2 1
# Version required:			2.00
d6 1
a6 1
# $FreeBSD: ports/ftp/ftplocate/Makefile,v 1.3 2000/01/29 21:23:33 steve Exp $
d9 1
a9 1
DISTNAME=	ftplocate-2.00
d11 1
a11 1
MASTER_SITES=	ftp://ftp.ee.ncku.edu.tw/pub/
d15 2
a16 1
RUN_DEPENDS+=	glimpse:${PORTSDIR}/textproc/glimpse
@


1.3
log
@Make sure we use the correct path to perl(1).

PR:		16202
@
text
@d2 1
a2 1
# Version required:			1.50
d6 1
a6 1
# $FreeBSD: ports/ftp/ftplocate/Makefile,v 1.2 1999/12/29 21:22:10 steve Exp $
d9 1
a9 1
DISTNAME=	ftplocate-1.50
d20 5
a24 2
PL_FILES=	dcollect.pl dindex.pl dsearch.pl flcollect.pl flfilter.pl \
		flhistory.pl flindex.pl flsearch.pl flserv.pl fltrain.pl
d32 1
a32 21
	${INSTALL} -d ${PREFIX}/www/cgi-bin/ftplocate \
		${PREFIX}/www/cgi-bin/ftplocate/index \
		${PREFIX}/www/cgi-bin/ftplocate/desc \
		${PREFIX}/www/data
	${INSTALL} -o nobody -g nobody -m 755 -d ${PREFIX}/www/cgi-bin/ftplocate/cache
	cd ${WRKSRC}; \
	${INSTALL_DATA} \
		README README.zhtw fl.english fl.zhtw \
		${PREFIX}/www/cgi-bin/ftplocate ;\
	${INSTALL} -c -m 644 \
		fl.config fl.share \
		${PREFIX}/www/cgi-bin/ftplocate ;\
	${INSTALL_SCRIPT} indexer.sh ${PREFIX}/www/cgi-bin/ftplocate; \
	${INSTALL_DATA} \
		flhelp.html flhelp.zhtw.html \
		${PREFIX}/www/data ;\
	${INSTALL_SCRIPT}  ftplocate ${PREFIX}/bin/
.for f in ${PL_FILES}
	${INSTALL_SCRIPT} ${WRKSRC}/${f} ${PREFIX}/www/cgi-bin/ftplocate
.endfor
	@@${CAT} ${PKGMESSAGE}
@


1.2
log
@Be sure to create ${PREFIX}/www/data before we try to copy files into it.

PR:		15756
Submitted by:	AnarCat <beaupran@@iro.umontreal.ca>
@
text
@d6 1
a6 1
# $FreeBSD: ports/ftp/ftplocate/Makefile,v 1.1 1999/12/25 05:04:25 steve Exp $
d20 8
d41 1
a41 4
	${INSTALL_SCRIPT} \
		dcollect.pl dindex.pl flcollect.pl flindex.pl indexer.sh \
		flfilter.pl flsearch.pl dsearch.pl flserv.pl flhistory.pl \
		${PREFIX}/www/cgi-bin/ftplocate ;\
d46 3
@


1.1
log
@Adding ftplocate version 1.50.
An ftp search engine supporting filename and description search.

PR:		15332
Submitted by:	Chung-Kie Tung <tung@@turtle.ee.ncku.edu.tw>
@
text
@d6 1
a6 1
# $FreeBSD$
d23 2
a24 1
		${PREFIX}/www/cgi-bin/ftplocate/desc
@

