summaryrefslogtreecommitdiff
path: root/sysutils/fscd/Makefile
blob: bfee1e3dbfb2be9e01ccbccbd2ea82fbc3c58564 (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
# $NetBSD: Makefile,v 1.4 2012/11/12 10:37:10 jdf Exp $
#

DISTNAME=	fscd-1.1
CATEGORIES=	sysutils
MASTER_SITES=	http://komkon2.de/

MAINTAINER=	jdf@NetBSD.org
HOMEPAGE=	https://vcs.in-berlin.de/schrank21_fscd
COMMENT=	FreeBSD service check daemon to monitor services
LICENSE=	2-clause-bsd

CPPFLAGS+=	-DSYSCONFDIR=\"${PKG_SYSCONFDIR}/\"
# Only for platforms with kqueue.
ONLY_FOR_PLATFORM=	NetBSD-[2-9].*-* FreeBSD-[4-9].*-* OpenBSD-*-* DragonFly-*-* Darwin-*-*

RCD_SCRIPTS=	fscd
INSTALLATION_DIRS=	bin sbin ${PKGMANDIR}/man5 ${PKGMANDIR}/man8

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/fscadm/fscadm ${DESTDIR}${PREFIX}/sbin
	${INSTALL_DATA} ${WRKSRC}/fscadm/fscadm.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8
	${INSTALL_PROGRAM} ${WRKSRC}/fscd/fscd ${DESTDIR}${PREFIX}/sbin
	${INSTALL_DATA} ${WRKSRC}/fscd/fscd.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8
	${INSTALL_DATA} ${WRKSRC}/fscd/fscd.conf.5 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5
	${INSTALL_SCRIPT} ${WRKSRC}/service/service ${DESTDIR}${PREFIX}/sbin
	${INSTALL_DATA} ${WRKSRC}/service/service.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8

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