aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjlaffaye <jlaffaye@FreeBSD.org>2014-07-07 01:23:29 +0800
committerjlaffaye <jlaffaye@FreeBSD.org>2014-07-07 01:23:29 +0800
commitf8d8ed6c0c8fa2babd6c9b1ad447b936f8e29c77 (patch)
treeb1a1ee652971a92bafb6b3cf91c1e5711e9b0f97
parent8d2b0fdccd72e8ffde59acc4d15d23c5aca18d4a (diff)
downloadfreebsd-ports-gnome-f8d8ed6c0c8fa2babd6c9b1ad447b936f8e29c77.tar.gz
freebsd-ports-gnome-f8d8ed6c0c8fa2babd6c9b1ad447b936f8e29c77.tar.zst
freebsd-ports-gnome-f8d8ed6c0c8fa2babd6c9b1ad447b936f8e29c77.zip
- Stage support
- Pass maintainership to submitter PR: 191664 Submitted by: freebsd@skysmurf.nl
-rw-r--r--www/fcgi/Makefile40
-rw-r--r--www/fcgi/pkg-descr2
-rw-r--r--www/fcgi/pkg-plist38
3 files changed, 29 insertions, 51 deletions
diff --git a/www/fcgi/Makefile b/www/fcgi/Makefile
index 955c991dd4ba..43df19e8104f 100644
--- a/www/fcgi/Makefile
+++ b/www/fcgi/Makefile
@@ -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@FreeBSD.org
+MAINTAINER= freebsd@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>
diff --git a/www/fcgi/pkg-descr b/www/fcgi/pkg-descr
index 87ffd4ddb01e..dc27abf9c8cf 100644
--- a/www/fcgi/pkg-descr
+++ b/www/fcgi/pkg-descr
@@ -15,4 +15,4 @@ FastCGI, then FastCGI applications get all the perks (mainly being *really*
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/
diff --git a/www/fcgi/pkg-plist b/www/fcgi/pkg-plist
index 64f9b25c8086..86cddabbd05f 100644
--- a/www/fcgi/pkg-plist
+++ b/www/fcgi/pkg-plist
@@ -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