Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / net / rbldnsd / Makefile
blob68559b93dc2ff83450001806ec5970bb60be9040
1 # $NetBSD: Makefile,v 1.4 2009/02/24 00:58:10 cube Exp $
4 DISTNAME= rbldnsd_0.996b
5 PKGNAME= ${DISTNAME:S/_/-/}
6 CATEGORIES= net
7 MASTER_SITES= http://www.corpit.ru/mjt/rbldnsd/
9 MAINTAINER= pkgsrc-users@NetBSD.org
10 HOMEPAGE= http://www.corpit.ru/mjt/rbldnsd/
11 COMMENT= Efficient DNS daemon to serve DNSBL zones
13 WRKSRC= ${WRKDIR}/rbldnsd-0.996b
14 HAS_CONFIGURE= yes
16 .include "../../mk/bsd.prefs.mk"
18 BUILD_DEFS+= RBLDNSD_DIR VARBASE
20 RBLDNSD_USER?= rbldns
21 RBLDNSD_GROUP?= rbldns
22 RBLDNSD_DIR?= ${VARBASE}/chroot/rbldnsd
24 PKG_GROUPS= ${RBLDNSD_GROUP}
25 PKG_USERS= ${RBLDNSD_USER}:${RBLDNSD_GROUP}
26 PKG_HOME.${RBLDNSD_USER}= ${RBLDNSD_DIR}
28 PKG_GROUPS_VARS= RBLDNSD_GROUP
29 PKG_USERS_VARS= RBLDNSD_USER
31 FILES_SUBST+= RBLDNSD_USER=${RBLDNSD_USER} RBLDNSD_GROUP=${RBLDNSD_GROUP}
32 RCD_SCRIPTS= rbldnsd
34 .include "options.mk"
36 RBLDNSD_DOCS= NEWS README.user
38 INSTALLATION_DIRS= ${PKGMANDIR}/man8 sbin share/doc/rbldnsd
40 do-install:
41 ${INSTALL_PROGRAM} ${WRKSRC}/rbldnsd ${DESTDIR}${PREFIX}/sbin/
42 ${INSTALL_MAN} ${WRKSRC}/rbldnsd.8 \
43 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/
44 set -e; for doc in ${RBLDNSD_DOCS}; do \
45 ${INSTALL_DATA} ${WRKSRC}/"$$doc" \
46 ${DESTDIR}/${PREFIX}/share/doc/rbldnsd/; \
47 done
49 .include "../../mk/bsd.pkg.mk"