aboutsummaryrefslogtreecommitdiffstats
path: root/www/p5-CGI-Ex/Makefile
blob: c29511844082311567e21264954614a4f49f58af (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
# New ports collection makefile for:    p5-CGI-Ex
# Date created:     2006-07-20
# Whom:         Gea-Suan Lin <gslin@gslin.org>
#
# $FreeBSD$
#

PORTNAME=   CGI-Ex
PORTVERSION=    2.17
CATEGORIES= www perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= CGI
PKGNAMEPREFIX=  p5-

MAINTAINER= perl@FreeBSD.org
COMMENT=    CGI utility suite - makes powerful application writing fun and easy

BUILD_DEPENDS=  ${SITE_PERL}/Template/Alloy.pm:${PORTSDIR}/www/p5-Template-Alloy
RUN_DEPENDS=    ${BUILD_DEPENDS}

PERL_CONFIGURE= yes

MAN3=       CGI::Ex.3 CGI::Ex::App.3 CGI::Ex::Auth.3 CGI::Ex::Conf.3 \
        CGI::Ex::Die.3 CGI::Ex::Dump.3 CGI::Ex::Fill.3 \
        CGI::Ex::JSONDump.3 CGI::Ex::Template.3 CGI::Ex::Validate.3

post-install:
    ${MKDIR} ${EXAMPLESDIR}
.for i in app benchmark devel
    ${MKDIR} ${EXAMPLESDIR}/${i}
.endfor
    ${CP} -R ${WRKSRC}/samples/* ${EXAMPLESDIR}

.include <bsd.port.mk>