View | Details | Raw Unified | Return to bug 176611
Collapse All | Expand All

(-)./Makefile (-1 / +2 lines)
Lines 1-5 Link Here
1
# Created by: Ville Eerola <ve@sci.fi>
1
# Created by: Ville Eerola <ve@sci.fi>
2
# $FreeBSD: ports/mail/fetchmail/Makefile,v 1.225 2013/01/10 01:55:48 svnexp Exp $
2
# $FreeBSD: head/mail/fetchmail/Makefile 310167 2013-01-10 01:36:21Z mandree $
3
#
3
#
4
# NOTE:  The fetchmailconf program (an interactive program for
4
# NOTE:  The fetchmailconf program (an interactive program for
5
# writing .fetchmailrc files) requires Python, Tk, X11, etc..
5
# writing .fetchmailrc files) requires Python, Tk, X11, etc..
Lines 9-14 Link Here
9
9
10
PORTNAME=	fetchmail
10
PORTNAME=	fetchmail
11
PORTVERSION=	6.3.24
11
PORTVERSION=	6.3.24
12
PORTREVISION=	1
12
CATEGORIES=	mail ipv6
13
CATEGORIES=	mail ipv6
13
MASTER_SITES=	SF/${PORTNAME}/branch_6.3/ \
14
MASTER_SITES=	SF/${PORTNAME}/branch_6.3/ \
14
		http://mandree.home.pages.de/${PORTNAME}/
15
		http://mandree.home.pages.de/${PORTNAME}/
(-)./files/fetchmailconf.in (-2 / +2 lines)
Lines 3-15 Link Here
3
# Wrapper for the real fetchmailconf.  Checks whether Python and Tkinter are
3
# Wrapper for the real fetchmailconf.  Checks whether Python and Tkinter are
4
# installed, and runs the real fetchmailconf or alerts the user, as appropriate.
4
# installed, and runs the real fetchmailconf or alerts the user, as appropriate.
5
#
5
#
6
# $FreeBSD: ports/mail/fetchmail/files/fetchmailconf.in,v 1.2 2013/01/10 02:12:35 svnexp Exp $
6
# $FreeBSD: head/mail/fetchmail/files/fetchmailconf.in 310168 2013-01-10 01:46:37Z mandree $
7
7
8
LOCALBASE=%%LOCALBASE%%
8
LOCALBASE=%%LOCALBASE%%
9
9
10
if [ -x $LOCALBASE/bin/python ] ; then
10
if [ -x $LOCALBASE/bin/python ] ; then
11
	PYTHON_VERSION=python$(${LOCALBASE}/bin/python -c 'import sys; print sys.version[:3]' 2>/dev/null)
11
	PYTHON_VERSION=python$(${LOCALBASE}/bin/python -c 'import sys; print sys.version[:3]' 2>/dev/null)
12
	if [ -e ${LOCALBASE}/lib/${PYTHON_VERSION}/site-packages/_tkinter.so ]; then
12
	if [ -e ${LOCALBASE}/lib/${PYTHON_VERSION}/lib-dynload/_tkinter.so ]; then
13
		exec ${LOCALBASE}/libexec/fetchmailconf.py "$@"
13
		exec ${LOCALBASE}/libexec/fetchmailconf.py "$@"
14
	fi
14
	fi
15
fi
15
fi

Return to bug 176611