pkgsrc/www/bozohttpd/Makefile

40 lines
891 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.44 2004/06/21 01:45:22 lukem Exp $
#
DISTNAME= bozohttpd-20040218
PKGREVISION= 6
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
2004-01-05 13:48:30 +01:00
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_BUILDLINK3= YES
2001-12-03 23:56:42 +01:00
2000-08-23 14:24:41 +02:00
.include "../../mk/bsd.prefs.mk"
.if defined(USE_INET6) && ${USE_INET6} == "YES"
2000-08-23 14:24:41 +02:00
CPPFLAGS+= -DINET6
.endif
CPPFLAGS+= -Wno-error
MAKE_ENV+= BINDIR=${PREFIX}/libexec MANDIR=${PREFIX}/man
2004-01-05 13:48:30 +01:00
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"