summaryrefslogtreecommitdiff
path: root/lang/mono-basic
diff options
context:
space:
mode:
authorFlorent Thoumie <flz@FreeBSD.org>2009-06-23 11:46:02 +0000
committerFlorent Thoumie <flz@FreeBSD.org>2009-06-23 11:46:02 +0000
commit9b5ea55ce4ef770baad9f0ed5b488133ac3f8512 (patch)
tree5e2e94a6f3bb44b59a2e62da47b87e485df63437 /lang/mono-basic
parentFix the crash with c-ares-1.6.0. (diff)
Add lang/mono-basic 2.4, VisualBasic.NET support for Mono.
PR: ports/135928 Submitted by: Romain Tartiere
Notes
Notes: svn path=/head/; revision=236512
Diffstat (limited to 'lang/mono-basic')
-rw-r--r--lang/mono-basic/Makefile30
-rw-r--r--lang/mono-basic/distinfo3
-rw-r--r--lang/mono-basic/files/patch-configure14
-rw-r--r--lang/mono-basic/files/patch-vbruntime_Test_Makefile14
-rw-r--r--lang/mono-basic/pkg-descr3
5 files changed, 64 insertions, 0 deletions
diff --git a/lang/mono-basic/Makefile b/lang/mono-basic/Makefile
new file mode 100644
index 000000000000..07a82a669e8d
--- /dev/null
+++ b/lang/mono-basic/Makefile
@@ -0,0 +1,30 @@
+# New ports collection makefile for: mono-basic
+# Date created: 2008-12-20
+# Whom: Romain Tartiere <romain@blogreen.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= mono-basic
+PORTVERSION= 2.4
+CATEGORIES= lang
+MASTER_SITES= http://ftp.novell.com/pub/mono/sources/${PORTNAME}/
+
+MAINTAINER= mono@FreeBSD.org
+COMMENT= VisualBasic.NET support for Mono
+
+BUILD_DEPENDS= mono:${PORTSDIR}/lang/mono
+RUN_DEPENDS= mono:${PORTSDIR}/lang/mono
+
+MAN1= vbnc.1
+
+USE_BZIP2= yes
+HAS_CONFIGURE= yes
+USE_GMAKE= yes
+
+tests: build
+ @${ECHO_MSG} "===> Running ${PORTNAME} regression tests"
+ @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} \
+ ${MAKE_FLAGS} Makefile ${MAKE_ARGS} test)
+
+.include <bsd.port.mk>
diff --git a/lang/mono-basic/distinfo b/lang/mono-basic/distinfo
new file mode 100644
index 000000000000..c1a3a7ea681f
--- /dev/null
+++ b/lang/mono-basic/distinfo
@@ -0,0 +1,3 @@
+MD5 (mono-basic-2.4.tar.bz2) = ee15480cfc667d514c958313ee980572
+SHA256 (mono-basic-2.4.tar.bz2) = 0964b5bbc2f6731f469e39a98ed2f212eed0886865fbbf24880d947e87a94416
+SIZE (mono-basic-2.4.tar.bz2) = 1207415
diff --git a/lang/mono-basic/files/patch-configure b/lang/mono-basic/files/patch-configure
new file mode 100644
index 000000000000..251903b53f83
--- /dev/null
+++ b/lang/mono-basic/files/patch-configure
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- configure.orig
++++ configure
+@@ -19,7 +19,7 @@
+ echo "prefix=$prefix" > build/config.make
+ echo "exec_prefix=\${prefix}" >> build/config.make
+ echo "mono_libdir=\${exec_prefix}/lib" >> build/config.make
+-echo "man_dir=\${exec_prefix}/share/man" >> build/config.make
++echo "man_dir=\${exec_prefix}/man" >> build/config.make
+ echo "man1_dir=\${man_dir}/man1" >> build/config.make
+ echo "MCS_FLAGS=-debug+" >> build/config.make
+ echo "RUNTIME=mono" >> build/config.make
diff --git a/lang/mono-basic/files/patch-vbruntime_Test_Makefile b/lang/mono-basic/files/patch-vbruntime_Test_Makefile
new file mode 100644
index 000000000000..388551a5b67e
--- /dev/null
+++ b/lang/mono-basic/files/patch-vbruntime_Test_Makefile
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- vbruntime/Test/Makefile.orig
++++ vbruntime/Test/Makefile
+@@ -62,7 +62,7 @@
+ MONO_PATH=$(MONO_VB_PATH) mono ../../tools/extract-source/extract-source.exe -s:2005VB_test_CS.csproj -d:2005VB_test_CS.dll.sources.win -m:w
+
+ test-first:
+- cd ../Microsoft.VisualBasic && make && cp ../../class/lib/vbnc/Microsoft.VisualBasic.dll* ../Test/bin
++ cd ../Microsoft.VisualBasic && ${MAKE} && cp ../../class/lib/vbnc/Microsoft.VisualBasic.dll* ../Test/bin
+
+ test-cs: test-first 2005VB_test_CS.dll.sources
+ $(CSCOMPILER) "-out:bin/2005VB_test_CS.dll" @2005VB_test_CS.dll.rsp @2005VB_test_CS.dll.sources -lib:bin $(CSDEFINES)
diff --git a/lang/mono-basic/pkg-descr b/lang/mono-basic/pkg-descr
new file mode 100644
index 000000000000..62815bcb454f
--- /dev/null
+++ b/lang/mono-basic/pkg-descr
@@ -0,0 +1,3 @@
+Mono Basic: Visual Basic Compiler and Runtime.
+
+WWW: http://www.mono-project.com/VisualBasic.NET