From cf8562750b6cfed6c4c0e2ac2efe88d34ad507cf Mon Sep 17 00:00:00 2001 From: "Chris D. Faulhaber" Date: Wed, 23 Feb 2000 00:32:38 +0000 Subject: * Update port to 1.96 * Fix of the problem that rotate script doesn't work PR: 16888 Submitted by: Maintainer --- ftp/ftpmirror/Makefile | 10 ++++++---- ftp/ftpmirror/distinfo | 2 +- ftp/ftpmirror/files/patch-aa | 11 +++++------ 3 files changed, 12 insertions(+), 11 deletions(-) (limited to 'ftp/ftpmirror') 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 # # $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%%'; } ;# -- cgit v1.2.3