aboutsummaryrefslogtreecommitdiff
path: root/net/p5-File-Rsync
diff options
context:
space:
mode:
authorCheng-Lung Sung <clsung@FreeBSD.org>2006-04-23 04:08:13 +0000
committerCheng-Lung Sung <clsung@FreeBSD.org>2006-04-23 04:08:13 +0000
commit0fa9ab2518b1e6650e57052bcfc6dabc6ef34ae4 (patch)
tree0e2a270efecab66c9f4ddd951a1dd21116e7a8c2 /net/p5-File-Rsync
parente3362443256d132d926d20ad182bdc4987d8b43a (diff)
downloadports-0fa9ab2518b1e6650e57052bcfc6dabc6ef34ae4.tar.gz
ports-0fa9ab2518b1e6650e57052bcfc6dabc6ef34ae4.zip
Notes
Diffstat (limited to 'net/p5-File-Rsync')
-rw-r--r--net/p5-File-Rsync/Makefile4
-rw-r--r--net/p5-File-Rsync/files/patch-Makefile.PL10
2 files changed, 12 insertions, 2 deletions
diff --git a/net/p5-File-Rsync/Makefile b/net/p5-File-Rsync/Makefile
index e077de67957a..e706aebaa85a 100644
--- a/net/p5-File-Rsync/Makefile
+++ b/net/p5-File-Rsync/Makefile
@@ -21,9 +21,9 @@ RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
CONFIGURE_ARGS+= </dev/null
-MAN3= File::Rsync.3 File::config.3
+MAN3= File::Rsync.3
-do-patch:
+post-patch:
@${REINPLACE_CMD} -e "s,<STDIN>,'${LOCALBASE}/bin/rsync'," ${WRKSRC}/makepm.PL
.include <bsd.port.pre.mk>
diff --git a/net/p5-File-Rsync/files/patch-Makefile.PL b/net/p5-File-Rsync/files/patch-Makefile.PL
new file mode 100644
index 000000000000..a9ab06eb6e75
--- /dev/null
+++ b/net/p5-File-Rsync/files/patch-Makefile.PL
@@ -0,0 +1,10 @@
+--- Makefile.PL.orig Sat Jun 25 06:02:32 2005
++++ Makefile.PL Sun Apr 23 11:54:39 2006
+@@ -20,6 +20,7 @@
+ PL_FILES => { 'makepm.PL' => 'config.pm' },
+ PM => { 'Rsync.pm' => '$(INST_LIB)/File/Rsync.pm',
+ 'config.pm' => '$(INST_ARCHLIB)/File/Rsync/Config.pm' },
++ MAN3PODS => { 'Rsync.pm' => '$(INST_MAN3DIR)/File::Rsync.$(MAN3EXT)' },
+ dist => { COMPRESS => 'gzip', SUFFIX => 'gz' },
+ realclean => { FILES => 'config.pm' },
+ );