28 lines
832 B
Makefile
28 lines
832 B
Makefile
# $NetBSD: Makefile,v 1.24 2017/08/16 20:21:11 wiz Exp $
|
|
|
|
DISTNAME= logsurfer-1.8
|
|
PKGNAME= logsurfer-1.8
|
|
CATEGORIES= misc
|
|
MASTER_SITES= http://kerryt.orcon.net.nz/
|
|
MASTER_SITES+= https://www.crypt.gen.nz/logsurfer/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://www.crypt.gen.nz/logsurfer/
|
|
COMMENT= Processes logfiles and performs certain actions
|
|
|
|
GNU_CONFIGURE= YES
|
|
CONFIGURE_ARGS+= --with-etcdir=${PKG_SYSCONFDIR}
|
|
CONFIGURE_ARGS+= --localstatedir=${VARBASE}
|
|
|
|
BUILD_DEFS+= VARBASE
|
|
|
|
EGDIR= ${PREFIX}/share/examples/logsurfer
|
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man4 ${EGDIR}
|
|
INSTALL_MAKE_FLAGS+= prefix=${DESTDIR}${PREFIX} \
|
|
mandir=${DESTDIR}${PREFIX}/${PKGMANDIR}
|
|
|
|
post-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/contrib/start-mail/start-mail ${DESTDIR}${EGDIR}/start-mail
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|