b2a2eab427
* using distuils, so use pkgsrc pthon distutils framework. * LOCALBASE should not be used here, it's just for prefix of GD. * No need to depend on freetype-lib here. Bump PKGREVISION.
26 lines
714 B
Makefile
26 lines
714 B
Makefile
# $NetBSD: Makefile,v 1.34 2010/11/23 05:16:03 obache Exp $
|
|
|
|
DISTNAME= gdmodule.c
|
|
PKGNAME= ${PYPKGPREFIX}-gd-1.3
|
|
PKGREVISION= 12
|
|
CATEGORIES= graphics python
|
|
MASTER_SITES= http://starship.python.net/~richard/gdmodule/
|
|
EXTRACT_SUFX=
|
|
|
|
MAINTAINER= darcy@NetBSD.org
|
|
HOMEPAGE= http://starship.python.net/~richard/gdmodule/
|
|
COMMENT= Python interface to gd graphics library
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
WRKSRC= ${WRKDIR}
|
|
BUILD_TARGET= default
|
|
|
|
EGG_NAME= ${DISTNAME:S/.c/-${PKGVERSION_NOREV}/}
|
|
|
|
post-patch:
|
|
${SED} 's+@GD_PREFIX@+${BUILDLINK_PREFIX.gd}+g' ${FILESDIR}/Setup.in > ${WRKSRC}/setup.py
|
|
|
|
.include "../../graphics/gd/buildlink3.mk"
|
|
.include "../../lang/python/distutils.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|