aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Rcs-Agent
diff options
context:
space:
mode:
authorErwin Lansing <erwin@FreeBSD.org>2003-06-10 15:45:14 +0000
committerErwin Lansing <erwin@FreeBSD.org>2003-06-10 15:45:14 +0000
commit6cb190a4f425780c37f4e155cbcfe6be69a1eaa2 (patch)
tree7abe5a165b646b24bd885e5b321f911d5d662557 /devel/p5-Rcs-Agent
parent0f52ee759600f6aa31c15054883d6a85a442a6c5 (diff)
downloadports-6cb190a4f425780c37f4e155cbcfe6be69a1eaa2.tar.gz
ports-6cb190a4f425780c37f4e155cbcfe6be69a1eaa2.zip
Notes
Diffstat (limited to 'devel/p5-Rcs-Agent')
-rw-r--r--devel/p5-Rcs-Agent/Makefile21
-rw-r--r--devel/p5-Rcs-Agent/distinfo2
-rw-r--r--devel/p5-Rcs-Agent/pkg-plist10
3 files changed, 16 insertions, 17 deletions
diff --git a/devel/p5-Rcs-Agent/Makefile b/devel/p5-Rcs-Agent/Makefile
index 1c5e6b614750..83dbc49f51f5 100644
--- a/devel/p5-Rcs-Agent/Makefile
+++ b/devel/p5-Rcs-Agent/Makefile
@@ -6,28 +6,27 @@
#
PORTNAME= Rcs-Agent
-PORTVERSION= 1.02
+PORTVERSION= 1.03
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Rcs
PKGNAMEPREFIX= p5-
-MAINTAINER= tobez@FreeBSD.org
+MAINTAINER= nick@foobar.org
COMMENT= A perl module for RCS archive manipulation
-BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/String/ShellQuote.pm:${PORTSDIR}/textproc/p5-String-ShellQuote \
- ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp
+BUILD_DEPENDS= ${SITE_PERL}/String/ShellQuote.pm:${PORTSDIR}/textproc/p5-String-ShellQuote
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
MAN3= Rcs::Agent.3
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
-post-patch:
- ${PERL} -pi \
- -e 's/MkTemp/Temp/;' \
- -e 's/^(.*)=.*mktemp.*"(.*)".*$$/$$1 = File::Temp::mktemp("\$$tmpdir\/$$2");/;' \
- ${WRKSRC}/Agent.pm ${WRKSRC}/Makefile.PL
+.include <bsd.port.pre.mk>
-.include <bsd.port.mk>
+.if ${PERL_LEVEL} < 500800
+BUILD_DEPENDS+= ${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp
+RUN_DEPENDS+= ${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/p5-Rcs-Agent/distinfo b/devel/p5-Rcs-Agent/distinfo
index db5bb6e5246d..fa675ffe3a85 100644
--- a/devel/p5-Rcs-Agent/distinfo
+++ b/devel/p5-Rcs-Agent/distinfo
@@ -1 +1 @@
-MD5 (Rcs-Agent-1.02.tar.gz) = 858abea7e3dabb27b8f434f59c0e2890
+MD5 (Rcs-Agent-1.03.tar.gz) = 62d0b810edd25e1ec6ffda464de52d8e
diff --git a/devel/p5-Rcs-Agent/pkg-plist b/devel/p5-Rcs-Agent/pkg-plist
index 93bc2d22b654..18d6134d61c6 100644
--- a/devel/p5-Rcs-Agent/pkg-plist
+++ b/devel/p5-Rcs-Agent/pkg-plist
@@ -1,5 +1,5 @@
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Rcs/Agent/.packlist
-lib/perl5/site_perl/%%PERL_VER%%/Rcs/Agent.pm
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Rcs/Agent
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Rcs 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Rcs 2>/dev/null || true
+%%SITE_PERL%%/Rcs/Agent.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Rcs/Agent/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Rcs/Agent
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Rcs 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Rcs 2>/dev/null || true