Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Aug 2009 16:25:33 +0200
From:      Romain =?iso-8859-1?Q?Tarti=E8re?= <romain@blogreen.org>
To:        bug-followup@FreeBSD.org, mono@FreeBSD.org
Subject:   Re: ports/137917: [new port] devel/monodevelop-vala: Vala language support for Monodevelop
Message-ID:  <20090824142533.GA19413@blogreen.org>

next in thread | raw e-mail | index | archive | help

--uAKRQypu60I7Lcqm
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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_ProjectNodeBuilderExtensio=
n.cs
sed 's/^X//' >monodevelop-vala/files/patch-Navigation_ProjectNodeBuilderExt=
ension.cs << 'e5fe5b294de7b299afdc0aa52c15f174'
X
X$FreeBSD$
X
X--- Navigation/ProjectNodeBuilderExtension.cs.orig
X+++ Navigation/ProjectNodeBuilderExtension.cs
X@@ -100,7 +100,7 @@
X 			check_ctags =3D true;
X 		=09
X 			try {
X-				ProcessWrapper p =3D Runtime.ProcessService.StartProcess ("ctags", "-=
-version", null, null);
X+				ProcessWrapper p =3D Runtime.ProcessService.StartProcess ("exctags", =
"--version", null, null);
X 				p.WaitForOutput ();
X 				have_ctags =3D 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, nu=
ll).WaitForOutput ();
X+						Runtime.ProcessService.StartProcess ("exctags", "--version", null, =
null).WaitForOutput ();
X 					} catch {
X 						LoggingService.LogWarning ("Cannot update Vala tags database becaus=
e exuberant ctags is not installed.");
X 						return false;
X@@ -254,7 +254,7 @@
X 				try {
X 					output =3D new System.IO.StringWriter ();
X 				=09
X-					p =3D Runtime.ProcessService.StartProcess ("ctags", ctags_options, n=
ull, output, output, null);
X+					p =3D Runtime.ProcessService.StartProcess ("exctags", ctags_options,=
 null, output, output, null);
X 					p.WaitForOutput (10000);
X 					if (p.ExitCode !=3D 0 || !File.Exists (tagFullFileName)) {
X 						LoggingService.LogError ("Ctags did not successfully populate the t=
ags database '{0}' from '{1}' within ten seconds.\nOutput: {2}", tagFullFil=
eName, output.ToString ());
X@@ -345,7 +345,7 @@
X 			try {
X 				output =3D new System.IO.StringWriter ();
X 				error =3D new System.IO.StringWriter ();
X-				p =3D Runtime.ProcessService.StartProcess ("ctags", ctags_options, nu=
ll, output, error, null);
X+				p =3D Runtime.ProcessService.StartProcess ("exctags", ctags_options, =
null, output, error, null);
X 				p.WaitForOutput (10000);
X 				if (p.ExitCode !=3D 0) {
X 					LoggingService.LogError ("Ctags did not successfully populate the ta=
gs database from '{0}' within ten seconds.\nError output: {1}", filename, e=
rror.ToString ());
4fd96898e2f7a28cc7ef70e74614f30b
echo x - monodevelop-vala/distinfo
sed 's/^X//' >monodevelop-vala/distinfo << '5a86430bbf585811903f552c170c713=
c'
XMD5 (monodevelop-vala-2.0.tar.bz2) =3D 42eb94006f211a811d9bb339841c5e00
XSHA256 (monodevelop-vala-2.0.tar.bz2) =3D fb1542a65dd5e96aed66a3e16a4c9bc9=
b3280d97caaa9a026b3c883571b4b699
XSIZE (monodevelop-vala-2.0.tar.bz2) =3D 103958
5a86430bbf585811903f552c170c713c
echo x - monodevelop-vala/pkg-descr
sed 's/^X//' >monodevelop-vala/pkg-descr << '62be0e1d8c6a225ee5da06f2982ab9=
c6'
XVala support for the MonoDevelop IDE.
X
XWWW:	http://www.monodevelop.org
62be0e1d8c6a225ee5da06f2982ab9c6
echo x - monodevelop-vala/Makefile
sed 's/^X//' >monodevelop-vala/Makefile << '3daaec542df9c86770dafb1b25edb66=
e'
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=3D	monodevelop-vala
XPORTVERSION=3D	2.0
XCATEGORIES=3D	devel
XMASTER_SITES=3D	http://ftp.novell.com/pub/mono/sources/${PORTNAME}/
X
XMAINTAINER=3D	mono@FreeBSD.org
XCOMMENT=3D	Vala language support for Monodevelop
X
XBUILD_DEPENDS=3D	${LOCALBASE}/libdata/pkgconfig/monodevelop.pc:${PORTSDIR}=
/devel/monodevelop
XRUN_DEPENDS=3D	${LOCALBASE}/libdata/pkgconfig/monodevelop.pc:${PORTSDIR}/d=
evel/monodevelop \
X		exctags:${PORTSDIR}/devel/ctags \
X		valac:${PORTSDIR}/lang/vala
X
XUSE_BZIP2=3D	yes
XGNU_CONFIGURE=3D	yes
XUSE_GMAKE=3D	yes
XPLIST_FILES=3D	lib/monodevelop/AddIns/BackendBindings/MonoDevelop.ValaBind=
ing.dll
X
X.include <bsd.port.mk>
3daaec542df9c86770dafb1b25edb66e
exit
--- monodevelop-vala.sh ends here ---

Thanks!

--=20
Romain Tarti=E8re <romain@blogreen.org>        http://romain.blogreen.org/
pgp: 8DAB A124 0DA4 7024 F82A  E748 D8E9 A33F FF56 FF43 (ID: 0xFF56FF43)
(plain text =3Dnon-HTML=3D PGP/GPG encrypted/signed e-mail much appreciated)

--uAKRQypu60I7Lcqm
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (FreeBSD)

iEYEARECAAYFAkqSot0ACgkQ2OmjP/9W/0MJOwCcCWuTE9vxdOHy0NN6U+VL3AhN
nYQAn19MHS2LP04DaoMqZTGvizp40r2T
=G4+y
-----END PGP SIGNATURE-----

--uAKRQypu60I7Lcqm--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090824142533.GA19413>