fd330a246d
o fix some off-by-one errors from <roland.illig@gmx.de> o properly support nph- CGI o make content maps case insensitive o fix proto header merging to include the missing comma o major source reorganisation; most features are in separate files now o new -V flag that makes unknown virtualhosts use slashdir from <rumble@ephemeral.org> o HTTP/1.x protocol headers are now properly merged for CGI
37 lines
854 B
Makefile
37 lines
854 B
Makefile
# $NetBSD: Makefile,v 1.49 2005/04/25 14:29:07 mrg Exp $
|
|
#
|
|
|
|
DISTNAME= bozohttpd-20050410
|
|
CATEGORIES= www
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= mrg@eterna.com.au
|
|
HOMEPAGE= http://www.eterna.com.au/bozohttpd/
|
|
COMMENT= Bozotic HTTP server; small and secure
|
|
|
|
BUILD_DEFS+= USE_INET6
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if defined(USE_INET6) && ${USE_INET6} == "YES"
|
|
CPPFLAGS+= -DINET6
|
|
.endif
|
|
CPPFLAGS+= -Wno-error
|
|
MAKE_ENV+= BINDIR=${PREFIX}/libexec MANDIR=${PREFIX}/man
|
|
|
|
INSTALLATION_DIRS= libexec man/cat8 man/man8
|
|
|
|
.include "../../security/openssl/buildlink3.mk"
|
|
|
|
pre-build:
|
|
cd ${WRKSRC}; for file in bozohttpd.8; do \
|
|
${SED} -e "s|/usr/pkg/|${PREFIX}/|g" \
|
|
$${file} >> $${file}.fixed; \
|
|
${MV} -f $${file}.fixed $${file}; \
|
|
done
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|