diff --git a/www/p5-FCGI-Spawn/Makefile b/www/p5-FCGI-Spawn/Makefile index 0311a112f135..ed2edde4ae7a 100644 --- a/www/p5-FCGI-Spawn/Makefile +++ b/www/p5-FCGI-Spawn/Makefile @@ -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 .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 diff --git a/www/p5-FCGI-Spawn/pkg-plist b/www/p5-FCGI-Spawn/pkg-plist index b6a872215f81..62024f606662 100644 --- a/www/p5-FCGI-Spawn/pkg-plist +++ b/www/p5-FCGI-Spawn/pkg-plist @@ -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