blob: dd2d9a326eebbfa16de40ab6c6b77d2ace632b4e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# $NetBSD: Makefile,v 1.22 2013/04/06 21:07:36 rodent Exp $
DISTNAME= mini_httpd-1.19
PKGREVISION= 7
CATEGORIES= www
MASTER_SITES= http://www.acme.com/software/mini_httpd/
MAINTAINER= reed@reedmedia.net
HOMEPAGE= http://www.acme.com/software/mini_httpd/
COMMENT= Small, forking webserver with IPv6 and SSL support
DIST_SUBDIR= ${PKGNAME_NOREV}
USE_FEATURES= snprintf
MAKE_ENV+= PKG_CFLAGS=${CFLAGS:Q}
MAKE_ENV+= PKG_LDFLAGS=${LDFLAGS:Q}
MAKE_ENV+= PKG_LIBS=${LIBS:Q}
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"
MAKE_ENV+= SYSV_LIBS="-lnsl -lsocket"
.endif
SUBST_CLASSES= htpasswd
SUBST_MESSAGE.htpasswd= Fix name of (m)htpasswd in manual pages.
SUBST_STAGE.htpasswd= pre-build
SUBST_FILES.htpasswd= htpasswd.1 mini_httpd.8
SUBST_SED.htpasswd= -e 's/\([^.]\)htpasswd/\1mhtpasswd/g'
SUBST_SED.htpasswd+= -e 's/^htpasswd/m&/'
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|