diff options
author | glewis <glewis@FreeBSD.org> | 2009-09-14 12:01:22 +0800 |
---|---|---|
committer | glewis <glewis@FreeBSD.org> | 2009-09-14 12:01:22 +0800 |
commit | 3248a9e3d4e4234a0a55a73f05434cefbc333c28 (patch) | |
tree | a01f7b2d7b72c65365bd43e3cdad4fe4a59f23e5 /devel | |
parent | ce4dc184d5938cbe10ee42a75e9da7dc84336e44 (diff) | |
download | freebsd-ports-gnome-3248a9e3d4e4234a0a55a73f05434cefbc333c28.tar.gz freebsd-ports-gnome-3248a9e3d4e4234a0a55a73f05434cefbc333c28.tar.zst freebsd-ports-gnome-3248a9e3d4e4234a0a55a73f05434cefbc333c28.zip |
Vala support for the MonoDevelop IDE.
PR: 137917
Submitted by: Romain Tartiere <romain@blogreen.org>
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/monodevelop-vala/Makefile | 26 | ||||
-rw-r--r-- | devel/monodevelop-vala/distinfo | 3 | ||||
-rw-r--r-- | devel/monodevelop-vala/files/patch-Navigation_ProjectNodeBuilderExtension.cs | 14 | ||||
-rw-r--r-- | devel/monodevelop-vala/files/patch-Parser_TagDatabaseManager.cs | 32 | ||||
-rw-r--r-- | devel/monodevelop-vala/pkg-descr | 3 |
6 files changed, 79 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 497d3d761c76..5296c3073198 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -873,6 +873,7 @@ SUBDIR += monodevelop-boo SUBDIR += monodevelop-database SUBDIR += monodevelop-java + SUBDIR += monodevelop-vala SUBDIR += monotone SUBDIR += monotone-viz SUBDIR += motor diff --git a/devel/monodevelop-vala/Makefile b/devel/monodevelop-vala/Makefile new file mode 100644 index 000000000000..5ff412eb64a9 --- /dev/null +++ b/devel/monodevelop-vala/Makefile @@ -0,0 +1,26 @@ +# New ports collection makefile for: monodevelop-vala +# Date created: 2009-06-30 +# Whom: Romain Tartiere <romain@blogreen.org> +# +# $FreeBSD$ +# + +PORTNAME= monodevelop-vala +PORTVERSION= 2.0 +CATEGORIES= devel +MASTER_SITES= http://ftp.novell.com/pub/mono/sources/${PORTNAME}/ + +MAINTAINER= mono@FreeBSD.org +COMMENT= Vala language support for Monodevelop + +BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/monodevelop.pc:${PORTSDIR}/devel/monodevelop +RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/monodevelop.pc:${PORTSDIR}/devel/monodevelop \ + exctags:${PORTSDIR}/devel/ctags \ + valac:${PORTSDIR}/lang/vala + +USE_BZIP2= yes +GNU_CONFIGURE= yes +USE_GMAKE= yes +PLIST_FILES= lib/monodevelop/AddIns/BackendBindings/MonoDevelop.ValaBinding.dll + +.include <bsd.port.mk> diff --git a/devel/monodevelop-vala/distinfo b/devel/monodevelop-vala/distinfo new file mode 100644 index 000000000000..395532d8028b --- /dev/null +++ b/devel/monodevelop-vala/distinfo @@ -0,0 +1,3 @@ +MD5 (monodevelop-vala-2.0.tar.bz2) = 42eb94006f211a811d9bb339841c5e00 +SHA256 (monodevelop-vala-2.0.tar.bz2) = fb1542a65dd5e96aed66a3e16a4c9bc9b3280d97caaa9a026b3c883571b4b699 +SIZE (monodevelop-vala-2.0.tar.bz2) = 103958 diff --git a/devel/monodevelop-vala/files/patch-Navigation_ProjectNodeBuilderExtension.cs b/devel/monodevelop-vala/files/patch-Navigation_ProjectNodeBuilderExtension.cs new file mode 100644 index 000000000000..eb4c1623ba36 --- /dev/null +++ b/devel/monodevelop-vala/files/patch-Navigation_ProjectNodeBuilderExtension.cs @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- Navigation/ProjectNodeBuilderExtension.cs.orig ++++ Navigation/ProjectNodeBuilderExtension.cs +@@ -100,7 +100,7 @@ + check_ctags = true; + + try { +- ProcessWrapper p = Runtime.ProcessService.StartProcess ("ctags", "--version", null, null); ++ ProcessWrapper p = Runtime.ProcessService.StartProcess ("exctags", "--version", null, null); + p.WaitForOutput (); + have_ctags = true; + } catch { diff --git a/devel/monodevelop-vala/files/patch-Parser_TagDatabaseManager.cs b/devel/monodevelop-vala/files/patch-Parser_TagDatabaseManager.cs new file mode 100644 index 000000000000..604258444ad2 --- /dev/null +++ b/devel/monodevelop-vala/files/patch-Parser_TagDatabaseManager.cs @@ -0,0 +1,32 @@ + +$FreeBSD$ + +--- Parser/TagDatabaseManager.cs.orig ++++ Parser/TagDatabaseManager.cs +@@ -81,7 +81,7 @@ + return false; + } + try { +- Runtime.ProcessService.StartProcess ("ctags", "--version", null, null).WaitForOutput (); ++ Runtime.ProcessService.StartProcess ("exctags", "--version", null, null).WaitForOutput (); + } catch { + LoggingService.LogWarning ("Cannot update Vala tags database because exuberant ctags is not installed."); + return false; +@@ -254,7 +254,7 @@ + try { + output = new System.IO.StringWriter (); + +- p = Runtime.ProcessService.StartProcess ("ctags", ctags_options, null, output, output, null); ++ p = Runtime.ProcessService.StartProcess ("exctags", ctags_options, null, output, output, null); + p.WaitForOutput (10000); + if (p.ExitCode != 0 || !File.Exists (tagFullFileName)) { + LoggingService.LogError ("Ctags did not successfully populate the tags database '{0}' from '{1}' within ten seconds.\nOutput: {2}", tagFullFileName, output.ToString ()); +@@ -345,7 +345,7 @@ + try { + output = new System.IO.StringWriter (); + error = new System.IO.StringWriter (); +- p = Runtime.ProcessService.StartProcess ("ctags", ctags_options, null, output, error, null); ++ p = Runtime.ProcessService.StartProcess ("exctags", ctags_options, null, output, error, null); + p.WaitForOutput (10000); + if (p.ExitCode != 0) { + LoggingService.LogError ("Ctags did not successfully populate the tags database from '{0}' within ten seconds.\nError output: {1}", filename, error.ToString ()); diff --git a/devel/monodevelop-vala/pkg-descr b/devel/monodevelop-vala/pkg-descr new file mode 100644 index 000000000000..52a43cf6eb12 --- /dev/null +++ b/devel/monodevelop-vala/pkg-descr @@ -0,0 +1,3 @@ +Vala support for the MonoDevelop IDE. + +WWW: http://www.monodevelop.org |