From 7c6a1c9dd606515bdacdee5abc77f52b092aa8ee Mon Sep 17 00:00:00 2001 From: darcy Date: Wed, 1 Sep 2004 19:17:05 +0000 Subject: Even though this package is supposed to be deprecated there are still people using it and if it is going to be in the tree it should at least compile and run with current versions of Python. --- graphics/py-gd/Makefile | 24 +++++++----------------- 1 file changed, 7 insertions(+), 17 deletions(-) (limited to 'graphics/py-gd/Makefile') diff --git a/graphics/py-gd/Makefile b/graphics/py-gd/Makefile index c082f191d7f..77c327661ce 100644 --- a/graphics/py-gd/Makefile +++ b/graphics/py-gd/Makefile @@ -1,11 +1,11 @@ -# $NetBSD: Makefile,v 1.19 2004/07/22 09:16:02 recht Exp $ +# $NetBSD: Makefile,v 1.20 2004/09/01 19:17:05 darcy Exp $ DISTNAME= gdmodule.c PKGNAME= ${PYPKGPREFIX}-gd-1.3 -PKGREVISION= 4 +PKGREVISION= 5 CATEGORIES= graphics python MASTER_SITES= http://starship.python.net/~richard/gdmodule/ -DISTFILES= gdmodule.c +EXTRACT_SUFX= MAINTAINER= tsarna@NetBSD.org HOMEPAGE= http://starship.python.net/~richard/gdmodule/ @@ -17,21 +17,11 @@ WRKSRC= ${WRKDIR} ALL_TARGET= default USE_BUILDLINK3= yes -# this pkg uses Makefile.pre.in -PYTHON_VERSIONS_ACCEPTED= 20 21 -BUILDLINK_DEPENDS.python20= python20>=2.0.1nb1 -BUILDLINK_DEPENDS.python21= python21>=2.1.1nb1 +PYDISTUTILSPKG= yes +PYBINMODULE= yes -PY_PATCHPLIST= yes - -post-extract: - ${SED} -e 's,@LOCALBASE@,${LOCALBASE},g' \ - -e 's,@X11BASE@,${X11BASE},g' \ - ${FILESDIR}/Setup.in > ${WRKSRC}/Setup.in - -do-configure: - ${CP} ${PREFIX}/${PYLIB}/config/Makefile.pre.in ${WRKSRC} - cd ${WRKSRC}; ${MAKE} -f Makefile.pre.in boot +post-patch: + ${SED} 's+@LOCALBASE@+${LOCALBASE}+g' ${FILESDIR}/Setup.in > ${WRKSRC}/setup.py .include "../../graphics/freetype-lib/buildlink3.mk" .include "../../graphics/gd/buildlink3.mk" -- cgit v1.2.3