openbsd-ports/www/hiawatha/Makefile

42 lines
933 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.38 2013/10/26 20:42:57 benoit Exp $
SHARED_LIBS= polarssl 1.0
COMMENT= secure webserver
DISTNAME = hiawatha-9.2
CATEGORIES= www net
HOMEPAGE= http://www.hiawatha-webserver.org/
2013-04-26 05:15:24 -04:00
# GPLv2 only
PERMIT_PACKAGE_CDROM= Yes
MASTER_SITES= ${HOMEPAGE}files/
2012-12-12 04:39:52 -05:00
MODULES= devel/cmake
2012-12-12 04:39:52 -05:00
WANTLIB += c pthread xml2 z xslt
2012-12-12 04:39:52 -05:00
LIB_DEPENDS= textproc/libxslt
2012-12-12 04:39:52 -05:00
CONFIGURE_ARGS= -DWEBROOT_DIR="/var/hiawatha" \
2013-04-26 05:15:24 -04:00
-DWORK_DIR="/var/db/hiawatha" \
-DCONFIG_DIR="${SYSCONFDIR}/hiawatha" \
-DLOG_DIR="/var/log/hiawatha" \
-DCMAKE_INSTALL_MANDIR="${PREFIX}/man" \
2012-12-12 04:39:52 -05:00
-DENABLE_XSLT=ON
2013-03-11 07:35:43 -04:00
NO_TEST= Yes
pre-configure:
2012-12-12 04:39:52 -05:00
${SUBST_CMD} ${WRKSRC}/config/hiawatha.conf.in \
${WRKSRC}/config/cgi-wrapper.conf \
${WRKSRC}/man/hiawatha.1.in
post-install:
2012-12-12 04:39:52 -05:00
mv ${DESTDIR}/etc/hiawatha/ ${PREFIX}/share/examples/hiawatha/
mv ${DESTDIR}/var/hiawatha/index.html ${PREFIX}/share/examples/hiawatha/
rm -r ${PREFIX}/var/
.include <bsd.port.mk>