# New ports collection makefile for: py-Tkinter # Date created: 12 Jan 1999 # Whom: Thomas Gellekum # # $FreeBSD$ # PORTNAME= tkinter PORTVERSION= ${PYTHON_PORTVERSION} CATEGORIES= x11-toolkits python MASTER_SITES= ftp://www.python.org/pub/python/src/ \ ftp://ftp.cwi.nl/pub/python/src/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTFILES= ${PYTHON_DISTFILE} MAINTAINER= tg@FreeBSD.org LIB_DEPENDS= tk83.1:${PORTSDIR}/x11-toolkits/tk83 DIST_SUBDIR= python USE_PYTHON= yes WRKSRC= ${PYTHON_WRKSRC}/Modules CONFIGURE_ENV= PYTHON=${PYTHON_CMD} ALL_TARGET= sharedmods MAKE_FLAGS= OPT="${CFLAGS}" post-extract: @${CP} ${FILESDIR}/Setup ${WRKSRC} @${CP} ${PYTHON_LIBDIR}/config/Makefile.pre.in ${WRKSRC} do-configure: @(cd ${WRKSRC}; \ ${SETENV} ${CONFIGURE_ENV} ${MAKE} -f Makefile.pre.in boot) do-install: ${INSTALL_DATA} ${WRKSRC}/_tkinter.so ${PYTHON_SITELIBDIR} .include