pkgsrc-wip/sysklogd/Makefile
Johnny C. Lam 64bfcf7b60 Catch up to modern pkginstall framework: USE_PKGINSTALL has been dead
for a while now, and *_EXTRA_TMPL are generally not needed anymore.
2006-03-14 01:27:57 +00:00

30 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.9 2006/03/14 01:28:16 jlamwww Exp $
DISTNAME= sysklogd-1.4.1
PKGREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SUNSITE:=system/daemons/}
MASTER_SITES+= http://www.infodrom.org/projects/sysklogd/download/
MAINTAINER= reed@reedmedia.net
HOMEPAGE= http://www.infodrom.org/projects/sysklogd/
COMMENT= System and kernel log daemons for Linux
ONLY_FOR_PLATFORM= Linux-*-* # This has Linux klogd
USE_TOOLS+= gmake
CFLAGS+= -D_PATH_LOGCONF='\"${PKG_SYSCONFBASE}/syslog.conf\"'
MAKE_ENV+= DESTDIR=${PREFIX:Q} ROOT_GROUP=${ROOT_GROUP:Q} \
ROOT_USER=${ROOT_USER:Q}
PKGMANDIR?= man
MAKE_ENV+= PKGMANDIR=${PKGMANDIR:Q}
RCD_SCRIPTS= syslogd klogd
CONF_FILES+= ${PREFIX}/share/examples/sysklogd/syslog.conf ${PKG_SYSCONFDIR}/syslog.conf
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/sysklogd
${INSTALL_DATA} ${FILESDIR}/syslog.conf ${PREFIX}/share/examples/sysklogd/
${INSTALL_DATA} ${WRKSRC}/syslog.conf ${PREFIX}/share/examples/sysklogd/syslog.conf.example
.include "../../mk/bsd.pkg.mk"