35 lines
879 B
Makefile
35 lines
879 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= http://www.python.org/ftp/python/${PORTVERSION}/ \
|
|
http://SunSITE.Informatik.RWTH-Aachen.DE/python/ftp/python/${PORTVERSION}/
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTFILES= ${PYTHON_DISTFILE}
|
|
|
|
MAINTAINER= tg@FreeBSD.org
|
|
|
|
BUILD_DEPENDS= ${PYDISTUTILS}
|
|
LIB_DEPENDS= tk83.1:${PORTSDIR}/x11-toolkits/tk83
|
|
|
|
DIST_SUBDIR= python
|
|
USE_PYTHON= yes
|
|
WRKSRC= ${PYTHON_WRKSRC}/Modules
|
|
|
|
post-extract:
|
|
@${CP} ${FILESDIR}/setup.py ${WRKSRC}
|
|
|
|
do-build:
|
|
@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py build)
|
|
|
|
do-install:
|
|
@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py install)
|
|
|
|
.include <bsd.port.mk>
|