aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2003-10-07 23:57:15 +0800
committermat <mat@FreeBSD.org>2003-10-07 23:57:15 +0800
commit1744fb12057d21a4fad473e51e518bd8bb9b3a54 (patch)
treef1027485ace71c9196f731684d9398e2cc1b81f0
parent87613fa932114ef8332363e9e4e38bde752ad8a9 (diff)
downloadfreebsd-ports-graphics-1744fb12057d21a4fad473e51e518bd8bb9b3a54.tar.gz
freebsd-ports-graphics-1744fb12057d21a4fad473e51e518bd8bb9b3a54.tar.zst
freebsd-ports-graphics-1744fb12057d21a4fad473e51e518bd8bb9b3a54.zip
Update to 1.20.7
-rw-r--r--astro/p5-Astro-ADS/Makefile16
-rw-r--r--astro/p5-Astro-ADS/distinfo2
-rw-r--r--astro/p5-Astro-ADS/pkg-plist19
3 files changed, 21 insertions, 16 deletions
diff --git a/astro/p5-Astro-ADS/Makefile b/astro/p5-Astro-ADS/Makefile
index 46e3c4025c0..2a7509c8b39 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 8413d144fae..9d8bc92de18 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 ec26c782a5a..6ca9252efbe 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