ports/137917: [new port] devel/monodevelop-vala: Vala language
support for Monodevelop
Romain Tartière
romain at blogreen.org
Mon Aug 24 14:25:35 UTC 2009
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 at 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 at 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 at 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)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-mono/attachments/20090824/c5fa914d/attachment.pgp
More information about the freebsd-mono
mailing list