diff options
-rw-r--r-- | devel/p5-Rcs-Agent/Makefile | 21 | ||||
-rw-r--r-- | devel/p5-Rcs-Agent/distinfo | 2 | ||||
-rw-r--r-- | devel/p5-Rcs-Agent/pkg-plist | 10 |
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 |