2008-06-01 16:39:26 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.10 2008/06/01 20:39:26 simon Exp $
|
2004-02-11 15:13:35 -05:00
|
|
|
|
2007-09-15 16:38:20 -04:00
|
|
|
COMMENT= FastCGI Development Kit
|
2004-02-11 15:13:35 -05:00
|
|
|
|
|
|
|
DISTNAME= fcgi-2.4.0
|
2008-06-01 16:39:26 -04:00
|
|
|
PKGNAME= ${DISTNAME}p3
|
2004-02-11 15:13:35 -05:00
|
|
|
CATEGORIES= www
|
2006-11-06 05:44:35 -05:00
|
|
|
SHARED_LIBS += fcgi 0.0 # .0.0
|
|
|
|
SHARED_LIBS += fcgi++ 1.0 # .1.0
|
2004-02-11 15:13:35 -05:00
|
|
|
|
|
|
|
HOMEPAGE= http://www.fastcgi.com/
|
|
|
|
|
2005-01-10 13:12:03 -05:00
|
|
|
MAINTAINER= Adam Montague <amontague@siriushosting.com>
|
2004-02-11 15:13:35 -05:00
|
|
|
|
|
|
|
# BSD-like
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2006-11-06 05:44:35 -05:00
|
|
|
WANTLIB= c
|
2004-02-11 15:13:35 -05:00
|
|
|
|
|
|
|
MASTER_SITES= ${HOMEPAGE}/dist/
|
|
|
|
|
2005-12-30 17:26:50 -05:00
|
|
|
USE_LIBTOOL= Yes
|
|
|
|
|
2004-02-11 15:13:35 -05:00
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
|
2004-02-14 17:57:41 -05:00
|
|
|
CAT3_FILES= FCGI_Accept FCGI_Finish FCGI_SetExitStatus \
|
|
|
|
FCGI_StartFilterData
|
|
|
|
|
2006-11-06 05:44:35 -05:00
|
|
|
post-configure:
|
|
|
|
@cd ${WRKSRC}/perl && perl Makefile.PL
|
|
|
|
|
|
|
|
post-build:
|
|
|
|
@cd ${WRKSRC}/perl && ${MAKE}
|
|
|
|
|
2004-02-11 15:13:35 -05:00
|
|
|
post-install:
|
2004-02-14 17:57:41 -05:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/cgi-fcgi.1 ${PREFIX}/man/cat1/cgi-fcgi.0
|
|
|
|
.for file in ${CAT3_FILES}
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/${file}.3 ${PREFIX}/man/cat3/${file}.0
|
|
|
|
.endfor
|
2004-02-11 15:13:35 -05:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/fcgi
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/*.htm* ${WRKSRC}/doc/*.gif \
|
|
|
|
${PREFIX}/share/doc/fcgi
|
2006-11-06 05:44:35 -05:00
|
|
|
@cd ${WRKSRC}/perl && ${MAKE} install
|
2004-02-11 15:13:35 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|