aboutsummaryrefslogtreecommitdiff
path: root/ftp/ftpmirror/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'ftp/ftpmirror/Makefile')
-rw-r--r--ftp/ftpmirror/Makefile18
1 files changed, 9 insertions, 9 deletions
diff --git a/ftp/ftpmirror/Makefile b/ftp/ftpmirror/Makefile
index 0a0ddc3717eb..4aac193ab1c8 100644
--- a/ftp/ftpmirror/Makefile
+++ b/ftp/ftpmirror/Makefile
@@ -11,29 +11,29 @@ PORTREVISION= 3
CATEGORIES= ftp ipv6
MASTER_SITES= ftp://ftp.intec.co.jp/pub/utils/ftpmirror/beta/
-MAINTAINER= yasuf@big.or.jp
+MAINTAINER= freebsd@galle.com.br
COMMENT= An utility to mirror directory hierarchy with FTP
RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Socket6.pm:${PORTSDIR}/net/p5-Socket6
-BROKEN= Installs perllocal.pod file
-
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
+ @${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}
+ @${PERL} -i.bak -pe 's,^#!.*$$,#!${PERL}, if $$. == 1' ${WRKSRC}/${f}
.endfor
post-install:
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${PREFIX}/share/doc/ftpmirror
- cd ${WRKSRC}; \
- ${INSTALL_MAN} README.jis RELEASE.jis ${PREFIX}/share/doc/ftpmirror
+.if !defined (NOPORTDOCS)
+ PORTDOCS= README.jis RELEASE.jis
+ @${MKDIR} ${DOCSDIR}
+.for i in ${PORTDOCS}
+ @${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
+.endfor
.endif
.include <bsd.port.mk>