1999-03-19 08:08:30 +01:00
|
|
|
# New ports collection makefile for: ftpmirror
|
|
|
|
# Date created: 10 January 1999
|
|
|
|
# Whom: Yasuhiro Fukuma <yasuf@big.or.jp>
|
|
|
|
#
|
1999-08-25 07:57:29 +02:00
|
|
|
# $FreeBSD$
|
1999-03-19 08:08:30 +01:00
|
|
|
#
|
|
|
|
|
2000-04-12 07:31:29 +02:00
|
|
|
PORTNAME= ftpmirror
|
|
|
|
PORTVERSION= 1.96
|
2004-05-06 02:30:56 +02:00
|
|
|
PORTREVISION= 3
|
2001-03-02 03:24:14 +01:00
|
|
|
CATEGORIES= ftp ipv6
|
2000-02-23 01:32:38 +01:00
|
|
|
MASTER_SITES= ftp://ftp.intec.co.jp/pub/utils/ftpmirror/beta/
|
1999-03-19 08:08:30 +01:00
|
|
|
|
2005-07-11 18:47:16 +02:00
|
|
|
MAINTAINER= garga@FreeBSD.org
|
2003-02-21 13:06:51 +01:00
|
|
|
COMMENT= An utility to mirror directory hierarchy with FTP
|
1999-03-19 08:08:30 +01:00
|
|
|
|
2003-10-24 14:05:09 +02:00
|
|
|
RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Socket6.pm:${PORTSDIR}/net/p5-Socket6
|
2001-03-02 03:16:30 +01:00
|
|
|
|
1999-03-19 08:08:30 +01:00
|
|
|
USE_PERL5= YES
|
|
|
|
GNU_CONFIGURE= YES
|
|
|
|
|
|
|
|
CONFIGURE_ENV+= PERL="${PERL}" INSTALL_PROGRAM="${INSTALL_SCRIPT}"
|
|
|
|
|
2005-05-05 06:16:35 +02:00
|
|
|
.if !defined (NOPORTDOCS)
|
|
|
|
PORTDOCS= README.jis RELEASE.jis
|
|
|
|
.endif
|
|
|
|
|
1999-03-19 08:08:30 +01:00
|
|
|
post-configure:
|
2005-05-04 18:08:51 +02:00
|
|
|
@${PERL} -i.bak -pe 's,%%PREFIX%%,${PREFIX},g' ${WRKSRC}/Fan/Fan.pm
|
2000-02-23 01:32:38 +01:00
|
|
|
.for f in ftpmirror rotate
|
2005-05-04 18:08:51 +02:00
|
|
|
@${PERL} -i.bak -pe 's,^#!.*$$,#!${PERL}, if $$. == 1' ${WRKSRC}/${f}
|
2000-02-23 01:32:38 +01:00
|
|
|
.endfor
|
1999-03-19 08:08:30 +01:00
|
|
|
|
|
|
|
post-install:
|
2005-05-04 18:08:51 +02:00
|
|
|
.if !defined (NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
.for i in ${PORTDOCS}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
|
|
|
|
.endfor
|
1999-03-19 08:08:30 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|