summaryrefslogtreecommitdiff
path: root/www/bozohttpd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/bozohttpd/Makefile')
-rw-r--r--www/bozohttpd/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/www/bozohttpd/Makefile b/www/bozohttpd/Makefile
index db730d83233..70e9bc2b8b6 100644
--- a/www/bozohttpd/Makefile
+++ b/www/bozohttpd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.49 2005/04/25 14:29:07 mrg Exp $
+# $NetBSD: Makefile,v 1.50 2005/12/07 17:01:22 bad Exp $
#
DISTNAME= bozohttpd-20050410
@@ -14,6 +14,8 @@ BUILD_DEFS+= USE_INET6
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_OPTIONS_VAR= PKG_OPTIONS.bozohttpd
+PKG_SUPPORTED_OPTIONS= do_htpasswd
.include "../../mk/bsd.prefs.mk"
@@ -23,6 +25,12 @@ CPPFLAGS+= -DINET6
CPPFLAGS+= -Wno-error
MAKE_ENV+= BINDIR=${PREFIX}/libexec MANDIR=${PREFIX}/man
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mdo_htpasswd)
+CPPFLAGS+= -DDO_HTPASSWD
+.endif
+
INSTALLATION_DIRS= libexec man/cat8 man/man8
.include "../../security/openssl/buildlink3.mk"