pkgsrc/graphics/py-gdchart/Makefile
rillig b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00

40 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.19 2005/12/05 20:50:22 rillig Exp $
#
DISTNAME= gdchart-py-0.6
PKGNAME= ${PYPKGPREFIX}-gdchart-0.6
PKGREVISION= 3
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_TOOLS+= gmake
MAKE_ENV+= GD_INCLUDE=${LOCALBASE}/include \
GDCHART_INCLUDE=${LOCALBASE}/include \
PYTHON_INCLUDE=${LOCALBASE}/${PYINC} \
HAVE_LIBFREETYPE=1 \
LOCALBASE=${LOCALBASE:Q}
PLIST_SUBST+= PYPKGPREFIX=${PYPKGPREFIX:Q}
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
INSTALLATION_DIRS= ${PYSITELIB:S/^${PREFIX}\///}
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"