Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / graphics / py-gdchart / Makefile
blob015935f60d2f255b46c9b0370a8f7a0a74732189
1 # $NetBSD: Makefile,v 1.31 2013/01/26 21:37:58 adam Exp $
4 DISTNAME= gdchart-py-0.6
5 PKGNAME= ${PYPKGPREFIX}-gdchart-0.6
6 PKGREVISION= 12
7 CATEGORIES= graphics python
8 MASTER_SITES= http://www.nullcube.com/software/pygdchart.html
10 MAINTAINER= pkgsrc-users@NetBSD.org
11 HOMEPAGE= http://athani.pair.com/msteed/software/gdchart/
12 COMMENT= Python interface to GDChart
14 USE_TOOLS+= gmake
15 MAKE_ENV+= GD_INCLUDE=${LOCALBASE}/include \
16 GDCHART_INCLUDE=${LOCALBASE}/include \
17 PYTHON_INCLUDE=${LOCALBASE}/${PYINC} \
18 HAVE_LIBFREETYPE=1 \
19 LOCALBASE=${LOCALBASE:Q}
20 PLIST_SUBST+= PYPKGPREFIX=${PYPKGPREFIX:Q}
21 MODULE_FILES= chart.py gdchart.so
22 EXAMPLE_FILES= test.html test.py CHANGES
23 EXAMPLE_DIR= ${PREFIX}/share/examples/${PYPKGPREFIX}-gdchart
24 PY_PATCHPLIST= yes
26 INSTALLATION_DIRS= ${PYSITELIB:S/^${PREFIX}\///}
28 do-install:
29 .for f in ${MODULE_FILES}
30 ${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/${PYSITELIB}
31 .endfor
32 ${INSTALL_DATA_DIR} ${DESTDIR}${EXAMPLE_DIR}
33 .for f in ${EXAMPLE_FILES}
34 ${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${EXAMPLE_DIR}
35 .endfor
37 .include "../../graphics/gdchart/buildlink3.mk"
38 .include "../../lang/python/extension.mk"
39 .include "../../mk/bsd.pkg.mk"