25a80fb4ab
on some platforms that lacked shared library support in the past. The list hasn't been maintained at all and the gain is very limited, so just get rid of it.
37 lines
991 B
Makefile
37 lines
991 B
Makefile
# $NetBSD: Makefile,v 1.44 2009/03/05 18:51:33 joerg Exp $
|
|
#
|
|
|
|
PKGNAME= ${PYPKGPREFIX}-Tk-0
|
|
PKGREVISION= 4
|
|
CATEGORIES= x11 python
|
|
|
|
MAINTAINER= tsarna@NetBSD.org
|
|
HOMEPAGE= http://wiki.python.org/moin/TkInter
|
|
COMMENT= Tkinter -- Python interface to Tcl/Tk
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
EXTRACT_ELEMENTS= ${PYSUBDIR}/Modules/_tkinter.c \
|
|
${PYSUBDIR}/Modules/tkappinit.c
|
|
PYDISTUTILSPKG= yes
|
|
PY_PATCHPLIST= yes
|
|
|
|
PY_SETUP_SUBST+= BLPREFIX=${LOCALBASE}
|
|
PY_SETUP_SUBST+= TCLRTPREFIX=${BUILDLINK_PREFIX.tcl}
|
|
PY_SETUP_SUBST+= TKRTPREFIX=${BUILDLINK_PREFIX.tk}
|
|
PY_SETUP_SUBST+= X11PREFIX=${X11BASE}
|
|
PY_SETUP_SUBST+= X11RTPREFIX=${X11BASE}
|
|
|
|
# ignore errors due to missing files (EXTRACT_ELEMENTS!)
|
|
do-patch:
|
|
(cd ${WRKSRC}; \
|
|
for f in ${PATCHDIR}/patch-*;do \
|
|
${PATCH} --batch <$$f || true; \
|
|
done)
|
|
|
|
.include "../../lang/python/extension.mk"
|
|
.include "../../lang/python/srcdist.mk"
|
|
.include "../../lang/tcl/buildlink3.mk"
|
|
.include "../../x11/tk/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|