# $OpenBSD: Makefile,v 1.35 2013/04/14 20:21:15 sthen Exp $ COMMENT= secure webserver DISTNAME= hiawatha-9.0 CATEGORIES= www net HOMEPAGE= http://www.hiawatha-webserver.org/ # GPLv2 PERMIT_PACKAGE_CDROM= Yes MASTER_SITES= ${HOMEPAGE}files/ MODULES= devel/cmake WANTLIB += c pthread xml2 z xslt LIB_DEPENDS= textproc/libxslt CONFIGURE_ARGS= -DWEBROOT_DIR="/var/hiawatha" \ -DWORK_DIR="/var/db/hiawatha/" \ -DCONFIG_DIR="${SYSCONFDIR}/hiawatha/" \ -DLOG_DIR="/var/log/hiawatha/" \ -DCMAKE_INSTALL_MANDIR="${PREFIX}/man/" \ -DENABLE_XSLT=ON NO_TEST= Yes pre-configure: ${SUBST_CMD} ${WRKSRC}/config/hiawatha.conf.in \ ${WRKSRC}/config/cgi-wrapper.conf \ ${WRKSRC}/man/hiawatha.1.in post-install: mv ${DESTDIR}/etc/hiawatha/ ${PREFIX}/share/examples/hiawatha/ mv ${DESTDIR}/var/hiawatha/index.html ${PREFIX}/share/examples/hiawatha/ rm -r ${PREFIX}/var/ .include