aboutsummaryrefslogtreecommitdiffstats
path: root/www/p5-CGI_Lite/Makefile
blob: a0c6f1e21f052f593bb8769214a2a44a9b0b478d (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_Lite
# Date created:             September 30th 1996
# Whom:                     James FitzGibbon <jfitz@FreeBSD.org>
#
# $FreeBSD$
#

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

MAINTAINER= lth@FreeBSD.org
COMMENT=    Process and decode WWW forms and cookies

PERL_CONFIGURE= yes

MAN3=       CGI::Lite.3

DOCS=       CHANGES README TODO
EXAMPLES=   cookies get_post print upload file post reference

post-install:
.ifndef(NOPORTDOCS)
    @${ECHO_MSG} "===>   Installing docs for ${PKGNAME}"
    ${MKDIR} ${DOCSDIR}
    cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
    @${ECHO_MSG} "===>   Installing examples for ${PKGNAME}"
    ${MKDIR} ${EXAMPLESDIR}
    cd ${WRKSRC}/examples && ${INSTALL_SCRIPT} ${EXAMPLES} ${EXAMPLESDIR}
.endif

.include <bsd.port.mk>