openbsd-ports/www/mod_fastcgi/Makefile
sthen c55dec9048 Better @exec-update lines; don't produce an error with pkg_add updates
if the module is installed but not activated. From Mikolaj Kucharski with
help from halex@, looks good to halex.
2011-09-17 10:29:43 +00:00

41 lines
944 B
Makefile

# $OpenBSD: Makefile,v 1.13 2011/09/17 10:29:44 sthen Exp $
COMMENT= Apache FastCGI module
REVISION= 3
DISTNAME= mod_fastcgi-SNAP-0811090952
# temporary workaround: as the original distname would prevent a seamless
# update use the last offical version and append the date of the snapshot
PKGNAME= mod_fastcgi-2.4.6.081109
CATEGORIES= www
HOMEPAGE= http://www.fastcgi.com/
MASTER_SITES= ${HOMEPAGE}dist/ \
${HOMEPAGE}dist/old/
MODULES= apache-module
MODAPACHE_NAME= fastcgi
# Proprietary license
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
NO_REGRESS= Yes
do-build:
(cd ${WRKBUILD}; apxs -o mod_fastcgi.so -c *.c)
post-build:
@${MODAPACHE_CREATE_ENABLE_SCRIPT}
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mod_fastcgi
${INSTALL_DATA} ${WRKBUILD}/docs/* ${PREFIX}/share/doc/mod_fastcgi
${MODAPACHE_INSTALL}
.include <bsd.port.mk>