aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Johnson <ahze@FreeBSD.org>2004-12-05 23:22:02 +0000
committerMichael Johnson <ahze@FreeBSD.org>2004-12-05 23:22:02 +0000
commitb41fb96dbe2b8f0256aa4f9f3181e214edd2ecbf (patch)
tree84b4a3cd860084b86a821680b55129c90c122387
parent90acbd3fe15adb4321fadb7c551be7158f5b04c6 (diff)
downloadports-b41fb96dbe2b8f0256aa4f9f3181e214edd2ecbf.tar.gz
ports-b41fb96dbe2b8f0256aa4f9f3181e214edd2ecbf.zip
Notes
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/py-cairo/Makefile39
-rw-r--r--graphics/py-cairo/distinfo2
-rw-r--r--graphics/py-cairo/pkg-descr3
-rw-r--r--graphics/py-cairo/pkg-plist8
5 files changed, 53 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index 6c2c9b604531..c89d8d5b3413 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -392,6 +392,7 @@
SUBDIR += pstoepsi
SUBDIR += pvmpov
SUBDIR += py-PyX
+ SUBDIR += py-cairo
SUBDIR += py-cgkit
SUBDIR += py-chart
SUBDIR += py-exif
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