From ae0c6fecad1b7ff499e96798292fb30172addbe8 Mon Sep 17 00:00:00 2001
From: Jay Soffian <jay@soffian.org>
Date: Tue, 12 Feb 2008 20:45:02 -0500
Subject: [PATCH] Portfile contribution for py-gtksourceview2
This port provides the Python bindings for gtksourceview2
Signed-off-by: Jay Soffian <jay@soffian.org>
---
python/py-gtksourceview2/Portfile | 33 +++++++++++++++++++++++++++++++++
1 files changed, 33 insertions(+), 0 deletions(-)
create mode 100644 python/py-gtksourceview2/Portfile
diff --git a/python/py-gtksourceview2/Portfile b/python/py-gtksourceview2/Portfile
new file mode 100644
index 0000000..32a83d4
-
|
+
|
|
| 1 | # $Id: Portfile 33081 2008-01-17 16:46:38Z nox@macports.org $ |
| 2 | |
| 3 | PortSystem 1.0 |
| 4 | name py-gtksourceview2 |
| 5 | version 2.1.1 |
| 6 | categories python x11 |
| 7 | maintainers nomaintainer |
| 8 | description PyGtkSourceView2 is the Python binding to GtkSourceView 2.x |
| 9 | long_description \ |
| 10 | PyGtkSourceView2 is a module that allows you to use GtkSourceView in Python programs. |
| 11 | |
| 12 | homepage http://ftp.gnome.org/pub/GNOME/sources/pygtksourceview/2.1/ |
| 13 | master_sites gnome:sources/pygtksourceview/2.1/ |
| 14 | distname pygtksourceview-${version} |
| 15 | use_bzip2 yes |
| 16 | checksums md5 d720ed1bf48e421a0b14fed9b654a974 \ |
| 17 | sha1 7f653ae583de2688f9a9f18f9769a8d3cb23a6b0 \ |
| 18 | rmd160 e2c6fa82930cab284992676ce7b22b5d0172691d |
| 19 | |
| 20 | depends_build port:pkgconfig port:libxslt |
| 21 | |
| 22 | depends_lib port:gtksourceview2 port:py-gobject |
| 23 | |
| 24 | platform darwin 7 { |
| 25 | configure.env CFLAGS="-I${x11prefix}/include" |
| 26 | } |
| 27 | |
| 28 | platform darwin 9 { |
| 29 | post-patch { |
| 30 | reinplace "s| -export-symbols-regex.*||g" ${worksrcpath}/Makefile.am |
| 31 | reinplace "s| -export-symbols-regex.*||g" ${worksrcpath}/Makefile.in |
| 32 | } |
| 33 | } |