| @@ -1,31 +1,33 @@ | | | @@ -1,31 +1,33 @@ |
1 | # $NetBSD: Makefile,v 1.11 2010/08/30 18:16:45 pettai Exp $ | | 1 | # $NetBSD: Makefile,v 1.12 2010/11/29 12:41:51 ghen Exp $ |
2 | | | 2 | |
3 | DISTNAME= unbound-1.4.6 | | 3 | DISTNAME= unbound-1.4.6 |
| | | 4 | PKGREVISION= 1 |
4 | CATEGORIES= net | | 5 | CATEGORIES= net |
5 | MASTER_SITES= http://www.unbound.net/downloads/ | | 6 | MASTER_SITES= http://www.unbound.net/downloads/ |
6 | | | 7 | |
7 | MAINTAINER= joerg@NetBSD.org | | 8 | MAINTAINER= joerg@NetBSD.org |
8 | HOMEPAGE= http://www.unbound.net/ | | 9 | HOMEPAGE= http://www.unbound.net/ |
9 | COMMENT= DNS resolver and recursive server | | 10 | COMMENT= DNS resolver and recursive server |
10 | | | 11 | |
11 | PKG_DESTDIR_SUPPORT= user-destdir | | 12 | PKG_DESTDIR_SUPPORT= user-destdir |
12 | | | 13 | |
13 | GNU_CONFIGURE= yes | | 14 | GNU_CONFIGURE= yes |
14 | USE_LIBTOOL= yes | | 15 | USE_LIBTOOL= yes |
15 | USE_TOOLS+= gmake | | 16 | USE_TOOLS+= gmake |
16 | | | 17 | |
17 | CONFIGURE_ARGS+= --with-ldns=${BUILDLINK_PREFIX.ldns} | | 18 | CONFIGURE_ARGS+= --with-ldns=${BUILDLINK_PREFIX.ldns} |
18 | CONFIGURE_ARGS+= --with-pidfile=${VARBASE}/run/unbound.pid | | 19 | CONFIGURE_ARGS+= --with-pidfile=${VARBASE}/run/unbound.pid |
| | | 20 | CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASE} |
19 | | | 21 | |
20 | SUBST_CLASSES+= paths | | 22 | SUBST_CLASSES+= paths |
21 | SUBST_STAGE.paths= post-configure | | 23 | SUBST_STAGE.paths= post-configure |
22 | SUBST_MESSAGE.paths= Fixing path names | | 24 | SUBST_MESSAGE.paths= Fixing path names |
23 | SUBST_FILES.paths= doc/example.conf doc/*.5 doc/*.8 | | 25 | SUBST_FILES.paths= doc/example.conf doc/*.5 doc/*.8 |
24 | SUBST_SED.paths= -e "s|/usr/local|${PREFIX}|" | | 26 | SUBST_SED.paths= -e "s|/usr/local|${PREFIX}|" |
25 | | | 27 | |
26 | INSTALL_MAKE_FLAGS+= \ | | 28 | INSTALL_MAKE_FLAGS+= \ |
27 | configfile=${PREFIX}/share/examples/unbound/unbound.conf | | 29 | configfile=${PREFIX}/share/examples/unbound/unbound.conf |
28 | | | 30 | |
29 | PKG_SYSCONFSUBDIR= unbound | | 31 | PKG_SYSCONFSUBDIR= unbound |
30 | | | 32 | |
31 | CONF_FILES+= share/examples/unbound/unbound.conf \ | | 33 | CONF_FILES+= share/examples/unbound/unbound.conf \ |