# $NetBSD: Makefile,v 1.12 2012/10/23 19:51:23 asau Exp $
#

DISTNAME=		service-config-0.51
CATEGORIES=		sysutils
MASTER_SITES=		http://www.superscript.com/service-config/

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		http://www.superscript.com/service-config/intro.html
COMMENT=		Utility to create and configure svscan service directories

DEPENDS+=		daemontools-[0-9]*:../../sysutils/daemontools

# Possibly inherited DJB-style distribution terms
DJB_RESTRICTED=		YES

INSTALLATION_DIRS=	bin

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/rules-config ${DESTDIR}${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/service-config ${DESTDIR}${PREFIX}/bin
	cd ${WRKSRC} && ${INSTALL_SCRIPT} ipc-config ipcx-config \
	    svscan-config tcp-config tcpx-config ${DESTDIR}${PREFIX}/bin

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