File:  [cvs.NetBSD.org] / pkgsrc / net / rbldnsd / Makefile
Revision 1.5: download - view: text, annotated - select for diffs
Tue Oct 23 17:19:05 2012 UTC (12 years, 1 month ago) by asau
Branches: MAIN
CVS tags: pkgsrc-2013Q2-base, pkgsrc-2013Q2, pkgsrc-2013Q1-base, pkgsrc-2013Q1, pkgsrc-2012Q4-base, pkgsrc-2012Q4, HEAD
Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.

# $NetBSD: Makefile,v 1.5 2012/10/23 17:19:05 asau Exp $
#

DISTNAME=	rbldnsd_0.996b
PKGNAME=	${DISTNAME:S/_/-/}
CATEGORIES=	net
MASTER_SITES=	http://www.corpit.ru/mjt/rbldnsd/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.corpit.ru/mjt/rbldnsd/
COMMENT=	Efficient DNS daemon to serve DNSBL zones

WRKSRC=		${WRKDIR}/rbldnsd-0.996b
HAS_CONFIGURE=	yes

.include "../../mk/bsd.prefs.mk"

BUILD_DEFS+=	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}

PKG_GROUPS_VARS=	RBLDNSD_GROUP
PKG_USERS_VARS=		RBLDNSD_USER

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 ${DESTDIR}${PREFIX}/sbin/
	${INSTALL_MAN} ${WRKSRC}/rbldnsd.8 \
	    ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/
	set -e; for doc in ${RBLDNSD_DOCS}; do \
	    ${INSTALL_DATA} ${WRKSRC}/"$$doc" \
	    ${DESTDIR}/${PREFIX}/share/doc/rbldnsd/; \
	    done

.include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>