aboutsummaryrefslogtreecommitdiff
path: root/www/p5-CGI.pm
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2014-01-30 03:11:42 +0000
committerMartin Wilke <miwi@FreeBSD.org>2014-01-30 03:11:42 +0000
commit854f5ac16d108f03d8d1725ef99d0ed6852527db (patch)
tree6be6be3593d2d18e7677299608c8a3c057a697e3 /www/p5-CGI.pm
parent127fcb9e76782c54f2165854da30906b0ebd8589 (diff)
downloadports-854f5ac16d108f03d8d1725ef99d0ed6852527db.tar.gz
ports-854f5ac16d108f03d8d1725ef99d0ed6852527db.zip
Notes
Diffstat (limited to 'www/p5-CGI.pm')
-rw-r--r--www/p5-CGI.pm/Makefile16
-rw-r--r--www/p5-CGI.pm/pkg-plist9
2 files changed, 13 insertions, 12 deletions
diff --git a/www/p5-CGI.pm/Makefile b/www/p5-CGI.pm/Makefile
index 59a84071b7a8..12419fda3d98 100644
--- a/www/p5-CGI.pm/Makefile
+++ b/www/p5-CGI.pm/Makefile
@@ -17,11 +17,6 @@ LICENSE_COMB= dual
USES= perl5
USE_PERL5= configure
-MAN3= CGI.3 CGI::Apache.3 CGI::Carp.3 CGI::Cookie.3 \
- CGI::Fast.3 CGI::Pretty.3 CGI::Push.3 CGI::Switch.3 \
- CGI::Util.3
-
-.if !defined(NOPORTEXAMPLES)
EXAMPLES= examples/caution.xbm examples/clickable_image.cgi \
examples/cookie.cgi examples/crash.cgi examples/customize.cgi \
examples/diff_upload.cgi examples/dna.small.gif \
@@ -33,16 +28,13 @@ EXAMPLES= examples/caution.xbm examples/clickable_image.cgi \
examples/popup.cgi examples/save_state.cgi \
examples/tryit.cgi examples/wilogo.gif
-NO_STAGE= yes
-post-install:
- @${MKDIR} ${EXAMPLESDIR}
- @${INSTALL_DATA} ${EXAMPLES:S|^|${WRKSRC}/|} ${EXAMPLESDIR}
- @${ECHO_MSG} "===> Examples installed in ${EXAMPLESDIR}."
-.endif
-
post-patch:
@${REINPLACE_CMD} -e '/require 5\.6/d; /INSTALLDIRS/d' ${WRKSRC}/Makefile.PL
+post-install:
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ @${INSTALL_DATA} ${EXAMPLES:S|^|${WRKSRC}/|} ${STAGEDIR}${EXAMPLESDIR}
+
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 501400
diff --git a/www/p5-CGI.pm/pkg-plist b/www/p5-CGI.pm/pkg-plist
index e355f6d5a2be..d355b5289c1b 100644
--- a/www/p5-CGI.pm/pkg-plist
+++ b/www/p5-CGI.pm/pkg-plist
@@ -30,5 +30,14 @@
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tryit.cgi
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/wilogo.gif
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
+%%PERL5_MAN3%%/CGI.3.gz
+%%PERL5_MAN3%%/CGI::Apache.3.gz
+%%PERL5_MAN3%%/CGI::Carp.3.gz
+%%PERL5_MAN3%%/CGI::Cookie.3.gz
+%%PERL5_MAN3%%/CGI::Fast.3.gz
+%%PERL5_MAN3%%/CGI::Pretty.3.gz
+%%PERL5_MAN3%%/CGI::Push.3.gz
+%%PERL5_MAN3%%/CGI::Switch.3.gz
+%%PERL5_MAN3%%/CGI::Util.3.gz
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/CGI
@dirrmtry %%SITE_PERL%%/CGI