summaryrefslogtreecommitdiff
path: root/security/courier-authlib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/courier-authlib/Makefile')
-rw-r--r--security/courier-authlib/Makefile23
1 files changed, 21 insertions, 2 deletions
diff --git a/security/courier-authlib/Makefile b/security/courier-authlib/Makefile
index ea2c8c5b15a5..aa014b385b5e 100644
--- a/security/courier-authlib/Makefile
+++ b/security/courier-authlib/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= courier-authlib
-PORTVERSION= 0.52
+PORTVERSION= 0.53
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= courier
@@ -32,6 +32,9 @@ USE_LIBLTDL= yes
# WITH_POSTGRESQL: Build in postgresql support
# WITH_LDAP: Build in ldap support with openldap
# WITH_GDBM: Use gdbm files instead of bdb
+# WITH_MAILUSER: The user running authlib
+# WITH_MAILGROUP: The group running authlib
+# WITHOUT_AUTHUSERDB: Don't build in authuserdb
#
VPOPMAILDIR?= ${LOCALBASE}/vpopmail
@@ -98,8 +101,24 @@ CONFIGURE_ARGS+=--without-authpam
PLIST_SUB+= PAMFLAG="@comment "
.endif
-.include <bsd.port.pre.mk>
+.if defined(WITHOUT_AUTHUSERDB)
+CONFIGURE_ARGS+=--without-authuserdb
+PLIST_SUB+= AUTHUSERDBFLAG="@comment "
+.else
+PLIST_SUB+= AUTHUSERDBFLAG=""
+.endif
+
+.if defined(WITH_MAILUSER)
+CONFIGURE_ARGS+=--with-mailuser=${WITH_MAILUSER}
+.endif
+.if defined(WITH_MAILGROUP)
+CONFIGURE_ARGS+=--with-mailgroup=${WITH_MAILGROUP}
+.endif
+
+
+.include <bsd.port.pre.mk>
+++ pkg-plist Fri Feb 4 02:29:24 2005
RC_SCRIPTS_SUB=PREFIX=${PREFIX} RC_SUBR=${RC_SUBR}
MAN1= courierlogger.1