# $NetBSD: Makefile,v 1.14 2004/04/25 04:41:19 snj Exp $ # DISTNAME= gdchart-py-0.6 PKGNAME= ${PYPKGPREFIX}-gdchart-0.6 PKGREVISION= 2 CATEGORIES= graphics python MASTER_SITES= http://www.nullcube.com/software/pygdchart.html MAINTAINER= tech-pkg@NetBSD.org HOMEPAGE= http://athani.pair.com/msteed/software/gdchart/ COMMENT= Python interface to GDChart USE_BUILDLINK3= yes USE_GNU_TOOLS+= make MAKE_ENV= GD_INCLUDE=${LOCALBASE}/include \ GDCHART_INCLUDE=${LOCALBASE}/include \ PYTHON_INCLUDE=${LOCALBASE}/${PYINC} \ HAVE_LIBFREETYPE=1 \ LOCALBASE=${LOCALBASE} PLIST_SUBST+= PYPKGPREFIX=${PYPKGPREFIX} MODULE_FILES= chart.py gdchart.so EXAMPLE_FILES= test.html test.py CHANGES EXAMPLE_DIR= ${PREFIX}/share/examples/${PYPKGPREFIX}-gdchart PY_PATCHPLIST= yes PYBINMODULE= yes do-install: .for f in ${MODULE_FILES} ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/${PYSITELIB} .endfor ${INSTALL_DATA_DIR} ${EXAMPLE_DIR} .for f in ${EXAMPLE_FILES} ${INSTALL_DATA} ${WRKSRC}/${f} ${EXAMPLE_DIR} .endfor .include "../../graphics/gdchart/buildlink3.mk" .include "../../lang/python/extension.mk" .include "../../mk/bsd.pkg.mk"