summaryrefslogtreecommitdiff
path: root/net/netsaint-base/Makefile.common
blob: b30e9621e3beb4d416399bf889d0995fb31f355b (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
# $NetBSD: Makefile.common,v 1.8 2005/06/01 18:03:08 jlam Exp $
#

CATEGORIES=		net sysutils

NETSAINT_USER?=		netsaint
NETSAINT_GROUP?=	${NETSAINT_USER}

NETSTADM_USER?=		netstadm
NETSTADM_GROUP?=	${NETSTADM_USER}

PKG_GROUPS+=	${NETSAINT_GROUP}
PKG_GROUPS+=	${NETSTADM_GROUP}

PKG_USERS+=	${NETSAINT_USER}:${NETSAINT_GROUP}::NetSaint\\ Runtime\\ User
PKG_USERS+=	${NETSTADM_USER}:${NETSTADM_GROUP}::NetSaint\\ Administrator:${PREFIX}/etc/netsaint:${SH}

GNU_CONFIGURE=		YES
USE_TOOLS+=		gmake

USE_PERL5=		YES

PKG_SYSCONFSUBDIR=	netsaint

CONFIGURE_ARGS+=	--sysconfdir=${PKG_SYSCONFDIR}
CONFIGURE_ARGS+=	--localstatedir=/var
CONFIGURE_ARGS+=	--datadir=${PREFIX}/share/netsaint
CONFIGURE_ARGS+=	--libexecdir=${PREFIX}/libexec/netsaint
CONFIGURE_ARGS+=	--with-lockfile=var/run/netsaint/netsaint.lock
CONFIGURE_ARGS+=	--with-netsaint-user=${NETSAINT_USER}
CONFIGURE_ARGS+=	--with-netsaint-grp=${NETSAINT_GROUP}
CONFIGURE_ARGS+=	--with-init-dir=${PREFIX}/etc/rc.d

.include "../../mk/x11.buildlink3.mk"