aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Rcs-Agent/Makefile
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/Makefile
parent0f52ee759600f6aa31c15054883d6a85a442a6c5 (diff)
- 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)
Notes
Notes: svn path=/head/; revision=82696
Diffstat (limited to 'devel/p5-Rcs-Agent/Makefile')
-rw-r--r--devel/p5-Rcs-Agent/Makefile21
1 files changed, 10 insertions, 11 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>