32 lines
717 B
Makefile
32 lines
717 B
Makefile
# $NetBSD: Makefile,v 1.33 2003/07/22 04:14:20 martti Exp $
|
|
#
|
|
|
|
DISTNAME= bozohttpd-20030626
|
|
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"
|