svn commit: r360943 - head/www/fcgi

Julien Laffaye jlaffaye at FreeBSD.org
Sun Jul 6 17:23:30 UTC 2014


Author: jlaffaye
Date: Sun Jul  6 17:23:29 2014
New Revision: 360943
URL: http://svnweb.freebsd.org/changeset/ports/360943
QAT: https://qat.redports.org/buildarchive/r360943/

Log:
  - Stage support
  - Pass maintainership to submitter
  
  PR:		191664
  Submitted by:	freebsd at skysmurf.nl

Modified:
  head/www/fcgi/Makefile
  head/www/fcgi/pkg-descr
  head/www/fcgi/pkg-plist

Modified: head/www/fcgi/Makefile
==============================================================================
--- head/www/fcgi/Makefile	Sun Jul  6 17:05:57 2014	(r360942)
+++ head/www/fcgi/Makefile	Sun Jul  6 17:23:29 2014	(r360943)
@@ -4,37 +4,35 @@
 PORTNAME=	fcgi
 PORTVERSION=	2.4.0
 CATEGORIES=	www
-MASTER_SITES=	http://www.fastcgi.com/dist/
+MASTER_SITES=	http://www.fastcgi.com/dist/ \
+		http://www.skysmurf.nl/comp/FreeBSD/distfiles/
 PKGNAMESUFFIX=	-devkit
 
-MAINTAINER=	ports at FreeBSD.org
+MAINTAINER=	freebsd at skysmurf.nl
 COMMENT=	FastCGI Development Kit
 
-USE_AUTOTOOLS=	libtool
+LICENSE_FILE=	LICENSE.TERMS
+
+USES=		libtool
 GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
 MAKE_JOBS_UNSAFE=	yes
 
-MAN1=		cgi-fcgi.1
-MAN3=		FCGI_Accept.3 FCGI_Finish.3 FCGI_SetExitStatus.3 \
-		FCGI_StartFilterData.3
+PORTDOCS=	*.htm *.html *.gif fastcgi-prog-guide/* fastcgi-whitepaper/*
+
+OPTIONS_DEFINE=	DOCS
+
+.include <bsd.port.options.mk>
 
-NO_STAGE=	yes
 post-install:
-.for y in ${MAN1}
-	@${INSTALL_MAN} ${WRKSRC}/doc/${y} ${MANPREFIX}/man/man1
-.endfor
-.for x in ${MAN3}
-	@${INSTALL_MAN} ${WRKSRC}/doc/${x} ${MANPREFIX}/man/man3
-.endfor
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
-	@${INSTALL_DATA} ${WRKSRC}/doc/*.htm* ${WRKSRC}/doc/*.gif \
-		${DOCSDIR}
-.for i in fastcgi-prog-guide fastcgi-whitepaper
-	@${MKDIR} ${DOCSDIR}/${i}
-	@${INSTALL_DATA} ${WRKSRC}/doc/${i}/* ${DOCSDIR}/$i
-.endfor
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libfcgi.so.0.0.0
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libfcgi++.so.0.0.0
+	${INSTALL_MAN} ${WRKSRC}/doc/*.1 ${STAGEDIR}${MANPREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/doc/*.3 ${STAGEDIR}${MANPREFIX}/man/man3
+.if ${PORT_OPTIONS:MDOCS}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
+	@${RM} ${STAGEDIR}${DOCSDIR}/*.[13]
 .endif
 
 .include <bsd.port.mk>

Modified: head/www/fcgi/pkg-descr
==============================================================================
--- head/www/fcgi/pkg-descr	Sun Jul  6 17:05:57 2014	(r360942)
+++ head/www/fcgi/pkg-descr	Sun Jul  6 17:23:29 2014	(r360943)
@@ -15,4 +15,4 @@ FastCGI, then FastCGI applications get a
 fast); if the server does not support FastCGI, then FastCGI applications
 behave exactly like standard CGIs.
 
-WWW:		http://www.fastcgi.com/
+WWW: http://www.fastcgi.com/

Modified: head/www/fcgi/pkg-plist
==============================================================================
--- head/www/fcgi/pkg-plist	Sun Jul  6 17:05:57 2014	(r360942)
+++ head/www/fcgi/pkg-plist	Sun Jul  6 17:23:29 2014	(r360943)
@@ -7,37 +7,17 @@ include/fcgimisc.h
 include/fcgio.h
 include/fcgios.h
 lib/libfcgi++.a
-lib/libfcgi++.la
 lib/libfcgi++.so
 lib/libfcgi++.so.0
+lib/libfcgi++.so.0.0.0
 lib/libfcgi.a
-lib/libfcgi.la
 lib/libfcgi.so
 lib/libfcgi.so.0
-%%PORTDOCS%%%%DOCSDIR%%/fastcgi-prog-guide/ap_guida.htm
-%%PORTDOCS%%%%DOCSDIR%%/fastcgi-prog-guide/ap_guide.htm
-%%PORTDOCS%%%%DOCSDIR%%/fastcgi-prog-guide/apaman.htm
-%%PORTDOCS%%%%DOCSDIR%%/fastcgi-prog-guide/ch1inta1.gif
-%%PORTDOCS%%%%DOCSDIR%%/fastcgi-prog-guide/ch1intra.gif
-%%PORTDOCS%%%%DOCSDIR%%/fastcgi-prog-guide/ch1intro.htm
-%%PORTDOCS%%%%DOCSDIR%%/fastcgi-prog-guide/ch2c.htm
-%%PORTDOCS%%%%DOCSDIR%%/fastcgi-prog-guide/ch3perl.htm
-%%PORTDOCS%%%%DOCSDIR%%/fastcgi-prog-guide/ch4tcl.htm
-%%PORTDOCS%%%%DOCSDIR%%/fastcgi-prog-guide/cover.htm
-%%PORTDOCS%%%%DOCSDIR%%/fastcgi-prog-guide/covera.gif
-%%PORTDOCS%%%%DOCSDIR%%/fastcgi-whitepaper/fastcgi.htm
-%%PORTDOCS%%%%DOCSDIR%%/fastcgi-whitepaper/img00001.gif
-%%PORTDOCS%%%%DOCSDIR%%/fastcgi-whitepaper/img00002.gif
-%%PORTDOCS%%%%DOCSDIR%%/fastcgi-whitepaper/img00003.gif
-%%PORTDOCS%%%%DOCSDIR%%/fcgi-devel-kit.htm
-%%PORTDOCS%%%%DOCSDIR%%/fcgi-java.htm
-%%PORTDOCS%%%%DOCSDIR%%/fcgi-perf.htm
-%%PORTDOCS%%%%DOCSDIR%%/fcgi-perl.htm
-%%PORTDOCS%%%%DOCSDIR%%/fcgi-spec.html
-%%PORTDOCS%%%%DOCSDIR%%/fcgi-tcl.htm
-%%PORTDOCS%%%%DOCSDIR%%/omi-logo.gif
-%%PORTDOCS%%%%DOCSDIR%%/overview.html
-%%PORTDOCS%%%%DOCSDIR%%/www5-api-workshop.html
-%%PORTDOCS%%@dirrm %%DOCSDIR%%/fastcgi-prog-guide
-%%PORTDOCS%%@dirrm %%DOCSDIR%%/fastcgi-whitepaper
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
+lib/libfcgi.so.0.0.0
+man/man1/cgi-fcgi.1.gz
+man/man3/FCGI_Accept.3.gz
+man/man3/FCGI_Finish.3.gz
+man/man3/FCGI_SetExitStatus.3.gz
+man/man3/FCGI_StartFilterData.3.gz
+%%PORTDOCS%%@dirrmtry %%DOCSDIR%%/fastcgi-prog-guide
+%%PORTDOCS%%@dirrmtry %%DOCSDIR%%/fastcgi-whitepaper


More information about the svn-ports-head mailing list