openbsd-ports/www/hiawatha/Makefile
ajacoutot 7affab1d2b - bugfix update to hiawatha-6.7
- use SUBST_CMD
2008-05-29 07:53:03 +00:00

47 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.17 2008/05/29 07:53:03 ajacoutot Exp $
COMMENT= secure webserver
DISTNAME= hiawatha-6.7
CATEGORIES= www net
HOMEPAGE= http://hiawatha.leisink.org
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${HOMEPAGE}/files/
WANTLIB= c crypto pthread ssl xml2
LIB_DEPENDS= xslt.>=3::textproc/libxslt
WEBROOTDIR= /var/hiawatha
CONFIGURE_STYLE=gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include \
-I${LOCALBASE}/include/libxml2" \
LDFLAGS="-L${LOCALBASE}/lib" \
webrootdir=${WEBROOTDIR}
CONFIGURE_ARGS= --localstatedir=/var \
--enable-xslt
pre-configure:
${SUBST_CMD} ${WRKSRC}/etc/hiawatha/httpd.conf.in \
${WRKSRC}/etc/hiawatha/cgi-wrapper.conf \
${WRKSRC}/doc/hiawatha.1.in
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/hiawatha/
${INSTALL_DATA} ${WRKSRC}/etc/hiawatha/*.conf \
${PREFIX}/share/examples/hiawatha
${INSTALL_DATA} ${WRKSRC}/doc/index.html \
${PREFIX}/share/examples/hiawatha
.include <bsd.port.mk>