mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
2e2cb1318f
Approved by: portmgr (infrastructure blanket)
34 lines
991 B
Makefile
34 lines
991 B
Makefile
# Created by: tung@turtle.ee.ncku.edu.tw
|
|
# $FreeBSD$
|
|
|
|
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
|
|
|
|
DEPRECATED= Depends on expired textproc/glimpse
|
|
EXPIRATION_DATE=2014-04-10
|
|
|
|
RUN_DEPENDS= glimpse:${PORTSDIR}/textproc/glimpse \
|
|
unzip:${PORTSDIR}/archivers/unzip
|
|
|
|
USES= shebangfix perl5
|
|
NO_BUILD= yes
|
|
SHEBANG_FILES= bin/*.pl template/ftplocate
|
|
|
|
NO_STAGE= yes
|
|
post-extract:
|
|
@${REINPLACE_CMD} -i '' -e 's|/usr/local/www|${PREFIX}/www|' \
|
|
-e 's|/usr/local/apache/share|${PREFIX}/www|' ${WRKSRC}/install.pl
|
|
@${REINPLACE_CMD} -i '' -e 's|/usr/local/bin/ftplocate|${PREFIX}/bin/ftplocate|' \
|
|
-e 's|htdocs|data|' -e 's|/usr/bin/perl|${PERL}|' ${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>
|