aboutsummaryrefslogtreecommitdiff
path: root/net/p5-File-Rsync
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2009-08-23 06:06:12 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2009-08-23 06:06:12 +0000
commit6c407c7aed8f1833676b5a2377ff8942969c9d97 (patch)
treec4a3ae523c7d9f76348ff458749c99641d1afda1 /net/p5-File-Rsync
parent87e00fba6cecbf5bdfa6911400e6e14261e23603 (diff)
downloadports-6c407c7aed8f1833676b5a2377ff8942969c9d97.tar.gz
ports-6c407c7aed8f1833676b5a2377ff8942969c9d97.zip
Notes
Diffstat (limited to 'net/p5-File-Rsync')
-rw-r--r--net/p5-File-Rsync/Makefile10
-rw-r--r--net/p5-File-Rsync/distinfo6
-rw-r--r--net/p5-File-Rsync/files/patch-makepm.PL26
3 files changed, 32 insertions, 10 deletions
diff --git a/net/p5-File-Rsync/Makefile b/net/p5-File-Rsync/Makefile
index 2a9303da12d8..eab40d277492 100644
--- a/net/p5-File-Rsync/Makefile
+++ b/net/p5-File-Rsync/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= File-Rsync
-PORTVERSION= 0.42
+PORTVERSION= 0.43
CATEGORIES= net perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -14,15 +14,11 @@ PKGNAMEPREFIX= p5-
MAINTAINER= ports@FreeBSD.org
COMMENT= Perl convenience wrapper for the rsync(1) program
-BUILD_DEPENDS= rsync:${PORTSDIR}/net/rsync
-RUN_DEPENDS= ${BUILD_DEPENDS}
+RUN_DEPENDS= rsync:${PORTSDIR}/net/rsync
+BUILD_DEPENDS= ${RUN_DEPENDS}
PERL_CONFIGURE= yes
-CONFIGURE_ARGS+= </dev/null
MAN3= File::Rsync.3
-post-patch:
- @${REINPLACE_CMD} -e "s,<STDIN>,'${LOCALBASE}/bin/rsync'," ${WRKSRC}/makepm.PL
-
.include <bsd.port.mk>
diff --git a/net/p5-File-Rsync/distinfo b/net/p5-File-Rsync/distinfo
index 7ec44907a8c1..d91e3bebcaeb 100644
--- a/net/p5-File-Rsync/distinfo
+++ b/net/p5-File-Rsync/distinfo
@@ -1,3 +1,3 @@
-MD5 (File-Rsync-0.42.tar.gz) = c4f0f92227ede564f0109f9e190643d8
-SHA256 (File-Rsync-0.42.tar.gz) = 7349100bd7b1d8929ace71a50333f2051cc746f11ad836fb8d84dec5f26580f4
-SIZE (File-Rsync-0.42.tar.gz) = 19407
+MD5 (File-Rsync-0.43.tar.gz) = fe745f0460454250bc4ed557de8f11ac
+SHA256 (File-Rsync-0.43.tar.gz) = 83c5981df51342f86575346aeaaad23f1bc6b529ea5404401c4ef52e54000cfc
+SIZE (File-Rsync-0.43.tar.gz) = 20009
diff --git a/net/p5-File-Rsync/files/patch-makepm.PL b/net/p5-File-Rsync/files/patch-makepm.PL
new file mode 100644
index 000000000000..f188670ff64d
--- /dev/null
+++ b/net/p5-File-Rsync/files/patch-makepm.PL
@@ -0,0 +1,26 @@
+--- makepm.PL.orig 2009-08-22 22:55:32.000000000 -0700
++++ makepm.PL 2009-08-22 22:55:47.000000000 -0700
+@@ -10,23 +10,6 @@
+ }
+ $|=1;
+ $RSYNC=&find_rsync;
+-print <<'EOT';
+-
+-File::Rsync needs to know the path to the rsync binary. This path is encoded
+-in the installed module as the default path to rsync (it can be overridden
+-at runtime). Please enter the full path to the rsync program or just hit
+-Enter if the guess is correct. (If you always want the module to depend on
+-the $PATH environment variable at runtime, just set the path to 'rsync'
+-(this is not recommended)).
+-
+-EOT
+-$RSYNC||='/usr/local/bin/rsync';
+-print "Path to rsync [$RSYNC]: ";
+-my $ans=<STDIN>;
+-chomp $ans;
+-$RSYNC=$ans || $RSYNC;
+-$RSYNC=~s/\\/\\\\/g;
+-$RSYNC=~s/\'/\\\'/g;
+ open IN,'config.in' or die "Cannot read config.in: $!\n";
+ open OUT,'>config.pm' or die "Cannot write config.pm: $!\n";
+ while (<IN>) {