pkgsrc/www/bozohttpd/Makefile
mrg 098f597ca3 update to bozohttpd 20030313.
changes since bozohttpd 20021106:
        o  deprecate -r flag; make this the default and silently ignore -r now
        o  add support for file extentions to call CGI programs (from lukem)
        o  add dynamic support to add new content map entries, allowing both
           new file types and non /cgi-bin CGI programs to be run with the
           new -C "suffix cgihandler" and -M "suffix type encoding encoding11"
           options
        o  in -b mode, set the http date after accept() returns, not before we
           call accept().
        o  in -b mode, bind all addresses found not just the first one
        o  unsupport old hostname API
        o  in -b mode, set the SO_REUSEADDR socket option (lukem)
        o  allow -x (index.html) mode to work with CGI handlers
2003-03-13 12:06:20 +00:00

32 lines
714 B
Makefile

# $NetBSD: Makefile,v 1.30 2003/03/13 12:06:20 mrg Exp $
#
DISTNAME= bozohttpd-20030313
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
USE_BUILDLINK2= YES
MAKE_ENV+= BINDIR=${PREFIX}/libexec MANDIR=${PREFIX}/man
.include "../../mk/bsd.prefs.mk"
.if defined(USE_INET6) && ${USE_INET6} == "YES"
CPPFLAGS+= -DINET6
.endif
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"