pkgsrc/graphics/py-gd/Makefile
darcy 9e41172b4f 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.
2004-09-01 19:17:05 +00:00

29 lines
783 B
Makefile

# $NetBSD: Makefile,v 1.20 2004/09/01 19:17:05 darcy Exp $
DISTNAME= gdmodule.c
PKGNAME= ${PYPKGPREFIX}-gd-1.3
PKGREVISION= 5
CATEGORIES= graphics python
MASTER_SITES= http://starship.python.net/~richard/gdmodule/
EXTRACT_SUFX=
MAINTAINER= tsarna@NetBSD.org
HOMEPAGE= http://starship.python.net/~richard/gdmodule/
COMMENT= Python interface to gd graphics library
EXTRACT_CMD= ${CP} ${DISTDIR}/${DISTNAME} ${WRKSRC}
WRKSRC= ${WRKDIR}
ALL_TARGET= default
USE_BUILDLINK3= yes
PYDISTUTILSPKG= yes
PYBINMODULE= yes
post-patch:
${SED} 's+@LOCALBASE@+${LOCALBASE}+g' ${FILESDIR}/Setup.in > ${WRKSRC}/setup.py
.include "../../graphics/freetype-lib/buildlink3.mk"
.include "../../graphics/gd/buildlink3.mk"
.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"