summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2008-12-20 13:43:37 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2008-12-20 13:43:37 +0800
commit0c5ba43f7534adb50b09450b45cef0da05c8ffc1 (patch)
tree204683f0d5b3bc9a7bf8871ad14748d873ac830b /graphics
parente7d3283d8105aaddfbae707887f97c7d0e02ce7f (diff)
downloadmarcuscom-ports-0c5ba43f7534adb50b09450b45cef0da05c8ffc1.tar
marcuscom-ports-0c5ba43f7534adb50b09450b45cef0da05c8ffc1.tar.gz
marcuscom-ports-0c5ba43f7534adb50b09450b45cef0da05c8ffc1.tar.bz2
marcuscom-ports-0c5ba43f7534adb50b09450b45cef0da05c8ffc1.tar.lz
marcuscom-ports-0c5ba43f7534adb50b09450b45cef0da05c8ffc1.tar.xz
marcuscom-ports-0c5ba43f7534adb50b09450b45cef0da05c8ffc1.tar.zst
marcuscom-ports-0c5ba43f7534adb50b09450b45cef0da05c8ffc1.zip
Update to 1.8.0.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@11828 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'graphics')
-rw-r--r--graphics/py-cairo/Makefile36
-rw-r--r--graphics/py-cairo/distinfo3
-rw-r--r--graphics/py-cairo/pkg-descr3
-rw-r--r--graphics/py-cairo/pkg-plist9
4 files changed, 51 insertions, 0 deletions
diff --git a/graphics/py-cairo/Makefile b/graphics/py-cairo/Makefile
new file mode 100644
index 000000000..9c407dfb3
--- /dev/null
+++ b/graphics/py-cairo/Makefile
@@ -0,0 +1,36 @@
+# 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.22 2007/03/14 21:38:08 ahze Exp $
+#
+
+PORTNAME= cairo
+PORTVERSION= 1.8.0
+CATEGORIES= graphics python
+MASTER_SITES= http://cairographics.org/releases/
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= py${PORTNAME}-${PORTVERSION}
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= Python bindings for Cairo
+
+BUILD_DEPENDS= ${PYNUMERIC}
+LIB_DEPENDS= cairo.2:${PORTSDIR}/graphics/cairo
+RUN_DEPENDS= ${PYNUMERIC}
+
+USE_PYTHON= yes
+USE_GMAKE= yes
+USE_GNOME= gnometarget gnomehack
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --without-pygtk
+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..86c26004f
--- /dev/null
+++ b/graphics/py-cairo/distinfo
@@ -0,0 +1,3 @@
+MD5 (pycairo-1.8.0.tar.gz) = 847f5377c32228a656819f5bd18eb6b4
+SHA256 (pycairo-1.8.0.tar.gz) = a2272dafceb25ed9fedd0b10429dfec9c412b3b36eb6137f79c87e7d004036d4
+SIZE (pycairo-1.8.0.tar.gz) = 517701
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