1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

Vala support for the MonoDevelop IDE.

PR:		137917
Submitted by:	Romain Tartiere <romain@blogreen.org>
This commit is contained in:
Greg Lewis 2009-09-14 04:01:22 +00:00
parent 17460383c4
commit 9dadb5b09c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=241365
6 changed files with 79 additions and 0 deletions

View File

@ -873,6 +873,7 @@
SUBDIR += monodevelop-boo
SUBDIR += monodevelop-database
SUBDIR += monodevelop-java
SUBDIR += monodevelop-vala
SUBDIR += monotone
SUBDIR += monotone-viz
SUBDIR += motor

View File

@ -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>

View File

@ -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

View File

@ -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 {

View File

@ -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 ());

View File

@ -0,0 +1,3 @@
Vala support for the MonoDevelop IDE.
WWW: http://www.monodevelop.org