1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/ftp/ftpmirror/Makefile

44 lines
990 B
Makefile
Raw Normal View History

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