aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorskreuzer <skreuzer@FreeBSD.org>2010-04-14 21:48:02 +0800
committerskreuzer <skreuzer@FreeBSD.org>2010-04-14 21:48:02 +0800
commit7f36a47256edca067c2590607d92dcf4ab683a2f (patch)
tree2d260e3920ebead56f8b02969569e2ff74908f05 /www
parentd6841923014fc4aceaa2468002008aabe0ba5d10 (diff)
downloadfreebsd-ports-gnome-7f36a47256edca067c2590607d92dcf4ab683a2f.tar.gz
freebsd-ports-gnome-7f36a47256edca067c2590607d92dcf4ab683a2f.tar.zst
freebsd-ports-gnome-7f36a47256edca067c2590607d92dcf4ab683a2f.zip
Update to 0.16.1
PR: ports/144262 Submitted by: Peter Vereshagin <peter@vereshagin.org>
Diffstat (limited to 'www')
-rw-r--r--www/p5-FCGI-Spawn/Makefile37
-rw-r--r--www/p5-FCGI-Spawn/distinfo6
-rw-r--r--www/p5-FCGI-Spawn/pkg-plist7
3 files changed, 44 insertions, 6 deletions
diff --git a/www/p5-FCGI-Spawn/Makefile b/www/p5-FCGI-Spawn/Makefile
index 50eb93cb18b0..2871b1f8a574 100644
--- a/www/p5-FCGI-Spawn/Makefile
+++ b/www/p5-FCGI-Spawn/Makefile
@@ -6,18 +6,49 @@
#
PORTNAME= FCGI-Spawn
-PORTVERSION= 0.15.1
+PORTVERSION= 0.16.1
CATEGORIES= www perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= peter@vereshagin.org
-COMMENT= Process manager/(CGI-like)application server for FastCGI protocol
+COMMENT= FastCGI server for CGI-like applications multiprocessing
RUN_DEPENDS= ${SITE_PERL}/FCGI/ProcManager.pm:${PORTSDIR}/www/p5-FCGI-ProcManager
PERL_CONFIGURE= yes
+USE_RC_SUBR+= fcgi_spawn
+
MAN3= FCGI::Spawn.3
+MAN1= fcgi_spawn.1
+
+OPTIONS= MYSQL "MySQL dependency to run on RC start" off \
+ PGSQL "PgSQL dependency to run on RC start" off
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_MYSQL)
+# RUN_DEPENDS+= mysql-server>=0:${PORTSDIR}/databases/mysql${MYSQL_VER}-server
+SUB_LIST+= MYSQL=mysql
+. else
+SUB_LIST+= MYSQL=
+.endif
+
+.if defined(WITH_PGSQL)
+# RUN_DEPENDS+= postgresql-server>=0:${PORTSDIR}/databases/postgresql${PGSQL_VER}-server
+SUB_LIST+= PGSQL=postgresql
+. else
+SUB_LIST+= PGSQL=
+.endif
+
+post-install:
+ ${ECHO} ${WITH_MYSQL} ${SUB_LIST}
+ @${MKDIR} ${PREFIX}/etc/fcgi_spawn
+ @${INSTALL_DATA} ${WRKSRC}/fcgi_spawn.conf.sample ${PREFIX}/etc/fcgi_spawn
+ @${MKDIR} ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
+ @${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/Bugzilla.CGI.pm.fcgi.spawn.patch ${WRKSRC}/CGI.pm.fcgi.spawn.patch \
+ ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
+ @${CAT} ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/www/p5-FCGI-Spawn/distinfo b/www/p5-FCGI-Spawn/distinfo
index 4668dc7b39c4..d14c1a7f35e6 100644
--- a/www/p5-FCGI-Spawn/distinfo
+++ b/www/p5-FCGI-Spawn/distinfo
@@ -1,3 +1,3 @@
-MD5 (FCGI-Spawn-0.15.1.tar.gz) = 4fbc9d3779c4f3b4d7b95386fed2fc48
-SHA256 (FCGI-Spawn-0.15.1.tar.gz) = fcf8dbeae55b486f845330b37643619566e0f7bd9373167b8e378fba6c82c3ca
-SIZE (FCGI-Spawn-0.15.1.tar.gz) = 22409
+SIZE (FCGI-Spawn-0.16.1.tar.gz) = 27199
+MD5 (FCGI-Spawn-0.16.1.tar.gz) = a6124efd9b12f56cfe7cb9d750e7db34
+SHA256 (FCGI-Spawn-0.16.1.tar.gz) = 8163dd5d78e6c29197ef6f97f6429cbf4e5a800b668b6162fa18b9da6c330d49
diff --git a/www/p5-FCGI-Spawn/pkg-plist b/www/p5-FCGI-Spawn/pkg-plist
index d40f25c682aa..e7c9067361bb 100644
--- a/www/p5-FCGI-Spawn/pkg-plist
+++ b/www/p5-FCGI-Spawn/pkg-plist
@@ -1,5 +1,12 @@
%%SITE_PERL%%/FCGI/Spawn.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/FCGI/Spawn/.packlist
+bin/fcgi_spawn
+etc/fcgi_spawn/fcgi_spawn.conf.sample
+share/doc/p5-FCGI-Spawn/CGI.pm.fcgi.spawn.patch
+share/doc/p5-FCGI-Spawn/README
+share/doc/p5-FCGI-Spawn/Bugzilla.CGI.pm.fcgi.spawn.patch
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/FCGI/Spawn
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/FCGI
@dirrmtry %%SITE_PERL%%/FCGI
+@dirrmtry share/doc/p5-FCGI-Spawn
+@dirrmtry etc/fcgi_spawn