pkgsrc/graphics/py-gd/Makefile

29 lines
782 B
Makefile

# $NetBSD: Makefile,v 1.21 2004/09/01 22:08:25 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= darcy@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"