7def211cf1
Module::Install::XSUtil provides a set of utilities to setup distributions which include or depend on XS module. WWW: http://search.cpan.org/dist/Module-Install-XSUtil/
42 lines
1.2 KiB
Makefile
42 lines
1.2 KiB
Makefile
# New ports collection makefile for: p5-Module-Install-XSUtil
|
|
# Date created: 2011-08-15
|
|
# Whom: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= Module-Install-XSUtil
|
|
PORTVERSION= 0.38
|
|
CATEGORIES= devel perl5
|
|
MASTER_SITES= CPAN
|
|
MASTER_SITE_SUBDIR= CPAN:GFUJI
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= Utility functions for XS modules
|
|
|
|
BUILD_DEPENDS= p5-Module-Install>=0.91:${PORTSDIR}/devel/p5-Module-Install
|
|
RUN_DEPENDS= p5-Module-Install>=0.91:${PORTSDIR}/devel/p5-Module-Install
|
|
TEST_DEPENDS= p5-B-Hooks-OP-Annotation>=0.43:${PORTSDIR}/devel/p5-B-Hooks-OP-Annotation
|
|
|
|
PERL_CONFIGURE= yes
|
|
|
|
MAN3= Module::Install::XSUtil.3
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${PERL_LEVEL} < 501000
|
|
BUILD_DEPENDS+= p5-ExtUtils-MakeMaker>=6.42:${PORTSDIR}/devel/p5-ExtUtils-MakeMaker
|
|
.endif
|
|
|
|
.if ${PERL_LEVEL} < 501001
|
|
TEST_DEPENDS+= p5-Devel-PPPort>=3.19:${PORTSDIR}/devel/p5-Devel-PPPort \
|
|
p5-Test-Simple>=0.88:${PORTSDIR}/devel/p5-Test-Simple \
|
|
p5-XSLoader>=0.10:${PORTSDIR}/devel/p5-XSLoader
|
|
.endif
|
|
|
|
.if ${PERL_LEVEL} < 501200
|
|
TEST_DEPENDS+= p5-ExtUtils-ParseXS>=2.21:${PORTSDIR}/devel/p5-ExtUtils-ParseXS
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|