9cc0c5e45d
pkglint -Wall -F --only aligned --only indent -r Manually excluded consolekit and dc-tools since pkglint didn't get the formatting correct.
36 lines
1.3 KiB
Makefile
36 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.8 2019/11/04 21:28:45 rillig Exp $
|
|
|
|
DISTNAME= fscd-1.1
|
|
PKGREVISION= 1
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= http://komkon2.de/
|
|
|
|
MAINTAINER= jdf@NetBSD.org
|
|
HOMEPAGE= https://vcs.in-berlin.de/schrank21_fscd/index
|
|
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
|
|
|
|
.include "../../mk/compiler.mk"
|
|
.if !empty(PKGSRC_COMPILER:Mclang)
|
|
BUILDLINK_TRANSFORM+= rm:-Wno-traditional
|
|
.elif !empty(PKGSRC_COMPILER:Mgcc)
|
|
CFLAGS+= -Wno-error=unused-but-set-variable
|
|
.endif
|
|
|
|
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"
|