aboutsummaryrefslogtreecommitdiffstats
path: root/www/p5-CGI/Makefile
blob: 6112eef4c36b5f877acf246251b6198337f563b8 (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
37
38
# Created by: Adam Weinberger <adamw@FreeBSD.org>
# $FreeBSD$

PORTNAME=   CGI
PORTVERSION=    4.37
CATEGORIES= www perl5
MASTER_SITES=   CPAN
PKGNAMEPREFIX=  p5-

MAINTAINER= perl@FreeBSD.org
COMMENT=    Handle Common Gateway Interface requests and responses

LICENSE=    ART20 GPLv1
LICENSE_COMB=   dual

BUILD_DEPENDS=  p5-HTML-Parser>=3.69:www/p5-HTML-Parser
RUN_DEPENDS=    p5-HTML-Parser>=3.69:www/p5-HTML-Parser
TEST_DEPENDS=   p5-Test-Deep>=0:devel/p5-Test-Deep \
        p5-Test-NoWarnings>=0:devel/p5-Test-NoWarnings \
        p5-Test-Warn>=0:devel/p5-Test-Warn

CONFLICTS_INSTALL=  p5-CGI.pm-[1-3]*

PORTSCOUT=  limit:^[0-9\.]*$$

NO_ARCH=    yes
USES=       perl5
USE_PERL5=  configure

PORTEXAMPLES=   *

OPTIONS_DEFINE= EXAMPLES

post-install-EXAMPLES-on:
    @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
    (cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})

.include <bsd.port.mk>