Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Jan 2014 03:11:43 +0000 (UTC)
From:      Martin Wilke <miwi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r341798 - head/www/p5-CGI.pm
Message-ID:  <201401300311.s0U3BhSK091563@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: miwi
Date: Thu Jan 30 03:11:42 2014
New Revision: 341798
URL: http://svnweb.freebsd.org/changeset/ports/341798
QAT: https://qat.redports.org/buildarchive/r341798/

Log:
  - Stage support

Modified:
  head/www/p5-CGI.pm/Makefile
  head/www/p5-CGI.pm/pkg-plist

Modified: head/www/p5-CGI.pm/Makefile
==============================================================================
--- head/www/p5-CGI.pm/Makefile	Thu Jan 30 01:00:13 2014	(r341797)
+++ head/www/p5-CGI.pm/Makefile	Thu Jan 30 03:11:42 2014	(r341798)
@@ -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/
 		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

Modified: head/www/p5-CGI.pm/pkg-plist
==============================================================================
--- head/www/p5-CGI.pm/pkg-plist	Thu Jan 30 01:00:13 2014	(r341797)
+++ head/www/p5-CGI.pm/pkg-plist	Thu Jan 30 03:11:42 2014	(r341798)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401300311.s0U3BhSK091563>