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
This commit is contained in:
Ade Lovett 2000-06-20 18:43:34 +00:00
parent 905a23e121
commit 0456df5de4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=29727

View File

@ -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