aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorerwin <erwin@FreeBSD.org>2003-06-10 23:45:14 +0800
committererwin <erwin@FreeBSD.org>2003-06-10 23:45:14 +0800
commitcb8707e715349ad61c8319c60c4d48e070aef86c (patch)
treef89340cb73fab5f83358527cc0e759dfeb2d9714 /devel
parent3cb4c08ae11a366146e6a732cf4b9ebb296c4769 (diff)
downloadfreebsd-ports-gnome-cb8707e715349ad61c8319c60c4d48e070aef86c.tar.gz
freebsd-ports-gnome-cb8707e715349ad61c8319c60c4d48e070aef86c.tar.zst
freebsd-ports-gnome-cb8707e715349ad61c8319c60c4d48e070aef86c.zip
- update to 1.03
- make dependency on File::Temp conditional on perl version - remove post-patch target which is no longer required - hand maintainership to author PR: 52205 Submitted by: Mathieu Arnold <m@absolight.net>, nick@foobar.org (new maintainer)
Diffstat (limited to 'devel')
-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