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 | |
parent | Remove a quite unnecessary #include <varargs.h> which tripped up the build. (diff) |
Update to 1.20.7
Notes
Notes:
svn path=/head/; revision=90526
Diffstat (limited to 'astro/p5-Astro-ADS')
-rw-r--r-- | astro/p5-Astro-ADS/Makefile | 16 | ||||
-rw-r--r-- | astro/p5-Astro-ADS/distinfo | 2 | ||||
-rw-r--r-- | astro/p5-Astro-ADS/pkg-plist | 19 |
3 files changed, 21 insertions, 16 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> diff --git a/astro/p5-Astro-ADS/distinfo b/astro/p5-Astro-ADS/distinfo index 8413d144fae4..9d8bc92de182 100644 --- a/astro/p5-Astro-ADS/distinfo +++ b/astro/p5-Astro-ADS/distinfo @@ -1 +1 @@ -MD5 (Astro-ADS-1.20.4.tar.gz) = 4f9523ca3ddd0541096b35387d470821 +MD5 (Astro-ADS-1.20.7.tar.gz) = ff43c80cf3d78a9ae466155f6bb80ea1 diff --git a/astro/p5-Astro-ADS/pkg-plist b/astro/p5-Astro-ADS/pkg-plist index ec26c782a5a5..6ca9252efbee 100644 --- a/astro/p5-Astro-ADS/pkg-plist +++ b/astro/p5-Astro-ADS/pkg-plist @@ -1,10 +1,11 @@ bin/adsquery -lib/perl5/site_perl/%%PERL_VER%%/Astro/ADS/Query.pm -lib/perl5/site_perl/%%PERL_VER%%/Astro/ADS/Result.pm -lib/perl5/site_perl/%%PERL_VER%%/Astro/ADS/Result/Paper.pm -lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Astro/ADS/.packlist -@dirrm lib/perl5/site_perl/%%PERL_VER%%/Astro/ADS/Result -@dirrm lib/perl5/site_perl/%%PERL_VER%%/Astro/ADS -@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Astro/ADS -@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Astro 2>/dev/null || true -@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Astro 2>/dev/null || true +%%SITE_PERL%%/Astro/ADS.pm +%%SITE_PERL%%/Astro/ADS/Query.pm +%%SITE_PERL%%/Astro/ADS/Result.pm +%%SITE_PERL%%/Astro/ADS/Result/Paper.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Astro/ADS/.packlist +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Astro/ADS +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Astro 2>/dev/null || true +@dirrm %%SITE_PERL%%/Astro/ADS/Result +@dirrm %%SITE_PERL%%/Astro/ADS +@unexec rmdir %D/%%SITE_PERL%%/Astro 2>/dev/null || true |