04b77dd8f2
- Take maintainership - Add docs and examples PR: 56123 Submitted by: Lars Thegler <lars@thegler.dk>
36 lines
856 B
Makefile
36 lines
856 B
Makefile
# 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= ${MASTER_SITE_PERL_CPAN}
|
|
MASTER_SITE_SUBDIR= CGI
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= lars@thegler.dk
|
|
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>
|