aboutsummaryrefslogtreecommitdiff
path: root/mail/sqwebmail/Makefile
diff options
context:
space:
mode:
authorOliver Lehmann <oliver@FreeBSD.org>2004-03-30 06:18:49 +0000
committerOliver Lehmann <oliver@FreeBSD.org>2004-03-30 06:18:49 +0000
commit1c7ffee3bf4bc1a7ee823315c7b943828330a788 (patch)
tree85ab172232679fb6708e0a793a8cc2e013a73d9b /mail/sqwebmail/Makefile
parentf8af35cf44b57c7e6dd2fadc2962a8c3e888aaf7 (diff)
downloadports-1c7ffee3bf4bc1a7ee823315c7b943828330a788.tar.gz
ports-1c7ffee3bf4bc1a7ee823315c7b943828330a788.zip
Notes
Diffstat (limited to 'mail/sqwebmail/Makefile')
-rw-r--r--mail/sqwebmail/Makefile14
1 files changed, 13 insertions, 1 deletions
diff --git a/mail/sqwebmail/Makefile b/mail/sqwebmail/Makefile
index 1c0930ccee07..243e65f3ee70 100644
--- a/mail/sqwebmail/Makefile
+++ b/mail/sqwebmail/Makefile
@@ -7,7 +7,7 @@
PORTNAME= sqwebmail
PORTVERSION= 4.0.2
-PORTREVISION= 0
+PORTREVISION= 1
CATEGORIES= mail www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= courier
@@ -54,6 +54,10 @@ IMAGEURL?= ${WEBDATASUBDIR}
# set WITH_MAXMSGSIZE to max size of messages (including attachments)
# set WITH_MAXARGSIZE to max size of a text message (excluding attachments)
# set WITH_MAXFORMARGSIZE to max size of attachments
+#
+# set WITH_CHARSET=chset,chset,... to enable charsets.
+# Set it to "all" will enable all unicode charset mappings.
+# For available charsets just type "iconv -l"
CACHEDIR?= /var/sqwebmail/cache
CACHEOWNER?= bin
@@ -184,6 +188,14 @@ CONFIGURE_ARGS+= --with-maxargsize=${WITH_MAXARGSIZE}
CONFIGURE_ARGS+= --with-maxformargsize=${WITH_MAXFORMARGSIZE}
.endif
+.if defined(WITH_CHARSET)
+.if ${WITH_CHARSET:U} == ALL
+CONFIGURE_ARGS+= --enable-unicode
+.else
+CONFIGURE_ARGS+= --enable-unicode=${WITH_CHARSET}
+.endif
+.endif
+
MAN1= maildirmake.1
MAN7= authlib.7
MAN8= deliverquota.8 makeuserdb.8 userdb.8 userdbpw.8