1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/x11-toolkits/py-tkinter/Makefile

40 lines
992 B
Makefile

# New ports collection makefile for: py-Tkinter
# Date created: 12 Jan 1999
# Whom: Thomas Gellekum <tg@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= py-tkinter
PORTVERSION= 1.5.2
CATEGORIES= x11-toolkits python
MASTER_SITES= ftp://www.python.org/pub/python/src/ \
ftp://ftp.cwi.nl/pub/python/src/
DISTNAME= py152
EXTRACT_SUFX= .tgz
MAINTAINER= tg@FreeBSD.org
BUILD_DEPENDS= python:${PORTSDIR}/lang/python
LIB_DEPENDS= tk82.1:${PORTSDIR}/x11-toolkits/tk82
RUN_DEPENDS= python:${PORTSDIR}/lang/python
DIST_SUBDIR= python
WRKSRC= ${WRKDIR}/Python-1.5.2/Modules
ALL_TARGET= sharedmods
MAKE_FLAGS= OPT="${CFLAGS}"
PYTHONSCRIPTDIR= ${PREFIX}/lib/python1.5
post-extract:
@${CP} ${FILESDIR}/Setup ${WRKSRC}
@${CP} ${PYTHONSCRIPTDIR}/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 ${PYTHONSCRIPTDIR}/site-packages
.include <bsd.port.mk>