c4e71c5e7a
adapt by moving CPPFLAGS settings to top-level, and removing explicit inclusion of CPPFLAGS into MAKE_ENV and CONFIGURE_ENV.
28 lines
624 B
Makefile
28 lines
624 B
Makefile
# $NetBSD: Makefile,v 1.10 2001/06/11 06:34:54 jlam Exp $
|
|
#
|
|
|
|
DISTNAME= bozohttpd-5.07
|
|
CATEGORIES= www
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= packages@netbsd.org
|
|
HOMEPAGE= http://www.eterna.com.au/bozohttpd/
|
|
COMMENT= bozotic HTTP server; small and secure
|
|
|
|
BUILD_DEFS+= USE_INET6
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if defined(USE_INET6) && (${USE_INET6} == "YES")
|
|
CPPFLAGS+= -DINET6
|
|
.endif
|
|
|
|
pre-patch:
|
|
${MV} ${WRKSRC}/bozohttpd.8 ${WRKSRC}/bozohttpd.8.in
|
|
|
|
post-patch:
|
|
${SED} -e "s,@PREFIX@,${PREFIX},g" <${WRKSRC}/bozohttpd.8.in \
|
|
>${WRKSRC}/bozohttpd.8
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|