2007-11-11 08:56:33 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.11 2007/11/11 13:56:33 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
|
|
|
|
2007-11-11 08:56:33 -05:00
|
|
|
DISTNAME= hiawatha-6.1
|
2006-12-31 05:32:42 -05:00
|
|
|
CATEGORIES= www net
|
|
|
|
|
|
|
|
HOMEPAGE= http://hiawatha.leisink.org
|
|
|
|
|
|
|
|
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
|
|
|
|
|
2007-08-27 06:24:37 -04:00
|
|
|
# GPL
|
2006-12-31 05:32:42 -05:00
|
|
|
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
|
|
|
|
|
|
|
|
WEBROOTDIR= /var/hiawatha
|
|
|
|
|
|
|
|
CONFIGURE_STYLE=gnu
|
|
|
|
CONFIGURE_ENV= webrootdir=${WEBROOTDIR}
|
|
|
|
CONFIGURE_ARGS= --localstatedir=/var
|
|
|
|
|
|
|
|
pre-configure:
|
2007-08-27 06:24:37 -04:00
|
|
|
@perl -pi -e 's,!!LOCALBASE!!,${LOCALBASE},g;' \
|
2006-12-31 05:32:42 -05:00
|
|
|
-e 's,!!SYSCONFDIR!!,${SYSCONFDIR},g' \
|
|
|
|
${WRKSRC}/etc/hiawatha/httpd.conf.in \
|
2007-03-26 02:57:56 -04:00
|
|
|
${WRKSRC}/etc/hiawatha/cgi-wrapper.conf \
|
|
|
|
${WRKSRC}/doc/cgi-wrapper.1 \
|
2006-12-31 05:32:42 -05:00
|
|
|
${WRKSRC}/doc/hiawatha.1
|
|
|
|
|
|
|
|
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>
|