View | Details | Raw Unified | Return to bug 16888
Collapse All | Expand All

(-)ftpmirror/Makefile (-4 / +6 lines)
Lines 1-14 Link Here
1
# New ports collection makefile for:	ftpmirror
1
# New ports collection makefile for:	ftpmirror
2
# Version required:	1.95
2
# Version required:	1.96
3
# Date created:		10 January 1999
3
# Date created:		10 January 1999
4
# Whom:			Yasuhiro Fukuma <yasuf@big.or.jp>
4
# Whom:			Yasuhiro Fukuma <yasuf@big.or.jp>
5
#
5
#
6
# $FreeBSD: ports/ftp/ftpmirror/Makefile,v 1.3 1999/08/25 05:55:06 obrien Exp $
6
# $FreeBSD: ports/ftp/ftpmirror/Makefile,v 1.3 1999/08/25 05:55:06 obrien Exp $
7
#
7
#
8
8
9
DISTNAME=	ftpmirror-1.95
9
DISTNAME=	ftpmirror-1.96
10
CATEGORIES=	ftp
10
CATEGORIES=	ftp
11
MASTER_SITES=	ftp://ftp.intec.co.jp/pub/utils/ftpmirror/alpha/
11
MASTER_SITES=	ftp://ftp.intec.co.jp/pub/utils/ftpmirror/beta/
12
12
13
MAINTAINER=	yasuf@big.or.jp
13
MAINTAINER=	yasuf@big.or.jp
14
14
Lines 19-25 Link Here
19
19
20
post-configure:
20
post-configure:
21
	perl -i.bak -pe 's,%%PREFIX%%,${PREFIX},g' ${WRKSRC}/Fan/Fan.pm
21
	perl -i.bak -pe 's,%%PREFIX%%,${PREFIX},g' ${WRKSRC}/Fan/Fan.pm
22
	perl -i.bak -pe 's,^#!.*$$,#!${PERL}, if $$. == 1' ${WRKSRC}/ftpmirror
22
.for f in ftpmirror rotate
23
	perl -i.bak -pe 's,^#!.*$$,#!${PERL}, if $$. == 1' ${WRKSRC}/${f}
24
.endfor
23
25
24
post-install:
26
post-install:
25
.if !defined(NOPORTDOCS)
27
.if !defined(NOPORTDOCS)
(-)ftpmirror/files/md5 (-1 / +1 lines)
Line 1 Link Here
1
MD5 (ftpmirror-1.95.tar.gz) = fa8f096b8efde248bae580ee513dc621
1
MD5 (ftpmirror-1.96.tar.gz) = 139344a5fe6fd8c49cbdefab8d8c4103
(-)ftpmirror/patches/patch-aa (-6 / +5 lines)
Lines 1-12 Link Here
1
--- Fan/Fan.pm.orig	Sat Sep 19 12:57:26 1998
1
--- Fan/Fan.pm.orig	Sun Nov 21 17:24:27 1999
2
+++ Fan/Fan.pm	Sun Jan 10 03:43:34 1999
2
+++ Fan/Fan.pm	Wed Jan 12 13:28:20 2000
3
@@ -48,8 +48,7 @@
3
@@ -48,7 +48,7 @@
4
 
4
 
5
 ;# Where configuration files are.
5
 ;# Where configuration files are.
6
 BEGIN {
6
 BEGIN {
7
-	use Config;
7
-	$sysconfdir = "/usr/local/etc";
8
-	$sysconfdir = "$Config{prefix}/etc";
8
+	$sysconfdir = '%%PREFIX%%';
9
+	$sysconfdir = "%%PREFIX%%/etc";
10
 }
9
 }
11
 
10
 
12
 ;#
11
 ;#

Return to bug 16888