pkgsrc/security/courier-authlib/Makefile.common

27 lines
708 B
Text
Raw Normal View History

# $NetBSD: Makefile.common,v 1.13 2012/03/09 15:15:30 fhajny Exp $
2007-11-27 17:27:30 +01:00
#
2010-11-10 11:37:48 +01:00
# used by mail/courier-mta/Makefile.common
COURIER_USER?= courier
COURIER_GROUP?= mail
2010-11-10 11:37:48 +01:00
FILES_SUBST+= COURIER_USER=${COURIER_USER}
FILES_SUBST+= COURIER_GROUP=${COURIER_GROUP}
MESSAGE_SUBST+= COURIER_USER=${COURIER_USER}
MESSAGE_SUBST+= COURIER_GROUP=${COURIER_GROUP}
PKG_GROUPS= ${COURIER_GROUP}
PKG_USERS= ${COURIER_USER}:${COURIER_GROUP}
PKG_GROUPS_VARS+= COURIER_GROUP
PKG_USERS_VARS+= COURIER_USER
GNU_CONFIGURE= yes
2010-11-10 11:37:48 +01:00
CONFIGURE_ARGS+= --with-mailuser=${COURIER_USER}
CONFIGURE_ARGS+= --with-mailgroup=${COURIER_GROUP}
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"
CONFIGURE_ARGS+= --with-waitfunc=wait3
.endif