aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-Path-Tiny/Makefile
blob: 71829fd2644f52cbcc57e208dc0158719491ca52 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Created by: Anton Berezin <tobez@FreeBSD.org>
# $FreeBSD$

PORTNAME=   Path-Tiny
PORTVERSION=    0.032
PORTREVISION=   1
CATEGORIES= devel perl5
MASTER_SITES=   CPAN
MASTER_SITE_SUBDIR= CPAN:DAGOLDEN
PKGNAMEPREFIX=  p5-

MAINTAINER= tobez@FreeBSD.org
COMMENT=    File path utility

LICENSE=    AL2

BUILD_DEPENDS=  p5-autodie>=2.14:${PORTSDIR}/devel/p5-autodie
RUN_DEPENDS:=   ${BUILD_DEPENDS}
TEST_DEPENDS=   p5-Test-Fatal>=0:${PORTSDIR}/devel/p5-Test-Fatal \
        p5-Test-FailWarnings>=0:${PORTSDIR}/devel/p5-Test-FailWarnings \
        p5-Test-Deep>=0:${PORTSDIR}/devel/p5-Test-Deep \
        p5-Devel-Hide>=0:${PORTSDIR}/devel/p5-Devel-Hide \
        p5-File-pushd>=0:${PORTSDIR}/devel/p5-File-pushd

USES=       perl5
USE_PERL5=  configure

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 501800
BUILD_DEPENDS+= p5-PathTools>=3.4000:${PORTSDIR}/devel/p5-PathTools
RUN_DEPENDS+=   p5-PathTools>=3.4000:${PORTSDIR}/devel/p5-PathTools
.endif

.include <bsd.port.post.mk>