- Update to 3.01

- Remove DOCS option
- Use PORTEXAMPLES and sort it

Changes:	http://search.cpan.org/dist/CGI-Lite/CHANGES
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2015-12-11 10:02:14 +00:00
parent dd838e5819
commit 6713c94829
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=403509
3 changed files with 6 additions and 22 deletions

View file

@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= CGI-Lite
PORTVERSION= 3.00
PORTREVISION= 1
PORTVERSION= 3.01
CATEGORIES= www perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@ -19,17 +18,12 @@ SHEBANG_FILES= examples/*
USE_PERL5= configure
NO_ARCH= yes
DOCS= CHANGES README TODO
EXAMPLES= cookies get_post print upload file post reference
PORTEXAMPLES= cookies file get_post post print reference upload
OPTIONS_DEFINE= DOCS EXAMPLES
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
OPTIONS_DEFINE= EXAMPLES
post-install-EXAMPLES-on:
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC}/examples && ${INSTALL_SCRIPT} ${EXAMPLES} ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC}/examples && ${INSTALL_SCRIPT} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>

View file

@ -1,2 +1,2 @@
SHA256 (CGI-Lite-3.00.tar.gz) = e52e4898bb0ff97290053c72233a54cd4882da1246e7c0e86193611b66d0b2bb
SIZE (CGI-Lite-3.00.tar.gz) = 36288
SHA256 (CGI-Lite-3.01.tar.gz) = 807ced3220da5603ed66bbcad26477d118408fd226f08a5d7ababc0536346801
SIZE (CGI-Lite-3.01.tar.gz) = 37561

View file

@ -1,12 +1,2 @@
%%SITE_PERL%%/CGI/Lite.pm
%%PORTDOCS%%%%DOCSDIR%%/CHANGES
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/TODO
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cookies
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/file
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/get_post
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/post
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/print
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/reference
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/upload
%%PERL5_MAN3%%/CGI::Lite.3.gz