diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2003-10-07 15:57:15 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2003-10-07 15:57:15 +0000 |
commit | 41c332f4ed94ac1c77f49599e21d9846cf932a00 (patch) | |
tree | 0d531117fbcb2a5e32ce15a6271024f1f745d25b /astro/p5-Astro-ADS/Makefile | |
parent | 51c8904041704a0519da56404574d271653270d7 (diff) | |
download | ports-41c332f4ed94ac1c77f49599e21d9846cf932a00.tar.gz ports-41c332f4ed94ac1c77f49599e21d9846cf932a00.zip |
Notes
Diffstat (limited to 'astro/p5-Astro-ADS/Makefile')
-rw-r--r-- | astro/p5-Astro-ADS/Makefile | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/astro/p5-Astro-ADS/Makefile b/astro/p5-Astro-ADS/Makefile index 46e3c4025c0a..2a7509c8b39a 100644 --- a/astro/p5-Astro-ADS/Makefile +++ b/astro/p5-Astro-ADS/Makefile @@ -7,8 +7,7 @@ # PORTNAME= Astro-ADS -PORTVERSION= 1.20.4 -PORTREVISION= 1 +PORTVERSION= 1.20.7 CATEGORIES= astro perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} \ http://www.astro.ex.ac.uk/estar/software/ @@ -21,11 +20,16 @@ COMMENT= An OO Perl interface to the ADS abstract service BUILD_DEPENDS= ${SITE_PERL}/LWP.pm:${PORTSDIR}/www/p5-libwww RUN_DEPENDS= ${SITE_PERL}/LWP.pm:${PORTSDIR}/www/p5-libwww -SITE_PERL= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER} PERL_CONFIGURE= yes MAN1= adsquery.1 -MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} -MAN3= Astro::ADS::Query.3 Astro::ADS::Result.3 Astro::ADS::Result::Paper.3 +MAN3= Astro::ADS.3 Astro::ADS::Query.3 Astro::ADS::Result.3 Astro::ADS::Result::Paper.3 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500601 +post-patch: + @${PERL} -pi -e 's/(\$$self->\$$method);/$$1();/' ${WRKSRC}/Result/Paper/Paper.pm +.endif + +.include <bsd.port.post.mk> |