aboutsummaryrefslogtreecommitdiffstats
path: root/mail/sqwebmail
diff options
context:
space:
mode:
authoroliver <oliver@FreeBSD.org>2005-04-27 03:22:11 +0800
committeroliver <oliver@FreeBSD.org>2005-04-27 03:22:11 +0800
commit00f173e7a687bb55519e3896e7d1787905b3b837 (patch)
tree4d9c46ceec152b3562407cda50babce49e1f389e /mail/sqwebmail
parentbbdf601f8612e35cab7141d24d54998c387ea179 (diff)
downloadfreebsd-ports-gnome-00f173e7a687bb55519e3896e7d1787905b3b837.tar.gz
freebsd-ports-gnome-00f173e7a687bb55519e3896e7d1787905b3b837.tar.zst
freebsd-ports-gnome-00f173e7a687bb55519e3896e7d1787905b3b837.zip
chase courier-authlib move
Diffstat (limited to 'mail/sqwebmail')
-rw-r--r--mail/sqwebmail/Makefile20
1 files changed, 16 insertions, 4 deletions
diff --git a/mail/sqwebmail/Makefile b/mail/sqwebmail/Makefile
index 38cce6912064..b681226989e6 100644
--- a/mail/sqwebmail/Makefile
+++ b/mail/sqwebmail/Makefile
@@ -15,11 +15,15 @@ MASTER_SITE_SUBDIR= courier
MAINTAINER= oliver@FreeBSD.org
COMMENT= CGI Webmail client for Maildirs
-BUILD_DEPENDS= ${LOCALBASE}/bin/courierauthconfig:${PORTSDIR}/mail/courier-authlib
-RUN_DEPENDS= ${LOCALBASE}/bin/courierauthconfig:${PORTSDIR}/mail/courier-authlib
-
CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include"
+BUILD_DEPENDS= courierauthconfig:${PORTSDIR}/security/courier-authlib-base
+RUN_DEPENDS= courierauthconfig:${PORTSDIR}/security/courier-authlib-base
+
+.if exists(${.CURDIR}/../../security/courier-authlib/Makefile.opt)
+.include "${.CURDIR}/../../security/courier-authlib/Makefile.opt"
+.endif
+
#
# User-serviceable variables
#
@@ -44,6 +48,8 @@ CACHEDIR?= ${PREFIX}/var/sqwebmail/cache
CACHEOWNER?= bin
#
+# will be migrated to options if possible sooner or later!
+#
# set WITHOUT_CACHEDIR to disable the cache dir
# set WITH_HTTPS to generate https:// URLs for all accesses
# set WITH_HTTPS=login to generate https:// URLs for only password access
@@ -182,6 +188,12 @@ MAN8= deliverquota.8
EXTRA_DOCS= README README.logindomainlist.html README.pam sqwebmail/ChangeLog \
maildir/README.maildirquota.txt maildir/README.sharedfolders.txt
+.include <bsd.port.pre.mk>
+
+.if exists(${.CURDIR}/../../security/courier-authlib/Makefile.dep)
+.include "${.CURDIR}/../../security/courier-authlib/Makefile.dep"
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|^case x$$lockmethod in|${TEST} \&\& &|g' \
${WRKSRC}/liblock/configure
@@ -214,4 +226,4 @@ post-install:
@${ECHO_MSG} "0 * * * * ${CACHEOWNER} ${PREFIX}/share/sqwebmail/cleancache.pl"
@${ECHO_MSG} ""
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>