From 04b77dd8f2b404d49e7d94e59795c5a59f700fbb Mon Sep 17 00:00:00 2001 From: Erwin Lansing Date: Fri, 29 Aug 2003 09:08:12 +0000 Subject: - Update to 2.02 - Take maintainership - Add docs and examples PR: 56123 Submitted by: Lars Thegler --- www/p5-CGI_Lite/Makefile | 20 ++++++++++++++++---- www/p5-CGI_Lite/distinfo | 2 +- www/p5-CGI_Lite/pkg-descr | 17 ++++++----------- www/p5-CGI_Lite/pkg-plist | 12 ++++++++++++ 4 files changed, 35 insertions(+), 16 deletions(-) (limited to 'www/p5-CGI_Lite') diff --git a/www/p5-CGI_Lite/Makefile b/www/p5-CGI_Lite/Makefile index 15cdb190b52d..00e15521acdb 100644 --- a/www/p5-CGI_Lite/Makefile +++ b/www/p5-CGI_Lite/Makefile @@ -6,18 +6,30 @@ # PORTNAME= CGI-Lite -PORTVERSION= 2.001 +PORTVERSION= 2.02 CATEGORIES= www perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= CGI PKGNAMEPREFIX= p5- -DISTNAME= ${PORTNAME}-${PORTVERSION}-emergencyrelease -MAINTAINER= ports@FreeBSD.org -COMMENT= Perl5 module to process and decode WWW form information +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 diff --git a/www/p5-CGI_Lite/distinfo b/www/p5-CGI_Lite/distinfo index bf39c7e63e3b..5d17bed5902d 100644 --- a/www/p5-CGI_Lite/distinfo +++ b/www/p5-CGI_Lite/distinfo @@ -1 +1 @@ -MD5 (CGI-Lite-2.001-emergencyrelease.tar.gz) = 6d7001840ad04916663050175bb2cfc7 +MD5 (CGI-Lite-2.02.tar.gz) = fa91873a24a9c8ac78a204e49a7f367f diff --git a/www/p5-CGI_Lite/pkg-descr b/www/p5-CGI_Lite/pkg-descr index 5b0ff7235199..c1c4ba9cc89f 100644 --- a/www/p5-CGI_Lite/pkg-descr +++ b/www/p5-CGI_Lite/pkg-descr @@ -1,13 +1,8 @@ -CGI Lite v1.62 - Perl 5.0 module to process and decode WWW form information. +You can use this module to decode form and query information, including file +uploads, as well as cookies in a very simple manner; you need not concern +yourself with the actual details behind the decoding process. - The module can be used to handle and decode WWW form - information. Both GET and POST requests can be processed. - In the case of POST requests, the information can be one - of two possible MIME types: +WWW: http://search.cpan.org/dist/CGI-Lite - application/x-www-form-urlencoded - multipart/form-data - - This module is very light-weight, and can be thought of as - an enhanced version of the old cgi-lib.pl library for Perl - 4.0 by Steven Brenner (S.E.Brenner@bioc.cam.ac.uk). +- Lars Thegler +lars@thegler.dk diff --git a/www/p5-CGI_Lite/pkg-plist b/www/p5-CGI_Lite/pkg-plist index 932209509a03..6144a4aa7b9d 100644 --- a/www/p5-CGI_Lite/pkg-plist +++ b/www/p5-CGI_Lite/pkg-plist @@ -1,5 +1,17 @@ %%SITE_PERL%%/CGI/Lite.pm %%SITE_PERL%%/%%PERL_ARCH%%/auto/CGI/Lite/.packlist +%%PORTDOCS%%%%DOCSDIR%%/CHANGES +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/TODO +%%PORTDOCS%%%%EXAMPLESDIR%%/cookies +%%PORTDOCS%%%%EXAMPLESDIR%%/file +%%PORTDOCS%%%%EXAMPLESDIR%%/get_post +%%PORTDOCS%%%%EXAMPLESDIR%%/post +%%PORTDOCS%%%%EXAMPLESDIR%%/print +%%PORTDOCS%%%%EXAMPLESDIR%%/reference +%%PORTDOCS%%%%EXAMPLESDIR%%/upload +%%PORTDOCS%%@dirrm %%DOCSDIR%% +%%PORTDOCS%%@dirrm %%EXAMPLESDIR%% @dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/CGI/Lite @unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/CGI 2>/dev/null || true @unexec rmdir %D/%%SITE_PERL%%/CGI 2>/dev/null || true -- cgit v1.2.3