Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Feb 2014 00:24:17 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r346413 - head/www/perlbal
Message-ID:  <201402280024.s1S0OH7r068602@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Fri Feb 28 00:24:17 2014
New Revision: 346413
URL: http://svnweb.freebsd.org/changeset/ports/346413
QAT: https://qat.redports.org/buildarchive/r346413/

Log:
  - Add LICENSE
  - Use COPYTREE_SHARE
  - Support STAGEDIR
  - Remove outdated PERL_LEVEL check

Modified:
  head/www/perlbal/Makefile
  head/www/perlbal/pkg-plist

Modified: head/www/perlbal/Makefile
==============================================================================
--- head/www/perlbal/Makefile	Fri Feb 28 00:14:11 2014	(r346412)
+++ head/www/perlbal/Makefile	Fri Feb 28 00:24:17 2014	(r346413)
@@ -11,6 +11,9 @@ PKGNAMEPREFIX=	p5-
 MAINTAINER=	perl@FreeBSD.org
 COMMENT=	Reverse-proxy load balancer and webserver
 
+LICENSE=	ART10 GPLv1
+LICENSE_COMB=	dual
+
 RUN_DEPENDS=	p5-BSD-Resource>=0:${PORTSDIR}/devel/p5-BSD-Resource \
 		p5-Danga-Socket>=1.44:${PORTSDIR}/devel/p5-Danga-Socket \
 		p5-HTTP-Date>=0:${PORTSDIR}/www/p5-HTTP-Date \
@@ -20,62 +23,22 @@ RUN_DEPENDS=	p5-BSD-Resource>=0:${PORTSD
 		p5-libwww>=0:${PORTSDIR}/www/p5-libwww
 BUILD_DEPENDS:=	${RUN_DEPENDS}
 
+OPTIONS_DEFINE=	DOCS
+
 USES=		perl5
 USE_PERL5=	configure
 USE_RC_SUBR=	perlbal
 
-MAN1=		perlbal.1
-MAN3=		Perlbal.3 \
-		Perlbal::FAQ.3 \
-		Perlbal::Manual.3 \
-		Perlbal::Manual::Configuration.3 \
-		Perlbal::Manual::Contributing.3 \
-		Perlbal::Manual::Credits.3 \
-		Perlbal::Manual::Debugging.3 \
-		Perlbal::Manual::FailOver.3 \
-		Perlbal::Manual::HighPriority.3 \
-		Perlbal::Manual::Hooks.3 \
-		Perlbal::Manual::Install.3 \
-		Perlbal::Manual::Internals.3 \
-		Perlbal::Manual::LoadBalancer.3 \
-		Perlbal::Manual::Logging.3 \
-		Perlbal::Manual::Management.3 \
-		Perlbal::Manual::Plugins.3 \
-		Perlbal::Manual::ReverseProxy.3 \
-		Perlbal::Manual::Roles.3 \
-		Perlbal::Manual::Selector.3 \
-		Perlbal::Manual::WebServer.3 \
-		Perlbal::Plugin::Cgilike.3 \
-		Perlbal::Plugin::FlvStreaming.3 \
-		Perlbal::Plugin::Include.3 \
-		Perlbal::Plugin::MaxContentLength.3 \
-		Perlbal::Plugin::Palimg.3 \
-		Perlbal::Plugin::Redirect.3 \
-		Perlbal::Plugin::Throttle.3 \
-		Perlbal::Plugin::XFFExtras.3 \
-		Perlbal::Test.3 \
-		Perlbal::Util.3
-
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} 's,/etc/perlbal,${PREFIX}/etc/perlbal,g' \
 		${WRKSRC}/lib/Perlbal/Manual/Configuration.pod \
 		${WRKSRC}/lib/Perlbal/Plugin/Include.pm \
 		${WRKSRC}/perlbal
-
 	@${RM} ${WRKSRC}/lib/Perlbal/Manual/Configuration.pod.bak \
 		${WRKSRC}/lib/Perlbal/Plugin/Include.pm.bak \
 
-.ifndef NOPORTDOCS
 post-install:
-	@${MKDIR} ${DOCSDIR}
-	${CP} -R ${WRKSRC}/doc/ ${DOCSDIR}
-.endif
-
-.include <bsd.port.pre.mk>
-
-.if ${PERL_LEVEL} < 501400
-TEST_DEPENDS+=	p5-Test-Simple>=0.94:${PORTSDIR}/devel/p5-Test-Simple
-.endif
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/www/perlbal/pkg-plist
==============================================================================
--- head/www/perlbal/pkg-plist	Fri Feb 28 00:14:11 2014	(r346412)
+++ head/www/perlbal/pkg-plist	Fri Feb 28 00:24:17 2014	(r346413)
@@ -61,6 +61,37 @@ bin/perlbal
 %%SITE_PERL%%/Perlbal/UploadListener.pm
 %%SITE_PERL%%/Perlbal/Util.pm
 %%SITE_PERL%%/%%PERL_ARCH%%/auto/Perlbal/.packlist
+%%PERL5_MAN3%%/Perlbal.3.gz
+%%PERL5_MAN3%%/Perlbal::FAQ.3.gz
+%%PERL5_MAN3%%/Perlbal::Manual.3.gz
+%%PERL5_MAN3%%/Perlbal::Manual::Configuration.3.gz
+%%PERL5_MAN3%%/Perlbal::Manual::Contributing.3.gz
+%%PERL5_MAN3%%/Perlbal::Manual::Credits.3.gz
+%%PERL5_MAN3%%/Perlbal::Manual::Debugging.3.gz
+%%PERL5_MAN3%%/Perlbal::Manual::FailOver.3.gz
+%%PERL5_MAN3%%/Perlbal::Manual::HighPriority.3.gz
+%%PERL5_MAN3%%/Perlbal::Manual::Hooks.3.gz
+%%PERL5_MAN3%%/Perlbal::Manual::Install.3.gz
+%%PERL5_MAN3%%/Perlbal::Manual::Internals.3.gz
+%%PERL5_MAN3%%/Perlbal::Manual::LoadBalancer.3.gz
+%%PERL5_MAN3%%/Perlbal::Manual::Logging.3.gz
+%%PERL5_MAN3%%/Perlbal::Manual::Management.3.gz
+%%PERL5_MAN3%%/Perlbal::Manual::Plugins.3.gz
+%%PERL5_MAN3%%/Perlbal::Manual::ReverseProxy.3.gz
+%%PERL5_MAN3%%/Perlbal::Manual::Roles.3.gz
+%%PERL5_MAN3%%/Perlbal::Manual::Selector.3.gz
+%%PERL5_MAN3%%/Perlbal::Manual::WebServer.3.gz
+%%PERL5_MAN3%%/Perlbal::Plugin::Cgilike.3.gz
+%%PERL5_MAN3%%/Perlbal::Plugin::FlvStreaming.3.gz
+%%PERL5_MAN3%%/Perlbal::Plugin::Include.3.gz
+%%PERL5_MAN3%%/Perlbal::Plugin::MaxContentLength.3.gz
+%%PERL5_MAN3%%/Perlbal::Plugin::Palimg.3.gz
+%%PERL5_MAN3%%/Perlbal::Plugin::Redirect.3.gz
+%%PERL5_MAN3%%/Perlbal::Plugin::Throttle.3.gz
+%%PERL5_MAN3%%/Perlbal::Plugin::XFFExtras.3.gz
+%%PERL5_MAN3%%/Perlbal::Test.3.gz
+%%PERL5_MAN3%%/Perlbal::Util.3.gz
+man/man1/perlbal.1.gz
 %%PORTDOCS%%%%DOCSDIR%%/README
 %%PORTDOCS%%%%DOCSDIR%%/config-guide.txt
 %%PORTDOCS%%%%DOCSDIR%%/hacking/classes.txt



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