mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
Support staging.
This commit is contained in:
parent
60f3261d77
commit
a2d412ae73
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=343193
@ -22,14 +22,10 @@ USE_PERL5= configure
|
||||
|
||||
USE_RC_SUBR+= fcgi_spawn
|
||||
|
||||
MAN3= FCGI::Spawn.3 FCGI::Spawn::BinUtils.3
|
||||
MAN1= fcgi_spawn.1
|
||||
|
||||
OPTIONS_DEFINE= MYSQL PGSQL
|
||||
MYSQL_DESC= MySQL dependency to run on RC start
|
||||
PGSQL_DESC= PgSQL dependency to run on RC start
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MMYSQL}
|
||||
@ -48,10 +44,11 @@ SUB_LIST+= PGSQL=
|
||||
|
||||
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 ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/etc/fcgi_spawn
|
||||
${INSTALL_DATA} ${WRKSRC}/fcgi_spawn.conf.sample \
|
||||
${STAGEDIR}${PREFIX}/etc/fcgi_spawn
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
|
||||
${INSTALL_DATA} ${WRKSRC}/README \
|
||||
${STAGEDIR}${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,6 +1,9 @@
|
||||
%%SITE_PERL%%/FCGI/Spawn.pm
|
||||
%%SITE_PERL%%/FCGI/Spawn/BinUtils.pm
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/auto/FCGI/Spawn/.packlist
|
||||
%%PERL5_MAN3%%/FCGI::Spawn.3.gz
|
||||
%%PERL5_MAN3%%/FCGI::Spawn::BinUtils.3.gz
|
||||
man/man1/fcgi_spawn.1.gz
|
||||
bin/fcgi_spawn
|
||||
etc/fcgi_spawn/fcgi_spawn.conf.sample
|
||||
share/doc/p5-FCGI-Spawn/README
|
||||
|
Loading…
Reference in New Issue
Block a user