Bug 137917 - [new port] devel/monodevelop-vala: Vala language support for Monodevelop
Summary: [new port] devel/monodevelop-vala: Vala language support for Monodevelop
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-mono (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-18 11:20 UTC by freebsd-mono (Nobody)
Modified: 2009-09-14 05:01 UTC (History)
0 users

See Also:


Attachments
monodevelop-vala.sh (4.59 KB, text/plain)
2009-08-18 11:20 UTC, freebsd-mono (Nobody)
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description freebsd-mono (Nobody) freebsd_committer freebsd_triage 2009-08-18 11:20:02 UTC
Depends on ports/117545: [New Port] devel/monodevelop
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2009-08-18 11:21:07 UTC
Responsible Changed
From-To: freebsd-ports-bugs->mono

Submitter has GNATS access (via the GNATS Auto Assign Tool)
Comment 2 Romain Tartière 2009-08-24 15:25:33 UTC
Typo in the dependency list. s/LOCALBASE/PORTSDIR/

New port follows.

--- monodevelop-vala.sh begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	monodevelop-vala
#	monodevelop-vala/files
#	monodevelop-vala/files/patch-Navigation_ProjectNodeBuilderExtension.cs
#	monodevelop-vala/files/patch-Parser_TagDatabaseManager.cs
#	monodevelop-vala/distinfo
#	monodevelop-vala/pkg-descr
#	monodevelop-vala/Makefile
#
echo c - monodevelop-vala
mkdir -p monodevelop-vala > /dev/null 2>&1
echo c - monodevelop-vala/files
mkdir -p monodevelop-vala/files > /dev/null 2>&1
echo x - monodevelop-vala/files/patch-Navigation_ProjectNodeBuilderExtension.cs
sed 's/^X//' >monodevelop-vala/files/patch-Navigation_ProjectNodeBuilderExtension.cs << 'e5fe5b294de7b299afdc0aa52c15f174'
X
X$FreeBSD$
X
X--- Navigation/ProjectNodeBuilderExtension.cs.orig
X+++ Navigation/ProjectNodeBuilderExtension.cs
X@@ -100,7 +100,7 @@
X 			check_ctags = true;
X 			
X 			try {
X-				ProcessWrapper p = Runtime.ProcessService.StartProcess ("ctags", "--version", null, null);
X+				ProcessWrapper p = Runtime.ProcessService.StartProcess ("exctags", "--version", null, null);
X 				p.WaitForOutput ();
X 				have_ctags = true;
X 			} catch {
e5fe5b294de7b299afdc0aa52c15f174
echo x - monodevelop-vala/files/patch-Parser_TagDatabaseManager.cs
sed 's/^X//' >monodevelop-vala/files/patch-Parser_TagDatabaseManager.cs << '4fd96898e2f7a28cc7ef70e74614f30b'
X
X$FreeBSD$
X
X--- Parser/TagDatabaseManager.cs.orig
X+++ Parser/TagDatabaseManager.cs
X@@ -81,7 +81,7 @@
X 						return false;
X 					}
X 					try {
X-						Runtime.ProcessService.StartProcess ("ctags", "--version", null, null).WaitForOutput ();
X+						Runtime.ProcessService.StartProcess ("exctags", "--version", null, null).WaitForOutput ();
X 					} catch {
X 						LoggingService.LogWarning ("Cannot update Vala tags database because exuberant ctags is not installed.");
X 						return false;
X@@ -254,7 +254,7 @@
X 				try {
X 					output = new System.IO.StringWriter ();
X 					
X-					p = Runtime.ProcessService.StartProcess ("ctags", ctags_options, null, output, output, null);
X+					p = Runtime.ProcessService.StartProcess ("exctags", ctags_options, null, output, output, null);
X 					p.WaitForOutput (10000);
X 					if (p.ExitCode != 0 || !File.Exists (tagFullFileName)) {
X 						LoggingService.LogError ("Ctags did not successfully populate the tags database '{0}' from '{1}' within ten seconds.\nOutput: {2}", tagFullFileName, output.ToString ());
X@@ -345,7 +345,7 @@
X 			try {
X 				output = new System.IO.StringWriter ();
X 				error = new System.IO.StringWriter ();
X-				p = Runtime.ProcessService.StartProcess ("ctags", ctags_options, null, output, error, null);
X+				p = Runtime.ProcessService.StartProcess ("exctags", ctags_options, null, output, error, null);
X 				p.WaitForOutput (10000);
X 				if (p.ExitCode != 0) {
X 					LoggingService.LogError ("Ctags did not successfully populate the tags database from '{0}' within ten seconds.\nError output: {1}", filename, error.ToString ());
4fd96898e2f7a28cc7ef70e74614f30b
echo x - monodevelop-vala/distinfo
sed 's/^X//' >monodevelop-vala/distinfo << '5a86430bbf585811903f552c170c713c'
XMD5 (monodevelop-vala-2.0.tar.bz2) = 42eb94006f211a811d9bb339841c5e00
XSHA256 (monodevelop-vala-2.0.tar.bz2) = fb1542a65dd5e96aed66a3e16a4c9bc9b3280d97caaa9a026b3c883571b4b699
XSIZE (monodevelop-vala-2.0.tar.bz2) = 103958
5a86430bbf585811903f552c170c713c
echo x - monodevelop-vala/pkg-descr
sed 's/^X//' >monodevelop-vala/pkg-descr << '62be0e1d8c6a225ee5da06f2982ab9c6'
XVala support for the MonoDevelop IDE.
X
XWWW:	http://www.monodevelop.org
62be0e1d8c6a225ee5da06f2982ab9c6
echo x - monodevelop-vala/Makefile
sed 's/^X//' >monodevelop-vala/Makefile << '3daaec542df9c86770dafb1b25edb66e'
X# New ports collection makefile for:	monodevelop-vala
X# Date created:		2009-06-30
X# Whom:			Romain Tartiere <romain@blogreen.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	monodevelop-vala
XPORTVERSION=	2.0
XCATEGORIES=	devel
XMASTER_SITES=	http://ftp.novell.com/pub/mono/sources/${PORTNAME}/
X
XMAINTAINER=	mono@FreeBSD.org
XCOMMENT=	Vala language support for Monodevelop
X
XBUILD_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/monodevelop.pc:${PORTSDIR}/devel/monodevelop
XRUN_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/monodevelop.pc:${PORTSDIR}/devel/monodevelop \
X		exctags:${PORTSDIR}/devel/ctags \
X		valac:${PORTSDIR}/lang/vala
X
XUSE_BZIP2=	yes
XGNU_CONFIGURE=	yes
XUSE_GMAKE=	yes
XPLIST_FILES=	lib/monodevelop/AddIns/BackendBindings/MonoDevelop.ValaBinding.dll
X
X.include <bsd.port.mk>
3daaec542df9c86770dafb1b25edb66e
exit
--- monodevelop-vala.sh ends here ---

Thanks!

-- 
Romain Tartière <romain@blogreen.org>        http://romain.blogreen.org/
pgp: 8DAB A124 0DA4 7024 F82A  E748 D8E9 A33F FF56 FF43 (ID: 0xFF56FF43)
(plain text =non-HTML= PGP/GPG encrypted/signed e-mail much appreciated)
Comment 3 Greg Lewis freebsd_committer freebsd_triage 2009-09-14 05:01:33 UTC
State Changed
From-To: open->closed

Committed. Thanks!