1999-03-19 02:08:30 -05:00
|
|
|
# New ports collection makefile for: ftpmirror
|
|
|
|
# Date created: 10 January 1999
|
|
|
|
# Whom: Yasuhiro Fukuma <yasuf@big.or.jp>
|
|
|
|
#
|
1999-08-25 01:57:29 -04:00
|
|
|
# $FreeBSD$
|
1999-03-19 02:08:30 -05:00
|
|
|
#
|
|
|
|
|
2000-04-12 01:31:29 -04:00
|
|
|
PORTNAME= ftpmirror
|
|
|
|
PORTVERSION= 1.96
|
2001-09-18 05:15:41 -04:00
|
|
|
PORTREVISION= 2
|
2001-03-01 21:24:14 -05:00
|
|
|
CATEGORIES= ftp ipv6
|
2000-02-22 19:32:38 -05:00
|
|
|
MASTER_SITES= ftp://ftp.intec.co.jp/pub/utils/ftpmirror/beta/
|
1999-03-19 02:08:30 -05:00
|
|
|
|
|
|
|
MAINTAINER= yasuf@big.or.jp
|
|
|
|
|
2001-04-05 19:51:12 -04:00
|
|
|
RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Socket6.pm:${PORTSDIR}/net/p5-Socket6
|
2001-03-01 21:16:30 -05:00
|
|
|
|
1999-03-19 02:08:30 -05:00
|
|
|
USE_PERL5= YES
|
|
|
|
GNU_CONFIGURE= YES
|
|
|
|
|
|
|
|
CONFIGURE_ENV+= PERL="${PERL}" INSTALL_PROGRAM="${INSTALL_SCRIPT}"
|
|
|
|
|
|
|
|
post-configure:
|
|
|
|
perl -i.bak -pe 's,%%PREFIX%%,${PREFIX},g' ${WRKSRC}/Fan/Fan.pm
|
2000-02-22 19:32:38 -05:00
|
|
|
.for f in ftpmirror rotate
|
|
|
|
perl -i.bak -pe 's,^#!.*$$,#!${PERL}, if $$. == 1' ${WRKSRC}/${f}
|
|
|
|
.endfor
|
1999-03-19 02:08:30 -05:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${PREFIX}/share/doc/ftpmirror
|
|
|
|
cd ${WRKSRC}; \
|
|
|
|
${INSTALL_MAN} README.jis RELEASE.jis ${PREFIX}/share/doc/ftpmirror
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|