diff options
author | ahze <ahze@FreeBSD.org> | 2004-12-06 07:22:02 +0800 |
---|---|---|
committer | ahze <ahze@FreeBSD.org> | 2004-12-06 07:22:02 +0800 |
commit | 862e229f14a677ee008759d2471357ec03b8456c (patch) | |
tree | 9c715a3679bba1bdce08115dd6b3f458d8586b2d /graphics/py-cairo | |
parent | ff19bf1507c68316f35e2a6b4dbb9de8209d8b1e (diff) | |
download | freebsd-ports-gnome-862e229f14a677ee008759d2471357ec03b8456c.tar.gz freebsd-ports-gnome-862e229f14a677ee008759d2471357ec03b8456c.tar.zst freebsd-ports-gnome-862e229f14a677ee008759d2471357ec03b8456c.zip |
Add py-cairo
Python bindings for Cairo
Diffstat (limited to 'graphics/py-cairo')
-rw-r--r-- | graphics/py-cairo/Makefile | 39 | ||||
-rw-r--r-- | graphics/py-cairo/distinfo | 2 | ||||
-rw-r--r-- | graphics/py-cairo/pkg-descr | 3 | ||||
-rw-r--r-- | graphics/py-cairo/pkg-plist | 8 |
4 files changed, 52 insertions, 0 deletions
diff --git a/graphics/py-cairo/Makefile b/graphics/py-cairo/Makefile new file mode 100644 index 000000000000..09b0902d1f10 --- /dev/null +++ b/graphics/py-cairo/Makefile @@ -0,0 +1,39 @@ +# New ports collection makefile for: py-cairo +# Date created: 2004-12-05 +# Whom: Michael Johnson <ahze@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= cairo +PORTVERSION= 0.1.3 +CATEGORIES= graphics python +MASTER_SITES= http://cairographics.org/snapshots/ +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= py${PORTNAME}-${PORTVERSION} + +MAINTAINER= ahze@FreeBSD.org +COMMENT= Python bindings for Cairo + +BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/Numeric/MA/__init__.py:${PORTSDIR}/math/py-numeric +LIB_DEPENDS= cairo.1:${PORTSDIR}/graphics/cairo +RUN_DEPENDS= ${BUILD_DEPENDS} + +USE_PYTHON= yes +WANT_GNOME= yes +USE_LIBTOOL_VER=15 + +.include <bsd.port.pre.mk> + +.if ${HAVE_GNOME:Mpygtk2}!="" +WITH_PYGTK= yes +.endif + +.if defined(WITHOUT_PYGTK) && !defined(WITH_PYGTK) +PLIST_SUB+= GTK="@comment " +.else +USE_GNOME= pygtk2 +PLIST_SUB+= GTK="" +.endif + +.include <bsd.port.post.mk> diff --git a/graphics/py-cairo/distinfo b/graphics/py-cairo/distinfo new file mode 100644 index 000000000000..be41f3f5ae06 --- /dev/null +++ b/graphics/py-cairo/distinfo @@ -0,0 +1,2 @@ +MD5 (pycairo-0.1.3.tar.gz) = 7e149a027dfa31b06e8c4df7f0087db9 +SIZE (pycairo-0.1.3.tar.gz) = 311710 diff --git a/graphics/py-cairo/pkg-descr b/graphics/py-cairo/pkg-descr new file mode 100644 index 000000000000..4596cf2354a1 --- /dev/null +++ b/graphics/py-cairo/pkg-descr @@ -0,0 +1,3 @@ +Python bindings for Cairo + +WWW: http://cairographics.org/wiki diff --git a/graphics/py-cairo/pkg-plist b/graphics/py-cairo/pkg-plist new file mode 100644 index 000000000000..78ad19aca632 --- /dev/null +++ b/graphics/py-cairo/pkg-plist @@ -0,0 +1,8 @@ +lib/python2.4/site-packages/cairo/__init__.py +lib/python2.4/site-packages/cairo/__init__.pyc +lib/python2.4/site-packages/cairo/__init__.pyo +lib/python2.4/site-packages/cairo/_cairo.so +%%GTK%%lib/python2.4/site-packages/cairo/gtk.so +lib/python2.4/site-packages/cairo/numpy.so +@dirrm lib/python2.4/site-packages/cairo +@dirrm lib/python2.4/site-packages |