summaryrefslogtreecommitdiff
path: root/net/netsaint-base/Makefile
blob: 9d2f0dfef1cb9ae40c04e9ee2abcc0bfeaf2633b (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
30
31
32
33
34
35
36
# $NetBSD: Makefile,v 1.23 2005/12/05 20:50:47 rillig Exp $
#

DISTNAME=		netsaint-0.0.7
PKGNAME=		${DISTNAME:S/-/-base-/}
PKGREVISION=		5
MASTER_SITES=		http://www.netsaint.org/download/

MAINTAINER=		tech-pkg@NetBSD.org
HOMEPAGE=		http://www.netsaint.org/
COMMENT=		Network monitor

USE_PKGINSTALL=		yes

.include "../../net/netsaint-base/Makefile.common"

CONFIGURE_ARGS+=	--with-ping-command='/sbin/ping -n -c %d %s'

OWN_DIRS_PERMS=
.for dir in	/var/log/netsaint /var/log/netsaint/archives \
		/var/run/netsaint /var/run/netsaint/rw
OWN_DIRS_PERMS+=	${dir} ${NETSAINT_USER} ${NETSAINT_GROUP} 0755
.endfor

INSTALL_TARGET=		install install-config

post-build:
	cd ${WRKDIR}; uudecode ${FILESDIR}/logofullsize.gif.uu
	cd ${WRKDIR}; uudecode ${FILESDIR}/sblogo.gif.uu

post-install:
	${INSTALL_DATA} ${WRKDIR}/logofullsize.gif ${PREFIX}/share/netsaint/images
	${INSTALL_DATA} ${WRKDIR}/sblogo.gif ${PREFIX}/share/netsaint/images

.include "../../graphics/gd/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"