aboutsummaryrefslogtreecommitdiffstats
path: root/databases/courier-authlib-userdb/Makefile
diff options
context:
space:
mode:
authoroliver <oliver@FreeBSD.org>2005-02-05 02:44:48 +0800
committeroliver <oliver@FreeBSD.org>2005-02-05 02:44:48 +0800
commit584ff18c51babeb08b637a5dc4f687aace04fae6 (patch)
tree8b371c449b26a9b7a24cfcd363bf48bdb2cbb90d /databases/courier-authlib-userdb/Makefile
parent64caae59dfd8a9a5281d18fb188ac56f9bded637 (diff)
downloadfreebsd-ports-gnome-584ff18c51babeb08b637a5dc4f687aace04fae6.tar.gz
freebsd-ports-gnome-584ff18c51babeb08b637a5dc4f687aace04fae6.tar.zst
freebsd-ports-gnome-584ff18c51babeb08b637a5dc4f687aace04fae6.zip
VPOPMAILDIR?= ${LOCALBASE}/vpopmail
update to 0.53 new knobs: WITH_MAILUSER WITH_MAILGROUP WITHOUT_AUTHUSERDB Submitted by: "Gustavo A. Baratto" <gbaratto@superb.net>
Diffstat (limited to 'databases/courier-authlib-userdb/Makefile')
-rw-r--r--databases/courier-authlib-userdb/Makefile23
1 files changed, 21 insertions, 2 deletions
diff --git a/databases/courier-authlib-userdb/Makefile b/databases/courier-authlib-userdb/Makefile
index ea2c8c5b15a5..aa014b385b5e 100644
--- a/databases/courier-authlib-userdb/Makefile
+++ b/databases/courier-authlib-userdb/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