blob: 363b1a7c045c39e14792899d5e971604e7068167 (
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
35
36
37
38
39
40
41
42
43
44
|
# $NetBSD: Makefile,v 1.2 2007/03/24 19:21:30 joerg Exp $
#
DISTNAME= rbldnsd_0.996a
PKGNAME= ${DISTNAME:S/_/-/}
CATEGORIES= net
MASTER_SITES= http://www.corpit.ru/mjt/rbldnsd/
MAINTAINER= cube@NetBSD.org
HOMEPAGE= http://www.corpit.ru/mjt/rbldnsd/
COMMENT= Efficient DNS daemon to serve DNSBL zones
WRKSRC= ${WRKDIR}/rbldnsd-0.996a
HAS_CONFIGURE= yes
.include "../../mk/bsd.prefs.mk"
BUILD_DEFS+= RBLDNSD_USER RBLDNSD_GROUP RBLDNSD_DIR VARBASE
RBLDNSD_USER?= rbldns
RBLDNSD_GROUP?= rbldns
RBLDNSD_DIR?= ${VARBASE}/chroot/rbldnsd
PKG_GROUPS= ${RBLDNSD_GROUP}
PKG_USERS= ${RBLDNSD_USER}:${RBLDNSD_GROUP}
PKG_HOME.${RBLDNSD_USER}= ${RBLDNSD_DIR}
FILES_SUBST+= RBLDNSD_USER=${RBLDNSD_USER} RBLDNSD_GROUP=${RBLDNSD_GROUP}
RCD_SCRIPTS= rbldnsd
.include "options.mk"
RBLDNSD_DOCS= NEWS README.user
INSTALLATION_DIRS= ${PKGMANDIR}/man8 sbin share/doc/rbldnsd
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/rbldnsd ${PREFIX}/sbin/
${INSTALL_MAN} ${WRKSRC}/rbldnsd.8 ${PREFIX}/${PKGMANDIR}/man8/
set -e; for doc in ${RBLDNSD_DOCS}; do \
${INSTALL_DATA} ${WRKSRC}/"$$doc" ${PREFIX}/share/doc/rbldnsd/; \
done
.include "../../mk/bsd.pkg.mk"
|