02d9b5258b
in their source
49 lines
1.1 KiB
Makefile
49 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.18 2011/06/21 20:21:21 naddy Exp $
|
|
|
|
COMMENT= FastCGI Development Kit
|
|
|
|
DISTNAME= fcgi-2.4.0
|
|
REVISION= 7
|
|
CATEGORIES= www
|
|
SHARED_LIBS += fcgi 0.0 # .0.0
|
|
SHARED_LIBS += fcgi++ 1.0 # .1.0
|
|
|
|
HOMEPAGE= http://www.fastcgi.com/
|
|
|
|
MAINTAINER= Adam Montague <amontague@siriushosting.com>
|
|
|
|
# BSD-like
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
WANTLIB= c m stdc++
|
|
|
|
MASTER_SITES= ${HOMEPAGE}/dist/
|
|
|
|
USE_LIBTOOL= Yes
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
CAT3_FILES= FCGI_Accept FCGI_Finish FCGI_SetExitStatus \
|
|
FCGI_StartFilterData
|
|
|
|
post-configure:
|
|
@cd ${WRKSRC}/perl && perl Makefile.PL
|
|
|
|
post-build:
|
|
@cd ${WRKSRC}/perl && ${MAKE}
|
|
|
|
post-install:
|
|
${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
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/fcgi
|
|
${INSTALL_DATA} ${WRKSRC}/doc/*.htm* ${WRKSRC}/doc/*.gif \
|
|
${PREFIX}/share/doc/fcgi
|
|
@cd ${WRKSRC}/perl && ${MAKE} install
|
|
|
|
.include <bsd.port.mk>
|