summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2010-11-15 22:12:13 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2010-11-15 22:12:13 +0800
commit70327c25ff8670542a902ab7bf29c8397b3a0645 (patch)
tree26a0a1eed70f32008514d59bce402c18ea900231 /graphics
parent8d315bf5505fe4673c5d5423d7a1bd6e307bef69 (diff)
downloadmarcuscom-ports-70327c25ff8670542a902ab7bf29c8397b3a0645.tar
marcuscom-ports-70327c25ff8670542a902ab7bf29c8397b3a0645.tar.gz
marcuscom-ports-70327c25ff8670542a902ab7bf29c8397b3a0645.tar.bz2
marcuscom-ports-70327c25ff8670542a902ab7bf29c8397b3a0645.tar.lz
marcuscom-ports-70327c25ff8670542a902ab7bf29c8397b3a0645.tar.xz
marcuscom-ports-70327c25ff8670542a902ab7bf29c8397b3a0645.tar.zst
marcuscom-ports-70327c25ff8670542a902ab7bf29c8397b3a0645.zip
Update to 1.8.10.
Limit python versions to 2.6 and 2.7. Python 3.x has its own tar file. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@14877 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'graphics')
-rw-r--r--graphics/py-cairo/Makefile34
-rw-r--r--graphics/py-cairo/distinfo2
-rw-r--r--graphics/py-cairo/pkg-descr3
-rw-r--r--graphics/py-cairo/pkg-plist9
4 files changed, 48 insertions, 0 deletions
diff --git a/graphics/py-cairo/Makefile b/graphics/py-cairo/Makefile
new file mode 100644
index 000000000..5433b3e6e
--- /dev/null
+++ b/graphics/py-cairo/Makefile
@@ -0,0 +1,34 @@
+# New ports collection makefile for: py-cairo
+# Date created: 2004-12-05
+# Whom: Michael Johnson <ahze@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom: ports/graphics/py-cairo/Makefile,v 1.26 2009/01/02 20:13:31 mezz Exp $
+#
+
+PORTNAME= cairo
+PORTVERSION= 1.8.10
+CATEGORIES= graphics python
+MASTER_SITES= http://cairographics.org/releases/
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= py2${PORTNAME}-${PORTVERSION}
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= Python bindings for Cairo
+
+LIB_DEPENDS= cairo.2:${PORTSDIR}/graphics/cairo
+
+WRKSRC= ${WRKDIR}/py${PORTNAME}-${PORTVERSION}
+USE_PYTHON= 2.6-2.7
+USE_GMAKE= yes
+USE_GNOME= gnometarget gnomehack
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|$$(libdir)/pkgconfig|${PREFIX}/libdata/pkgconfig|; \
+ s|SUBDIRS = cairo examples test|SUBDIRS = cairo examples|' \
+ ${WRKSRC}/Makefile.in
+
+.include <bsd.port.mk>
diff --git a/graphics/py-cairo/distinfo b/graphics/py-cairo/distinfo
new file mode 100644
index 000000000..c4bd9a347
--- /dev/null
+++ b/graphics/py-cairo/distinfo
@@ -0,0 +1,2 @@
+SHA256 (py2cairo-1.8.10.tar.gz) = b15f71019e42e06d86f7e8fe5587f07c3de5a59a6c3a071b25fe100796dbcd56
+SIZE (py2cairo-1.8.10.tar.gz) = 588459
diff --git a/graphics/py-cairo/pkg-descr b/graphics/py-cairo/pkg-descr
new file mode 100644
index 000000000..e40b314a4
--- /dev/null
+++ b/graphics/py-cairo/pkg-descr
@@ -0,0 +1,3 @@
+Python bindings for Cairo
+
+WWW: http://cairographics.org/
diff --git a/graphics/py-cairo/pkg-plist b/graphics/py-cairo/pkg-plist
new file mode 100644
index 000000000..0d5ac3d2b
--- /dev/null
+++ b/graphics/py-cairo/pkg-plist
@@ -0,0 +1,9 @@
+include/pycairo/pycairo.h
+%%PYTHON_SITELIBDIR%%/cairo/__init__.py
+%%PYTHON_SITELIBDIR%%/cairo/__init__.pyc
+%%PYTHON_SITELIBDIR%%/cairo/__init__.pyo
+%%PYTHON_SITELIBDIR%%/cairo/_cairo.la
+%%PYTHON_SITELIBDIR%%/cairo/_cairo.so
+libdata/pkgconfig/pycairo.pc
+@dirrm %%PYTHON_SITELIBDIR%%/cairo
+@dirrm include/pycairo