2013-10-26 16:42:57 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.38 2013/10/26 20:42:57 benoit Exp $
|
2013-05-14 17:35:09 -04:00
|
|
|
|
2013-10-26 16:42:57 -04:00
|
|
|
SHARED_LIBS= polarssl 1.0
|
2006-12-31 05:32:42 -05:00
|
|
|
|
2007-06-18 03:51:50 -04:00
|
|
|
COMMENT= secure webserver
|
2013-10-26 16:42:57 -04:00
|
|
|
DISTNAME = hiawatha-9.2
|
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
|
|
|
|
2013-04-26 05:15:24 -04:00
|
|
|
# GPLv2 only
|
2006-12-31 05:32:42 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
|
2008-10-30 07:43:30 -04:00
|
|
|
MASTER_SITES= ${HOMEPAGE}files/
|
2006-12-31 05:32:42 -05:00
|
|
|
|
2012-12-12 04:39:52 -05:00
|
|
|
MODULES= devel/cmake
|
2008-04-29 04:47:43 -04:00
|
|
|
|
2012-12-12 04:39:52 -05:00
|
|
|
WANTLIB += c pthread xml2 z xslt
|
2006-12-31 05:32:42 -05:00
|
|
|
|
2012-12-12 04:39:52 -05:00
|
|
|
LIB_DEPENDS= textproc/libxslt
|
2006-12-31 05:32:42 -05:00
|
|
|
|
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
|
2011-04-13 13:44:59 -04:00
|
|
|
|
2013-03-11 07:35:43 -04:00
|
|
|
NO_TEST= Yes
|
2006-12-31 05:32:42 -05:00
|
|
|
|
|
|
|
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
|
2006-12-31 05:32:42 -05:00
|
|
|
|
|
|
|
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/
|
2006-12-31 05:32:42 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|