diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2014-02-28 08:24:17 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2014-02-28 08:24:17 +0800 |
commit | fc8164b544ecb70d70de85c7d74472a9ebeae80c (patch) | |
tree | 4a221e7404a991090c8286382c4e75dd2a9a3cb4 /www/perlbal | |
parent | a7f67b211b542a3d8fedc86ff752e43895df95fb (diff) | |
download | freebsd-ports-gnome-fc8164b544ecb70d70de85c7d74472a9ebeae80c.tar.gz freebsd-ports-gnome-fc8164b544ecb70d70de85c7d74472a9ebeae80c.tar.zst freebsd-ports-gnome-fc8164b544ecb70d70de85c7d74472a9ebeae80c.zip |
- Add LICENSE
- Use COPYTREE_SHARE
- Support STAGEDIR
- Remove outdated PERL_LEVEL check
Diffstat (limited to 'www/perlbal')
-rw-r--r-- | www/perlbal/Makefile | 53 | ||||
-rw-r--r-- | www/perlbal/pkg-plist | 31 |
2 files changed, 39 insertions, 45 deletions
diff --git a/www/perlbal/Makefile b/www/perlbal/Makefile index 0aade659f8a0..4b82af353e2d 100644 --- a/www/perlbal/Makefile +++ b/www/perlbal/Makefile @@ -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:${PORTSDIR}/devel/p5-BSD-Resource \ 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> diff --git a/www/perlbal/pkg-plist b/www/perlbal/pkg-plist index 102bd27e1a78..75258fac5db8 100644 --- a/www/perlbal/pkg-plist +++ b/www/perlbal/pkg-plist @@ -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 |