aboutsummaryrefslogtreecommitdiff
path: root/www/perlbal
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-06-11 07:24:09 +0000
committerMartin Wilke <miwi@FreeBSD.org>2007-06-11 07:24:09 +0000
commitf746e9406a4448c3126475daca058ac2880250d2 (patch)
treee2753228db58347face0cf77584cc00ae6958d87 /www/perlbal
parentde58a94400d5e2b80ce9b709fc0c7725f32381a2 (diff)
downloadports-f746e9406a4448c3126475daca058ac2880250d2.tar.gz
ports-f746e9406a4448c3126475daca058ac2880250d2.zip
Notes
Diffstat (limited to 'www/perlbal')
-rw-r--r--www/perlbal/Makefile11
-rw-r--r--www/perlbal/pkg-plist24
2 files changed, 26 insertions, 9 deletions
diff --git a/www/perlbal/Makefile b/www/perlbal/Makefile
index 6855b4eb619e..5bc35d565c7a 100644
--- a/www/perlbal/Makefile
+++ b/www/perlbal/Makefile
@@ -7,6 +7,7 @@
PORTNAME= Perlbal
PORTVERSION= 1.59
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://www.danga.com/dist/Perlbal/ \
http://www.powertrip.co.za/distfiles/danga/
@@ -15,11 +16,11 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Reverse-proxy load balancer and webserver
-BUILD_DEPENDS= ${SITE_PERL}/LWP.pm:${PORTSDIR}/www/p5-libwww \
+RUN_DEPENDS= ${SITE_PERL}/LWP.pm:${PORTSDIR}/www/p5-libwww \
${SITE_PERL}/${PERL_ARCH}/BSD/Resource.pm:${PORTSDIR}/devel/p5-BSD-Resource \
${SITE_PERL}/Danga/Socket.pm:${PORTSDIR}/devel/p5-Danga-Socket \
${SITE_PERL}/Net/Netmask.pm:${PORTSDIR}/net-mgmt/p5-Net-Netmask
-RUN_DEPENDS= ${BUILD_DEPENDS}
+BUILD_DEPENDS= ${RUN_DEPENDS}
PERL_CONFIGURE= yes
@@ -32,4 +33,10 @@ MAN3= Perlbal.3 Perlbal::Plugin::Palimg.3
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes
.endif
+post-install:
+.ifndef NOPORTDOCS
+ ${MKDIR} ${DOCSDIR}
+ ${CP} -R ${WRKSRC}/doc/ ${DOCSDIR}
+.endif
+
.include <bsd.port.post.mk>
diff --git a/www/perlbal/pkg-plist b/www/perlbal/pkg-plist
index f468c58427cb..2186c039d022 100644
--- a/www/perlbal/pkg-plist
+++ b/www/perlbal/pkg-plist
@@ -1,8 +1,16 @@
-bin/perlbal
+@comment $FreeBSD$
+%%PORTDOCS%%%%DOCSDIR%%/config-guide.txt
+%%PORTDOCS%%%%DOCSDIR%%/hacking/classes.txt
+%%PORTDOCS%%%%DOCSDIR%%/hacking/hooks.txt
+%%PORTDOCS%%%%DOCSDIR%%/hacking/todo.txt
+%%PORTDOCS%%%%DOCSDIR%%/http-versions.txt
+%%PORTDOCS%%%%DOCSDIR%%/reproxying.txt
+%%PORTDOCS%%%%DOCSDIR%%/service-parameters.txt
%%SITE_PERL%%/Perlbal.pm
%%SITE_PERL%%/Perlbal/AIO.pm
%%SITE_PERL%%/Perlbal/BackendHTTP.pm
%%SITE_PERL%%/Perlbal/Cache.pm
+%%SITE_PERL%%/Perlbal/ChunkedUploadState.pm
%%SITE_PERL%%/Perlbal/ClientHTTP.pm
%%SITE_PERL%%/Perlbal/ClientHTTPBase.pm
%%SITE_PERL%%/Perlbal/ClientManage.pm
@@ -11,16 +19,15 @@ bin/perlbal
%%SITE_PERL%%/Perlbal/HTTPHeaders.pm
%%SITE_PERL%%/Perlbal/ManageCommand.pm
%%SITE_PERL%%/Perlbal/Plugin/AccessControl.pm
-%%SITE_PERL%%/Perlbal/ChunkedUploadState.pm
+%%SITE_PERL%%/Perlbal/Plugin/AutoRemoveLeadingDir.pm
%%SITE_PERL%%/Perlbal/Plugin/EchoService.pm
%%SITE_PERL%%/Perlbal/Plugin/Highpri.pm
+%%SITE_PERL%%/Perlbal/Plugin/LazyCDN.pm
+%%SITE_PERL%%/Perlbal/Plugin/NotModified.pm
%%SITE_PERL%%/Perlbal/Plugin/Palimg.pm
%%SITE_PERL%%/Perlbal/Plugin/Queues.pm
%%SITE_PERL%%/Perlbal/Plugin/Stats.pm
%%SITE_PERL%%/Perlbal/Plugin/Vhosts.pm
-%%SITE_PERL%%/Perlbal/Plugin/LazyCDN.pm
-%%SITE_PERL%%/Perlbal/Plugin/AutoRemoveLeadingDir.pm
-%%SITE_PERL%%/Perlbal/Plugin/NotModified.pm
%%SITE_PERL%%/Perlbal/Pool.pm
%%SITE_PERL%%/Perlbal/ReproxyManager.pm
%%SITE_PERL%%/Perlbal/Service.pm
@@ -32,7 +39,10 @@ bin/perlbal
%%SITE_PERL%%/Perlbal/UploadListener.pm
%%SITE_PERL%%/Perlbal/Util.pm
%%SITE_PERL%%/mach/auto/Perlbal/.packlist
-@dirrm %%SITE_PERL%%/Perlbal/Plugin
+bin/perlbal
+@dirrm %%SITE_PERL%%/mach/auto/Perlbal
@dirrm %%SITE_PERL%%/Perlbal/Test
+@dirrm %%SITE_PERL%%/Perlbal/Plugin
@dirrm %%SITE_PERL%%/Perlbal
-@dirrm %%SITE_PERL%%/mach/auto/Perlbal
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/hacking
+%%PORTDOCS%%@dirrm %%DOCSDIR%%