2007-09-15 16:38:20 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.7 2007/09/15 20:38:22 merdely 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
|
2007-06-30 11:32:30 -04:00
|
|
|
PKGNAME= ${DISTNAME}p2
|
2003-05-29 18:45:38 -04:00
|
|
|
CATEGORIES= www
|
|
|
|
|
|
|
|
HOMEPAGE= http://software.tangent.org/projects.pl?view=mod_text2html
|
|
|
|
MASTER_SITES= http://software.tangent.org/download/ \
|
|
|
|
ftp://ftp.tangent.org/pub/apache/
|
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>
|