2008-01-30 14:20:33 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.8 2008/01/30 19:21:50 okan Exp $
|
2003-05-29 18:45:38 -04:00
|
|
|
|
2007-09-15 16:38:20 -04:00
|
|
|
COMMENT= Apache module designed to replace text/plain handler
|
2003-05-29 18:45:38 -04:00
|
|
|
|
|
|
|
DISTNAME= mod_text2html-1.0
|
2008-01-30 14:20:33 -05:00
|
|
|
PKGNAME= ${DISTNAME}p3
|
2003-05-29 18:45:38 -04:00
|
|
|
CATEGORIES= www
|
|
|
|
|
2008-01-30 14:20:33 -05:00
|
|
|
HOMEPAGE= http://tangent.org/
|
|
|
|
MASTER_SITES= http://download.tangent.org/
|
2007-06-26 15:19:45 -04:00
|
|
|
MODULES+= apache-module
|
2003-05-29 18:45:38 -04:00
|
|
|
|
|
|
|
# Apache Software License
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2007-06-26 15:19:45 -04:00
|
|
|
MODAPACHE_NAME= text2html
|
|
|
|
|
2003-05-29 18:45:38 -04:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
|
|
|
APXS= /usr/sbin/apxs
|
|
|
|
|
|
|
|
do-build:
|
|
|
|
cd ${WRKBUILD} && \
|
|
|
|
${APXS} -c -o mod_text2html.so mod_text2html.c
|
2007-06-26 15:19:45 -04:00
|
|
|
@${MODAPACHE_CREATE_ENABLE_SCRIPT}
|
2003-05-29 18:45:38 -04:00
|
|
|
|
|
|
|
do-install:
|
2007-06-26 15:19:45 -04:00
|
|
|
${MODAPACHE_INSTALL}
|
2003-05-29 18:45:38 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|