openbsd-ports/www/mod_text2html/Makefile
espie f1e7eab840 those packages have not changed names since 3.6, even though their
packing-lists was changes in significant ways, and they do not have
enough dependencies that pkg_add can detect they changed through their
signature.

Bump the pkgname, so that pkg_add -r will choose to update them.

okay pvalchev@
2005-08-17 16:10:02 +00:00

39 lines
1023 B
Makefile

# $OpenBSD: Makefile,v 1.4 2005/08/17 16:10:05 espie Exp $
COMMENT= "Apache module designed to replace text/plain handler"
# This port currently only works with archs supporting dynamic loading
# and has Apache that supports DSO's.
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
DISTNAME= mod_text2html-1.0
PKGNAME= ${DISTNAME}p0
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/
# Apache Software License
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
NO_REGRESS= Yes
APXS= /usr/sbin/apxs
do-build:
cd ${WRKBUILD} && \
${APXS} -c -o mod_text2html.so mod_text2html.c
@sed 's,!!PREFIX!!,${PREFIX},' \
< ${FILESDIR}/mod_text2html-enable \
> ${WRKBUILD}/mod_text2html-enable
do-install:
${INSTALL_DATA} ${WRKBUILD}/mod_text2html.so ${PREFIX}/lib
${INSTALL_SCRIPT} ${WRKBUILD}/mod_text2html-enable ${PREFIX}/sbin
.include <bsd.port.mk>