aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAde Lovett <ade@FreeBSD.org>2000-06-20 18:43:34 +0000
committerAde Lovett <ade@FreeBSD.org>2000-06-20 18:43:34 +0000
commit0456df5de4f028d88a3f4e5214733c418b9ddead (patch)
treeab6bd095688a4df7880ca23a60458ab06a7f7447
parent905a23e121f96ad99064a3dd059b1af7a72781fe (diff)
downloadports-0456df5de4f028d88a3f4e5214733c418b9ddead.tar.gz
ports-0456df5de4f028d88a3f4e5214733c418b9ddead.zip
Add WITH_X11 knob to bring in Python et al. so the fetchmailconf
program works. Disabled by default, to keep the status-quo. Loosely based on PR: 19398 Discussed with: alex
Notes
Notes: svn path=/head/; revision=29727
-rw-r--r--mail/fetchmail/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/mail/fetchmail/Makefile b/mail/fetchmail/Makefile
index 3f1f742da027..744d2ededa5c 100644
--- a/mail/fetchmail/Makefile
+++ b/mail/fetchmail/Makefile
@@ -5,10 +5,9 @@
# $FreeBSD$
#
# NOTE: The fetchmailconf program (an interactive program for
-# writing .fetchmailrc files) requires Python, found in the Ports
-# Collection under lang/python. The fetchmail program itself
-# does not need Python, so there is no RUN_DEPENDS for Python in
-# this Makefile.
+# writing .fetchmailrc files) requires Python, Tk, X11, etc..
+# The fetchmail program itself does not need Python, but if you
+# want fetchmailconf to work, define WITH_X11
PORTNAME= fetchmail
PORTVERSION= 5.4.1
@@ -18,6 +17,11 @@ MASTER_SITES= ftp://ftp.ccil.org/pub/esr/fetchmail/
MAINTAINER= ve@sci.fi
LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext
+
+.if defined(WITH_X11)
+RUN_DEPENDS= ${LOCALBASE}/lib/python1.5/site-packages/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter
+.endif
+
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-OPIE --enable-RPA --enable-POP2 --enable-SDPS \
--enable-nls