freebsd-ports/astro/p5-Astro-ADS/Makefile
Pav Lucistnik 210211fbb4 - Update MASTER_SITES
PR:		ports/67071
Submitted by:	Roman Neuhauser <neuhauser@chello.cz>
2004-05-23 22:26:18 +00:00

35 lines
829 B
Makefile

# ex:ts=8
# Ports collection makefile for: Astro-ADS
# Date created: Oct 19, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= Astro-ADS
PORTVERSION= 1.20.7
CATEGORIES= astro perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN} \
http://www.estar.org.uk/software/
MASTER_SITE_SUBDIR= Astro
PKGNAMEPREFIX= p5-
MAINTAINER= ports@FreeBSD.org
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
PERL_CONFIGURE= yes
MAN1= adsquery.1
MAN3= Astro::ADS.3 Astro::ADS::Query.3 Astro::ADS::Result.3 Astro::ADS::Result::Paper.3
.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>