2009-09-22 05:29:25 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.23 2009/09/22 09:29:25 ajacoutot Exp $
|
2006-12-31 05:32:42 -05:00
|
|
|
|
2007-06-18 03:51:50 -04:00
|
|
|
COMMENT= secure webserver
|
2006-12-31 05:32:42 -05:00
|
|
|
|
2009-09-22 05:29:25 -04:00
|
|
|
DISTNAME= hiawatha-6.17.1
|
2006-12-31 05:32:42 -05:00
|
|
|
CATEGORIES= www net
|
|
|
|
|
2008-10-30 07:43:30 -04:00
|
|
|
HOMEPAGE= http://www.hiawatha-webserver.org/
|
2006-12-31 05:32:42 -05:00
|
|
|
|
2008-03-15 06:16:30 -04:00
|
|
|
# GPLv2
|
2006-12-31 05:32:42 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2008-10-30 07:43:30 -04:00
|
|
|
MASTER_SITES= ${HOMEPAGE}files/
|
2006-12-31 05:32:42 -05:00
|
|
|
|
2008-04-29 04:47:43 -04:00
|
|
|
WANTLIB= c crypto pthread ssl xml2
|
|
|
|
|
|
|
|
LIB_DEPENDS= xslt.>=3::textproc/libxslt
|
2006-12-31 05:32:42 -05:00
|
|
|
|
|
|
|
WEBROOTDIR= /var/hiawatha
|
|
|
|
|
|
|
|
CONFIGURE_STYLE=gnu
|
2008-04-29 04:47:43 -04:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include \
|
|
|
|
-I${LOCALBASE}/include/libxml2" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib" \
|
|
|
|
webrootdir=${WEBROOTDIR}
|
|
|
|
CONFIGURE_ARGS= --localstatedir=/var \
|
|
|
|
--enable-xslt
|
2006-12-31 05:32:42 -05:00
|
|
|
|
|
|
|
pre-configure:
|
2009-09-22 05:29:25 -04:00
|
|
|
${SUBST_CMD} ${WRKSRC}/etc/hiawatha/hiawatha.conf.in \
|
2007-03-26 02:57:56 -04:00
|
|
|
${WRKSRC}/etc/hiawatha/cgi-wrapper.conf \
|
2008-12-29 12:17:14 -05:00
|
|
|
${WRKSRC}/etc/hiawatha/php-fcgi.conf \
|
2008-04-29 04:47:43 -04:00
|
|
|
${WRKSRC}/doc/hiawatha.1.in
|
2006-12-31 05:32:42 -05:00
|
|
|
|
|
|
|
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>
|