e2e5b12530
- Use OWN_DIRS_PERMS to handle directories that were previously created by the home-grown netsaint-setup.sh script. - Bump PKGREVISION to 2.
33 lines
974 B
Text
33 lines
974 B
Text
# $NetBSD: Makefile.common,v 1.5 2003/05/01 19:14:12 jmmv 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}
|
|
|
|
USE_X11= YES
|
|
GNU_CONFIGURE= YES
|
|
USE_GMAKE= YES
|
|
|
|
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
|