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
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
15 MAKE_ENV
+= GD_INCLUDE
=${LOCALBASE}/include \
16 GDCHART_INCLUDE
=${LOCALBASE}/include \
17 PYTHON_INCLUDE
=${LOCALBASE}/${PYINC} \
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
26 INSTALLATION_DIRS
= ${PYSITELIB
:S
/^
${PREFIX}\
///}
29 .for f in
${MODULE_FILES}
30 ${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/${PYSITELIB}
32 ${INSTALL_DATA_DIR} ${DESTDIR}${EXAMPLE_DIR}
33 .for f in
${EXAMPLE_FILES}
34 ${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${EXAMPLE_DIR}
37 .
include "../../graphics/gdchart/buildlink3.mk"
38 .
include "../../lang/python/extension.mk"
39 .
include "../../mk/bsd.pkg.mk"