summaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorsergei <sergei@FreeBSD.org>2003-12-16 23:27:10 +0000
committersergei <sergei@FreeBSD.org>2003-12-16 23:27:10 +0000
commit21feb639d0ab4387b396bd2ec7193e2a488ed6f4 (patch)
tree2df17a6731ba49da008e1f2f7b81b757851215ad /mail
parent310974599903ee3836dcb01784f398e96c338109 (diff)
downloadFreeBSD-ports-21feb639d0ab4387b396bd2ec7193e2a488ed6f4.zip
FreeBSD-ports-21feb639d0ab4387b396bd2ec7193e2a488ed6f4.tar.gz
- Allow user to avoid py-tkinter dependency by using WITHOUT_X11=yes knob
Diffstat (limited to 'mail')
-rw-r--r--mail/offlineimap/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/mail/offlineimap/Makefile b/mail/offlineimap/Makefile
index a52871e..8b563b7 100644
--- a/mail/offlineimap/Makefile
+++ b/mail/offlineimap/Makefile
@@ -14,14 +14,16 @@ DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= sergei@FreeBSD.org
COMMENT= Powerful IMAP/Maildir synchronization and reader support
+.if !defined(WITHOUT_X11)
RUN_DEPENDS= ${TKINTER}:${PORTSDIR}/x11-toolkits/py-tkinter
+TKINTER= ${PYTHON_SITELIBDIR}/_tkinter.so
+.endif
WRKSRC= ${WRKDIR}/${PORTNAME}
PKGMESSAGE= ${WRKDIR}/pkg-message
USE_PYTHON= yes
USE_PYDISTUTILS= yes
-TKINTER= ${PYTHON_SITELIBDIR}/_tkinter.so
MAN1= offlineimap.1
DOCS= COPYRIGHT ChangeLog UPGRADING manual.html manual.pdf \
OpenPOWER on IntegriCloud