pkgsrc/www/lhs/Makefile
jlam 07dd3147c6 Convert packages that test and use USE_INET6 to use the options framework
and to support the "inet6" option instead.

Remaining usage of USE_INET6 was solely for the benefit of the scripts
that generate the README.html files.  Replace:

	BUILD_DEFS+=	USE_INET6
with
	BUILD_DEFS+=	IPV6_READY

and teach the README-generation tools to look for that instead.

This nukes USE_INET6 from pkgsrc proper.  We leave a tiny bit of code
to continue to support USE_INET6 for pkgsrc-wip until it has been nuked
from there as well.
2007-09-07 22:12:10 +00:00

27 lines
617 B
Makefile

# $NetBSD: Makefile,v 1.11 2007/09/07 22:12:26 jlam Exp $
#
DISTNAME= lhs-0.1
PKGREVISION= 3
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+= IPV6_READY
MAKE_ENV+= OPENSSL_ROOT=${BUILDLINK_PREFIX.openssl}
MAKE_ENV+= DEFAULT_ROOT_DIR=${PREFIX}/share/httpd/htdocs
INSTALLATION_DIRS= sbin
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/lhs ${PREFIX}/sbin/lhs
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"