mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-04 22:33:27 +00:00
39 lines
923 B
Makefile
39 lines
923 B
Makefile
# New ports collection makefile for: py-Tkinter
|
|
# Date created: 12 Jan 1999
|
|
# Whom: Thomas Gellekum <tg@FreeBSD.org>
|
|
#
|
|
# $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= py-
|
|
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 <bsd.port.mk>
|