pkgsrc/www/bozohttpd/Makefile
mrg 02ec5ad70a update to bozohttpd 20040808. changes since previous version (many
already in pkgsrc) include:
	o  CGI status is now properly handled (-a flag has been removed)
	o  CGI file upload support works
	o  %xy translations are no longer ever applied after the first '?',
	   ala RFC2396.  from lukem
	o  daemon mode (-b) should no longer hang spinning forever if it
	   sees no children.  from lukem
	o  new .bzabsredirect file support. from <martin@netbsd.org>
	o  return a 404 error if we see %00 or %2f (/)
	o  don't print 2 "200" headers for CGI
	o  support .torrent files
2004-08-20 03:06:38 +00:00

38 lines
874 B
Makefile

# $NetBSD: Makefile,v 1.45 2004/08/20 03:06:38 mrg Exp $
#
DISTNAME= bozohttpd-20040808
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
USE_BUILDLINK3= YES
.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"