1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00

* Update port to 1.96

* Fix of the problem that rotate script doesn't work

PR:		16888
Submitted by:	Maintainer
This commit is contained in:
Chris D. Faulhaber 2000-02-23 00:32:38 +00:00
parent 413ecf19fe
commit cf8562750b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=26181
3 changed files with 12 additions and 11 deletions

View File

@ -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)

View File

@ -1 +1 @@
MD5 (ftpmirror-1.95.tar.gz) = fa8f096b8efde248bae580ee513dc621
MD5 (ftpmirror-1.96.tar.gz) = 139344a5fe6fd8c49cbdefab8d8c4103

View File

@ -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%%';
}
;#