pkgsrc/www/lhs/Makefile
agc 4310f377b4 Initial import of lhs-0.1 into the NetBSD Packages Collection.
Provided in PR 17227 by Dawid Szymanski (dawszy@tgr.lubin.edu.pl),
modified slightly by myself.

lhs is a beta version of very simple http server.  Only static files
are supported - CGI, PHP and SSI are not allowed.  However, there is
support for both IPv6 and SSL.  By default it will listen on ports
8000 and 8001 and read files from ${PREFIX}/share/httpd/htdocs and
will not change uid for other unless you use the -u option.
2002-06-18 12:09:25 +00:00

25 lines
578 B
Makefile

# $NetBSD: Makefile,v 1.1.1.1 2002/06/18 12:09:25 agc Exp $
#
DISTNAME= lhs-0.1
CATEGORIES= www
MASTER_SITES= ftp://dev.null.pl/pub/
MAINTAINER= dawszy@arhea.net
HOMEPAGE= http://dev.null.pl/
COMMENT= Lightweight HTTP Server, IPv6-aware and SSL-enabled
WRKSRC= ${WRKDIR}/lhs
GNU_CONFIGURE= yes
BUILD_DEFS+= USE_INET6
MAKE_ENV+= OPENSSL_ROOT=${BUILDLINK_PREFIX.openssl}
MAKE_ENV+= DEFAULT_ROOT_DIR=${PREFIX}/share/httpd/htdocs
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/lhs ${PREFIX}/sbin/lhs
.include "../../security/openssl/buildlink.mk"
.include "../../mk/bsd.pkg.mk"