2a2287a457
Overview of changes from py2cairo 1.8.10 to py2cairo 1.10.0 =========================================================== General Changes: py2cairo 1.10.0 requires cairo 1.10.0 (or later). New Constants: cairo.FORMAT_RGB16_565 Bug Fixes: context.get_source().get_surface() fails #33013 Add support for './waf configure --libdir=XXX' #30230 Documentation Changes: Upgrade to using Sphinx 1.0.7. Include html documentation in the pycairo archive file. Build Changes: Update waf to 1.6.3 Other Changes: Remove setup.py Improve/simplify unicode filename support. Improve/simplify unicode text support.
38 lines
967 B
Makefile
38 lines
967 B
Makefile
# $NetBSD: Makefile,v 1.41 2013/07/07 12:19:23 wiz Exp $
|
|
|
|
DISTNAME= py2cairo-1.10.0
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py2//}
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= http://cairographics.org/releases/
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= leuzi@trash.net
|
|
HOMEPAGE= http://cairographics.org/pycairo/
|
|
COMMENT= Python bindings for cairo
|
|
LICENSE= gnu-lgpl-v2.1 OR mpl-1.1
|
|
|
|
USE_PKGLOCALEDIR= yes
|
|
USE_LIBTOOL= yes
|
|
USE_TOOLS+= aclocal automake pkg-config
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV+= PYTHON=${PYTHONBIN:Q}
|
|
|
|
PKGCONFIG_OVERRIDE+= pycairo.pc.in
|
|
PY_PATCHPLIST= yes
|
|
|
|
PYTHON_SELF_CONFLICT= yes
|
|
|
|
post-extract:
|
|
cd ${WRKSRC} && touch ChangeLog && aclocal && automake -a
|
|
|
|
.include "../../mk/compiler.mk"
|
|
|
|
.if !empty(CC_VERSION:Mgcc-2*) || \
|
|
${OPSYS} == "SunOS"
|
|
BUILDLINK_TRANSFORM+= rm:-std=c99
|
|
.endif
|
|
|
|
.include "../../lang/python/extension.mk"
|
|
BUILDLINK_API_DEPENDS.cairo+= cairo>=1.10
|
|
.include "../../graphics/cairo/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|