mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-16 07:58:04 +00:00
16ae61e738
Approved by: maintainer
39 lines
1.1 KiB
Makefile
39 lines
1.1 KiB
Makefile
# New ports collection makefile for: p5-Test-Inline
|
|
# Date created: Mon Sep 12
|
|
# Whom: Erwin Lansing <erwin@lansing.dk>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= Test-Inline
|
|
PORTVERSION= 0.15
|
|
CATEGORIES= devel perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
|
MASTER_SITE_SUBDIR= Test
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= erwin@lansing.dk
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Test/Harness.pm:${PORTSDIR}/devel/p5-Test-Harness \
|
|
${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
|
|
|
PERL_CONFIGURE= yes
|
|
|
|
MAN1= pod2test.1
|
|
MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
|
|
MAN3= Pod::Tests.3 Pod::Tests::Tutorial.3 Test::Inline.3 Test::Inline::Tutorial.3
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
SITE_PERL?= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}
|
|
|
|
PERL_MAJOR=${PERL_VER:C|^([1-9]+).*|\1|}
|
|
PERL_MINOR=${PERL_VER:C|^[1-9]+\.0*([1-9]+).*|\1|}
|
|
|
|
.if ${PERL_MAJOR} < 5 || ${PERL_MAJOR} == 5 && ${PERL_MINOR} < 8
|
|
BUILD_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
|
|
.endif # ${PERL_MAJOR} < 5 || ${PERL_MAJOR} == 5 && ${PERL_MINOR} < 8
|
|
|
|
.include <bsd.port.post.mk>
|