aboutsummaryrefslogtreecommitdiff
path: root/www/p5-CGI_Lite
diff options
context:
space:
mode:
authorErwin Lansing <erwin@FreeBSD.org>2003-08-29 09:08:12 +0000
committerErwin Lansing <erwin@FreeBSD.org>2003-08-29 09:08:12 +0000
commit04b77dd8f2b404d49e7d94e59795c5a59f700fbb (patch)
tree8fafc26677989f4b640eb8b6c3556999fa9a5fe6 /www/p5-CGI_Lite
parent4ca77447350547af13ac892606575781bd4a286d (diff)
downloadports-04b77dd8f2b404d49e7d94e59795c5a59f700fbb.tar.gz
ports-04b77dd8f2b404d49e7d94e59795c5a59f700fbb.zip
Notes
Diffstat (limited to 'www/p5-CGI_Lite')
-rw-r--r--www/p5-CGI_Lite/Makefile20
-rw-r--r--www/p5-CGI_Lite/distinfo2
-rw-r--r--www/p5-CGI_Lite/pkg-descr17
-rw-r--r--www/p5-CGI_Lite/pkg-plist12
4 files changed, 35 insertions, 16 deletions
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 <bsd.port.mk>
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