- Fix *_DEPENDS: version is already in some supported Perl releases - Sort *_DEPENDS - Use TEST_DEPENDS for test-only dependencies Changes: http://search.cpan.org/dist/Google-Data-JSON/Changes Feature safe: yes
43 lines
1.3 KiB
Makefile
43 lines
1.3 KiB
Makefile
# New ports collection makefile for: p5-Google-Data-JSON
|
|
# Date created: 2007/07/28
|
|
# Whom: chinsan
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= Google-Data-JSON
|
|
PORTVERSION= 0.1.10
|
|
CATEGORIES= textproc perl5
|
|
MASTER_SITES= CPAN
|
|
MASTER_SITE_SUBDIR= CPAN:TAKERU
|
|
PKGNAMEPREFIX= p5-
|
|
DISTNAME= ${PORTNAME}-v${PORTVERSION}
|
|
|
|
MAINTAINER= perl@FreeBSD.org
|
|
COMMENT= General XML-JSON converter based on Google Data APIs
|
|
|
|
BUILD_DEPENDS= p5-File-Slurp>=0:${PORTSDIR}/devel/p5-File-Slurp \
|
|
p5-JSON-Any>=0:${PORTSDIR}/converters/p5-JSON-Any \
|
|
p5-List-MoreUtils>=0:${PORTSDIR}/lang/p5-List-MoreUtils \
|
|
p5-Perl6-Export-Attrs>=0:${PORTSDIR}/devel/p5-Perl6-Export-Attrs \
|
|
p5-UNIVERSAL-require>=0:${PORTSDIR}/devel/p5-UNIVERSAL-require \
|
|
p5-XML-Atom>=0:${PORTSDIR}/textproc/p5-XML-Atom \
|
|
p5-XML-Simple>=0:${PORTSDIR}/textproc/p5-XML-Simple \
|
|
p5-YAML-Syck>=0:${PORTSDIR}/textproc/p5-YAML-Syck
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
|
|
|
TEST_DEPENDS= p5-Test-NoWarnings>=0:${PORTSDIR}/devel/p5-Test-NoWarnings \
|
|
p5-Test-Perl-Critic>=0:${PORTSDIR}/textproc/p5-Test-Perl-Critic
|
|
|
|
PERL_CONFIGURE= yes
|
|
|
|
MAN3= Google::Data::JSON.3
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${PERL_LEVEL} < 501000
|
|
BUILD_DEPENDS+= p5-version>=0:${PORTSDIR}/devel/p5-version
|
|
RUN_DEPENDS+= p5-version>=0:${PORTSDIR}/devel/p5-version
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|