pkgsrc/graphics/py-gdchart/Makefile

40 lines
1.2 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.44 2017/01/01 14:43:42 wiz Exp $
DISTNAME= gdchart-py-0.6
PKGNAME= ${PYPKGPREFIX}-gdchart-0.6
2016-08-03 12:22:08 +02:00
PKGREVISION= 19
CATEGORIES= graphics python
2002-11-10 16:01:19 +01:00
MASTER_SITES= http://www.nullcube.com/software/pygdchart.html
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://users.fred.net/brv/chart/
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
PYTHON_VERSIONS_INCOMPATIBLE= 34 35 36 # not yet ported as of 0.6
INSTALLATION_DIRS= ${PYSITELIB:S/^${PREFIX}\///}
do-install:
.for f in ${MODULE_FILES}
${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/${PYSITELIB}
.endfor
${INSTALL_DATA_DIR} ${DESTDIR}${EXAMPLE_DIR}
.for f in ${EXAMPLE_FILES}
${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${EXAMPLE_DIR}
.endfor
2004-04-25 06:40:48 +02:00
.include "../../graphics/gdchart/buildlink3.mk"
.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"