aboutsummaryrefslogtreecommitdiffstats
path: root/lang/p5-Switch/Makefile
blob: ae08931ed9bbe25c64acc3bc298a47339af39d75 (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
# New ports collection makefile for:    lang/p5-Switch
# Date created:             26 April 2001
# Whom:                 Anton Berezin <tobez@tobez.org>
#
# $FreeBSD$
#

PORTNAME=   Switch
PORTVERSION=    2.14
PORTREVISION=   1
CATEGORIES= lang perl5
MASTER_SITES=   CPAN
MASTER_SITE_SUBDIR= ../../authors/id/R/RG/RGARCIA
PKGNAMEPREFIX=  p5-

MAINTAINER= tobez@FreeBSD.org
COMMENT=    Switch - A switch statement for Perl

BUILD_DEPENDS=  p5-Filter>0:${PORTSDIR}/devel/p5-Filter
RUN_DEPENDS=    ${BUILD_DEPENDS}

PERL_CONFIGURE= yes

MAN3=       Switch.3

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500703
BUILD_DEPENDS+= p5-Text-Balanced>=0:${PORTSDIR}/textproc/p5-Text-Balanced
RUN_DEPENDS+=   p5-Text-Balanced>=0:${PORTSDIR}/textproc/p5-Text-Balanced
.endif

.include <bsd.port.post.mk>