summaryrefslogtreecommitdiff
path: root/ftp/ftpmirror/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'ftp/ftpmirror/Makefile')
-rw-r--r--ftp/ftpmirror/Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/ftp/ftpmirror/Makefile b/ftp/ftpmirror/Makefile
new file mode 100644
index 000000000000..9660c50fddae
--- /dev/null
+++ b/ftp/ftpmirror/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: ftpmirror
+# Version required: 1.95
+# Date created: 10 January 1999
+# Whom: Yasuhiro Fukuma <yasuf@big.or.jp>
+#
+# $Id$
+#
+
+DISTNAME= ftpmirror-1.95
+CATEGORIES= net
+MASTER_SITES= ftp://ftp.intec.co.jp/pub/utils/ftpmirror/alpha/
+
+MAINTAINER= yasuf@big.or.jp
+
+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,^#!.*$$,#!${PERL}, if $$. == 1' ${WRKSRC}/ftpmirror
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${PREFIX}/share/doc/ftpmirror
+ cd ${WRKSRC}; \
+ ${INSTALL_MAN} README.jis RELEASE.jis ${PREFIX}/share/doc/ftpmirror
+.endif
+
+.include <bsd.port.mk>