mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
- 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
This commit is contained in:
parent
ab27cc146d
commit
4f807f2794
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=134617
@ -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>
|
||||
|
17
ftp/ftpmirror/files/patch-Makefile.in
Normal file
17
ftp/ftpmirror/files/patch-Makefile.in
Normal file
@ -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
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user