1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00
freebsd-ports/ftp/ftpmirror/Makefile
Jimmy Olgeni 76c7f8fbe6 Remove indefinite articles and trailing periods from COMMENT, plus
minor COMMENT typos and surrounding whitespace fixes. Categories D-F.

CR:		D196
Approved by:	portmgr (bapt)
2014-06-10 07:39:01 +00:00

40 lines
975 B
Makefile

# Created by: Yasuhiro Fukuma <yasuf@big.or.jp>
# $FreeBSD$
PORTNAME= ftpmirror
PORTVERSION= 1.96
PORTREVISION= 4
CATEGORIES= ftp ipv6
MASTER_SITES= ftp://ftp.sai.msu.su/pub/unix/FTP/mirror/
MAINTAINER= garga@FreeBSD.org
COMMENT= Utility to mirror directory hierarchy with FTP
LICENSE= BSD2CLAUSE
RUN_DEPENDS= p5-Socket6>=0:${PORTSDIR}/net/p5-Socket6
OPTIONS_DEFINE= DOCS
GNU_CONFIGURE= yes
USES= shebangfix perl5
SHEBANG_FILES= ftpmirror rotate
CONFIGURE_ENV+= PERL="${PERL}" INSTALL_PROGRAM="${INSTALL_SCRIPT}"
PORTDOCS= README.jis RELEASE.jis
post-configure:
@${REINPLACE_CMD} -i '' -e 's|%%PREFIX%%|${PREFIX}|' \
${WRKSRC}/Fan/Fan.pm
post-install:
-@[ -d ${STAGEDIR}${SITE_PERL}/${PERL_ARCH}/auto ] && ${FIND} ${STAGEDIR}${SITE_PERL}/${PERL_ARCH}/auto -name .packlist -exec ${SED} -i '' 's|^${STAGEDIR}||' '{}' \;
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>