pkgsrc/graphics/py-gdchart/Makefile
joerg 25a80fb4ab Remove PYBINMODULE. All it did was mark some packages as not available
on some platforms that lacked shared library support in the past. The
list hasn't been maintained at all and the gain is very limited, so just
get rid of it.
2009-03-05 18:51:26 +00:00

41 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.24 2009/03/05 18:51:29 joerg Exp $
#
DISTNAME= gdchart-py-0.6
PKGNAME= ${PYPKGPREFIX}-gdchart-0.6
PKGREVISION= 5
CATEGORIES= graphics python
MASTER_SITES= http://www.nullcube.com/software/pygdchart.html
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://athani.pair.com/msteed/software/gdchart/
COMMENT= Python interface to GDChart
PKG_DESTDIR_SUPPORT= user-destdir
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
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
.include "../../graphics/gdchart/buildlink3.mk"
.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"