diff options
author | darcy <darcy> | 2004-09-01 19:17:05 +0000 |
---|---|---|
committer | darcy <darcy> | 2004-09-01 19:17:05 +0000 |
commit | 7c6a1c9dd606515bdacdee5abc77f52b092aa8ee (patch) | |
tree | 32861825686cb8ab7519d84ebe1a23835391cb74 /graphics/py-gd/Makefile | |
parent | 5cdbbbcefb04d27c2179e11396736d17eb6facd1 (diff) | |
download | pkgsrc-7c6a1c9dd606515bdacdee5abc77f52b092aa8ee.tar.gz |
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.
Diffstat (limited to 'graphics/py-gd/Makefile')
-rw-r--r-- | graphics/py-gd/Makefile | 24 |
1 files changed, 7 insertions, 17 deletions
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" |