openbsd-ports/www/mod_text2html/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

34 lines
652 B
Makefile

# $OpenBSD: Makefile,v 1.12 2011/09/17 10:29:44 sthen Exp $
COMMENT= Apache module designed to replace text/plain handler
REVISION= 7
DISTNAME= mod_text2html-1.0
CATEGORIES= www
HOMEPAGE= http://tangent.org/
MASTER_SITES= http://download.tangent.org/
MODULES+= apache-module
# Apache Software License
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MODAPACHE_NAME= text2html
NO_REGRESS= Yes
APXS= /usr/sbin/apxs
do-build:
cd ${WRKBUILD} && \
${APXS} -c -o mod_text2html.so mod_text2html.c
@${MODAPACHE_CREATE_ENABLE_SCRIPT}
do-install:
${MODAPACHE_INSTALL}
.include <bsd.port.mk>