diff options
author | novel <novel@FreeBSD.org> | 2005-05-05 00:08:51 +0800 |
---|---|---|
committer | novel <novel@FreeBSD.org> | 2005-05-05 00:08:51 +0800 |
commit | 42ec7e962094c046e1da96009ebb18384815cf0e (patch) | |
tree | bb34bf6f57e7cf4a736447ae0a1a36440b351166 /ftp/ftpmirror | |
parent | 354a158739178f79648571df1842c7393a272f0b (diff) | |
download | freebsd-ports-gnome-42ec7e962094c046e1da96009ebb18384815cf0e.tar.gz freebsd-ports-gnome-42ec7e962094c046e1da96009ebb18384815cf0e.tar.zst freebsd-ports-gnome-42ec7e962094c046e1da96009ebb18384815cf0e.zip |
- 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
Diffstat (limited to 'ftp/ftpmirror')
-rw-r--r-- | ftp/ftpmirror/Makefile | 18 | ||||
-rw-r--r-- | ftp/ftpmirror/files/patch-Makefile.in | 17 | ||||
-rw-r--r-- | ftp/ftpmirror/pkg-plist | 3 |
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 |