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

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

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

LICENSE=    ART20
LICENSE_FILE=   ${WRKSRC}/LICENSE

BUILD_DEPENDS=  ${RUN_DEPENDS}
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\.]*$$

USES=       perl5
USE_PERL5=  configure

NO_ARCH=    yes

OPTIONS_DEFINE= EXAMPLES

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

.include <bsd.port.mk>