Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Mar 2018 21:49:26 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r464022 - head/www/p5-FCGI-Spawn
Message-ID:  <201803092149.w29LnQ33037098@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Fri Mar  9 21:49:26 2018
New Revision: 464022
URL: https://svnweb.freebsd.org/changeset/ports/464022

Log:
  Add LICENSE
  
  - Add removed Perl core module to *_DEPENDS
  - Add NO_ARCH
  - Add missing OPTIONS_DEFINE=DOCS
  - Remove no-op "${ECHO} ${WITH_MYSQL} ${SUB_LIST}" which seems for debugging purpose
  - Convert to options target helper
  - Sort PLIST
  - Pass maintainership to perl@

Modified:
  head/www/p5-FCGI-Spawn/Makefile
  head/www/p5-FCGI-Spawn/pkg-plist

Modified: head/www/p5-FCGI-Spawn/Makefile
==============================================================================
--- head/www/p5-FCGI-Spawn/Makefile	Fri Mar  9 21:49:21 2018	(r464021)
+++ head/www/p5-FCGI-Spawn/Makefile	Fri Mar  9 21:49:26 2018	(r464022)
@@ -8,22 +8,28 @@ CATEGORIES=	www perl5
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	perl@FreeBSD.org
 COMMENT=	FastCGI server for CGI-like applications multiprocessing
 
-BUILD_DEPENDS=	p5-Const-Fast>0:devel/p5-Const-Fast \
+LICENSE=	LGPL21
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+BUILD_DEPENDS=	p5-CGI-Fast>=0:www/p5-CGI-Fast \
+		p5-Const-Fast>0:devel/p5-Const-Fast \
 		p5-FCGI>0:www/p5-FCGI \
 		p5-FCGI-ProcManager>0:www/p5-FCGI-ProcManager
 RUN_DEPENDS:=	${BUILD_DEPENDS}
 TEST_DEPENDS=	p5-Test-Most>0:devel/p5-Test-Most \
 		p5-Test-Strict>0:devel/p5-Test-Strict
 
+NO_ARCH=	yes
 USES=		perl5
 USE_PERL5=	configure
+USE_RC_SUBR=	fcgi_spawn
 
-USE_RC_SUBR+=	fcgi_spawn
+DOCSDIR=	${PREFIX}/share/doc/p5-${PORTNAME}
 
-OPTIONS_DEFINE=	MYSQL PGSQL
+OPTIONS_DEFINE=	DOCS MYSQL PGSQL
 MYSQL_DESC=	MySQL dependency to run on RC start
 PGSQL_DESC=	PgSQL dependency to run on RC start
 
@@ -44,12 +50,11 @@ SUB_LIST+=	PGSQL=
 .endif
 
 post-install:
-	${ECHO} ${WITH_MYSQL} ${SUB_LIST}
 	${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}
+	${INSTALL_DATA} ${WRKSRC}/fcgi_spawn.conf.sample ${STAGEDIR}${PREFIX}/etc/fcgi_spawn
+
+post-install-DOCS-on:
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>

Modified: head/www/p5-FCGI-Spawn/pkg-plist
==============================================================================
--- head/www/p5-FCGI-Spawn/pkg-plist	Fri Mar  9 21:49:21 2018	(r464021)
+++ head/www/p5-FCGI-Spawn/pkg-plist	Fri Mar  9 21:49:26 2018	(r464022)
@@ -1,8 +1,8 @@
+bin/fcgi_spawn
+etc/fcgi_spawn/fcgi_spawn.conf.sample
 %%SITE_PERL%%/FCGI/Spawn.pm
 %%SITE_PERL%%/FCGI/Spawn/BinUtils.pm
+%%PERL5_MAN1%%/fcgi_spawn.1.gz
 %%PERL5_MAN3%%/FCGI::Spawn.3.gz
 %%PERL5_MAN3%%/FCGI::Spawn::BinUtils.3.gz
-%%PERL5_MAN1%%/fcgi_spawn.1.gz
-bin/fcgi_spawn
-etc/fcgi_spawn/fcgi_spawn.conf.sample
-share/doc/p5-FCGI-Spawn/README
+%%PORTDOCS%%%%DOCSDIR%%/README



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803092149.w29LnQ33037098>