summaryrefslogtreecommitdiff
path: root/ftp
diff options
context:
space:
mode:
authorRoman Bogorodskiy <novel@FreeBSD.org>2005-05-04 16:08:51 +0000
committerRoman Bogorodskiy <novel@FreeBSD.org>2005-05-04 16:08:51 +0000
commit4f807f27947ae89a81a7b5acfd9a6a448d4ce6dd (patch)
tree310f6228d84c7c6d66f5994dd28f2e1a46fef3b0 /ftp
parentUpdate to DAT 4484 (diff)
- unbreak
- use PORTDOCS - pass maintainership to submitter (current maintainer is inactive for about 5 years) PR: 80141 Submitted by: Renato Botelho <freebsd@galle.com.br> Approved by: maintainer timeout
Notes
Notes: svn path=/head/; revision=134617
Diffstat (limited to 'ftp')
-rw-r--r--ftp/ftpmirror/Makefile18
-rw-r--r--ftp/ftpmirror/files/patch-Makefile.in17
-rw-r--r--ftp/ftpmirror/pkg-plist3
3 files changed, 26 insertions, 12 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>
diff --git a/ftp/ftpmirror/files/patch-Makefile.in b/ftp/ftpmirror/files/patch-Makefile.in
new file mode 100644
index 000000000000..8491ac1429af
--- /dev/null
+++ b/ftp/ftpmirror/files/patch-Makefile.in
@@ -0,0 +1,17 @@
+--- Makefile.in.orig Wed Apr 20 08:24:33 2005
++++ Makefile.in Wed Apr 20 08:26:40 2005
+@@ -40,10 +40,13 @@
+ ${INSTALL_DATA} $? $@
+
+ # for subdirectories...
+-all clean realclean install:: Fan/Makefile
++all clean realclean:: Fan/Makefile
+ @ for d in ${SUBDIR} ; do \
+ ( echo "make $@ in $$d..." && cd $$d && make $@ ) ; \
+ done
++
++install:: Fan/Makefile
++ ( echo "make pure_install in Fan..." && cd Fan && make pure_install ) ; \
+
+ # Fan subdirectory requres Makefile first.
+ Fan/Makefile:: Fan/Makefile.PL
diff --git a/ftp/ftpmirror/pkg-plist b/ftp/ftpmirror/pkg-plist
index f39697a5fb56..c0e341b4d4f5 100644
--- a/ftp/ftpmirror/pkg-plist
+++ b/ftp/ftpmirror/pkg-plist
@@ -278,6 +278,3 @@ etc/ftpmirror.cf-sample
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Fan/Usage
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Fan
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Fan
-share/doc/ftpmirror/README.jis
-share/doc/ftpmirror/RELEASE.jis
-@dirrm share/doc/ftpmirror