aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-11-05 10:43:16 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-11-05 10:43:16 +0000
commite81fd5c78da2409a523bcb2a9f1d23ba8c87ee4f (patch)
tree96ba6e2275ecb1977dc8e6d770de7d3c39bbc37c
parent3f91fb399f338c69c61ac16e5ea62b565bc2578e (diff)
downloadports-e81fd5c78da2409a523bcb2a9f1d23ba8c87ee4f.tar.gz
ports-e81fd5c78da2409a523bcb2a9f1d23ba8c87ee4f.zip
Notes
-rw-r--r--www/p5-CGI_Lite/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/www/p5-CGI_Lite/Makefile b/www/p5-CGI_Lite/Makefile
index 56eeebb2ec94..935a47b5bc5e 100644
--- a/www/p5-CGI_Lite/Makefile
+++ b/www/p5-CGI_Lite/Makefile
@@ -3,6 +3,7 @@
PORTNAME= CGI-Lite
PORTVERSION= 3.00
+PORTREVISION= 1
CATEGORIES= www perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -13,17 +14,21 @@ COMMENT= Process and decode WWW forms and cookies
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
-USES= perl5
+USES= perl5 shebangfix
+SHEBANG_FILES= examples/*
USE_PERL5= configure
+NO_ARCH= yes
DOCS= CHANGES README TODO
EXAMPLES= cookies get_post print upload file post reference
OPTIONS_DEFINE= DOCS EXAMPLES
-post-install:
+post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
+
+post-install-EXAMPLES-on:
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC}/examples && ${INSTALL_SCRIPT} ${EXAMPLES} ${STAGEDIR}${EXAMPLESDIR}