c1b44346cd
until proven otherwise.
38 lines
1,013 B
Makefile
38 lines
1,013 B
Makefile
# $NetBSD: Makefile,v 1.46 2014/05/09 07:37:07 wiz Exp $
|
|
|
|
DISTNAME= py2cairo-1.10.0
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py2//}
|
|
PKGREVISION= 3
|
|
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 (python-2.x version)
|
|
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_VERSIONS_INCOMPATIBLE= 33 34
|
|
|
|
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"
|