aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-Parse-RecDescent/Makefile
blob: 7095f5e9f2f3ba5a9ebbfea2c0ad7751836b25ae (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
36
# New ports collection makefile for:    p5-Parse-RecDescent
# Date created:             July 9th 1999
# Whom:                     Jerry Hicks <wghicks@bellsouth.net>
#
# $FreeBSD$
#

PORTNAME=   Parse-RecDescent
PORTVERSION=    1.965.001
CATEGORIES= devel perl5
MASTER_SITES=   CPAN/../../authors/id/D/DC/DCONWAY
PKGNAMEPREFIX=  p5-
DISTNAME=   ${PORTNAME}-${PORTVERSION:C/\.(...)$/\1/}

MAINTAINER= tobez@FreeBSD.org
COMMENT=    A recursive descent parsing framework for Perl

BUILD_DEPENDS=  ${RUN_DEPENDS}

PERL_CONFIGURE= YES

MAN3=       Parse::RecDescent.3

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}/tutorial
    ${INSTALL_DATA} ${WRKSRC}/tutorial/* ${DOCSDIR}/tutorial
.endif

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500900
RUN_DEPENDS+=   p5-version>=0:${PORTSDIR}/devel/p5-version
.endif

.include <bsd.port.post.mk>