summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2005-05-21 03:45:02 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2005-05-21 03:45:02 +0800
commit2b842a5167d0dc6745d36c55e16126a23a4cf621 (patch)
tree2d08807b67c84d2a7f4a759ae3e8877c818af9e7 /graphics
parent6686dcb4cb0d0e72209c919f7656f08118783584 (diff)
downloadmarcuscom-ports-2b842a5167d0dc6745d36c55e16126a23a4cf621.tar
marcuscom-ports-2b842a5167d0dc6745d36c55e16126a23a4cf621.tar.gz
marcuscom-ports-2b842a5167d0dc6745d36c55e16126a23a4cf621.tar.bz2
marcuscom-ports-2b842a5167d0dc6745d36c55e16126a23a4cf621.tar.lz
marcuscom-ports-2b842a5167d0dc6745d36c55e16126a23a4cf621.tar.xz
marcuscom-ports-2b842a5167d0dc6745d36c55e16126a23a4cf621.tar.zst
marcuscom-ports-2b842a5167d0dc6745d36c55e16126a23a4cf621.zip
- Add py-cairo at version 0.5.0
* Cairo 0.5.0 update port. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@4004 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'graphics')
-rw-r--r--graphics/py-cairo/Makefile52
-rw-r--r--graphics/py-cairo/distinfo2
-rw-r--r--graphics/py-cairo/pkg-descr3
-rw-r--r--graphics/py-cairo/pkg-plist10
4 files changed, 67 insertions, 0 deletions
diff --git a/graphics/py-cairo/Makefile b/graphics/py-cairo/Makefile
new file mode 100644
index 000000000..0e1f4ca66
--- /dev/null
+++ b/graphics/py-cairo/Makefile
@@ -0,0 +1,52 @@
+# New ports collection makefile for: py-cairo
+# Date created: 2004-12-05
+# Whom: Michael Johnson <ahze@FreeBSD.org>
+#
+# $FreeBSD: ports/graphics/py-cairo/Makefile,v 1.7 2005/03/13 20:01:49 ahze Exp $
+#
+
+PORTNAME= cairo
+PORTVERSION= 0.5.0
+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= ${PYNUMERIC}
+LIB_DEPENDS= cairo.1:${PORTSDIR}/graphics/cairo
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+USE_PYTHON= yes
+USE_REINPLACE= yes
+WANT_GNOME= yes
+USE_LIBTOOL_VER=15
+
+.include <bsd.port.pre.mk>
+
+.if !defined(WITHOUT_PYGTK)
+USE_GNOME= pygtk2
+PLIST_SUB+= GTK=""
+.else
+PLIST_SUB+= GTK="@comment "
+.endif
+
+.if !defined(WITHOUT_SVG)
+LIB_DEPENDS+= svg-cairo.1:${PORTSDIR}/graphics/libsvg-cairo
+PLIST_SUB+= SVG=""
+.else
+PLIST_SUB+= SVG="@comment "
+.endif
+
+pre-everything::
+ @${ECHO_MSG} "Disable SVG support by defining WITHOUT_SVG"
+ @${ECHO_MSG} "Disable PyGtk support by defining WITHOUT_PYGTK"
+ @${ECHO_MSG}
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|$$(libdir)/pkgconfig|${PREFIX}/libdata/pkgconfig|' \
+ ${WRKSRC}/Makefile.in
+
+.include <bsd.port.post.mk>
diff --git a/graphics/py-cairo/distinfo b/graphics/py-cairo/distinfo
new file mode 100644
index 000000000..03e48bba3
--- /dev/null
+++ b/graphics/py-cairo/distinfo
@@ -0,0 +1,2 @@
+MD5 (pycairo-0.5.0.tar.gz) = c1b07bfbe1dea192d7a787710b0ad8c0
+SIZE (pycairo-0.5.0.tar.gz) = 449643
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..d527484c5
--- /dev/null
+++ b/graphics/py-cairo/pkg-plist
@@ -0,0 +1,10 @@
+include/pycairo/pycairo.h
+%%PYTHON_SITELIBDIR%%/cairo/__init__.py
+%%PYTHON_SITELIBDIR%%/cairo/__init__.pyc
+%%PYTHON_SITELIBDIR%%/cairo/__init__.pyo
+%%PYTHON_SITELIBDIR%%/cairo/_cairo.so
+%%PYTHON_SITELIBDIR%%/cairo/gtk.so
+%%PYTHON_SITELIBDIR%%/cairo/svg.so
+libdata/pkgconfig/pycairo.pc
+@dirrm %%PYTHON_SITELIBDIR%%/cairo
+@dirrm include/pycairo