aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ftp/ftpmirror/Makefile10
-rw-r--r--ftp/ftpmirror/distinfo2
-rw-r--r--ftp/ftpmirror/files/patch-aa11
3 files changed, 12 insertions, 11 deletions
diff --git a/ftp/ftpmirror/Makefile b/ftp/ftpmirror/Makefile
index 1df39069557b..bd6cf6218431 100644
--- a/ftp/ftpmirror/Makefile
+++ b/ftp/ftpmirror/Makefile
@@ -1,14 +1,14 @@
# New ports collection makefile for: ftpmirror
-# Version required: 1.95
+# Version required: 1.96
# Date created: 10 January 1999
# Whom: Yasuhiro Fukuma <yasuf@big.or.jp>
#
# $FreeBSD$
#
-DISTNAME= ftpmirror-1.95
+DISTNAME= ftpmirror-1.96
CATEGORIES= ftp
-MASTER_SITES= ftp://ftp.intec.co.jp/pub/utils/ftpmirror/alpha/
+MASTER_SITES= ftp://ftp.intec.co.jp/pub/utils/ftpmirror/beta/
MAINTAINER= yasuf@big.or.jp
@@ -19,7 +19,9 @@ 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
+.for f in ftpmirror rotate
+ perl -i.bak -pe 's,^#!.*$$,#!${PERL}, if $$. == 1' ${WRKSRC}/${f}
+.endfor
post-install:
.if !defined(NOPORTDOCS)
diff --git a/ftp/ftpmirror/distinfo b/ftp/ftpmirror/distinfo
index 00effb2f2702..ff68142b0326 100644
--- a/ftp/ftpmirror/distinfo
+++ b/ftp/ftpmirror/distinfo
@@ -1 +1 @@
-MD5 (ftpmirror-1.95.tar.gz) = fa8f096b8efde248bae580ee513dc621
+MD5 (ftpmirror-1.96.tar.gz) = 139344a5fe6fd8c49cbdefab8d8c4103
diff --git a/ftp/ftpmirror/files/patch-aa b/ftp/ftpmirror/files/patch-aa
index 5edc14693fca..4cd1eb4d20e1 100644
--- a/ftp/ftpmirror/files/patch-aa
+++ b/ftp/ftpmirror/files/patch-aa
@@ -1,12 +1,11 @@
---- Fan/Fan.pm.orig Sat Sep 19 12:57:26 1998
-+++ Fan/Fan.pm Sun Jan 10 03:43:34 1999
-@@ -48,8 +48,7 @@
+--- Fan/Fan.pm.orig Sun Nov 21 17:24:27 1999
++++ Fan/Fan.pm Wed Jan 12 13:28:20 2000
+@@ -48,7 +48,7 @@
;# Where configuration files are.
BEGIN {
-- use Config;
-- $sysconfdir = "$Config{prefix}/etc";
-+ $sysconfdir = "%%PREFIX%%/etc";
+- $sysconfdir = "/usr/local/etc";
++ $sysconfdir = '%%PREFIX%%';
}
;#