summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorJeremy Messenger <mezz@FreeBSD.org>2005-07-10 21:43:47 +0000
committerJeremy Messenger <mezz@FreeBSD.org>2005-07-10 21:43:47 +0000
commit18ce996f235be8035b330248c89ad95b9df42c59 (patch)
treeec93e4a591d5f9b3f0514e060e34f5648056455f /devel
parent- Update to 1.0.7. (diff)
The mono-tools package contains the documentation browser for the Mono
class libraries. WWW: http://www.mono-project.com BSD# - Project by: http://www.mono-project.com/Mono:FreeBSD
Notes
Notes: svn path=/head/; revision=138852
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/mono-tools/Makefile33
-rw-r--r--devel/mono-tools/distinfo2
-rw-r--r--devel/mono-tools/files/patch-Makefile.in.in10
-rw-r--r--devel/mono-tools/files/patch-catalog.cs.in36
-rw-r--r--devel/mono-tools/pkg-descr4
-rw-r--r--devel/mono-tools/pkg-plist11
7 files changed, 97 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index dfeb9bccb883..9018a8687721 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -584,6 +584,7 @@
SUBDIR += mkmf
SUBDIR += mm
SUBDIR += mob
+ SUBDIR += mono-tools
SUBDIR += monodoc
SUBDIR += monotone
SUBDIR += motor
diff --git a/devel/mono-tools/Makefile b/devel/mono-tools/Makefile
new file mode 100644
index 000000000000..60a667dc21fd
--- /dev/null
+++ b/devel/mono-tools/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: mono-tools
+# Date created: 2005-06-16
+# Whom: Tom McLaughlin <tmclaugh@sdf.lonestar.org>
+#
+# $Id: Makefile,v 1.3 2005/07/02 22:27:12 apeiron Exp $
+# $FreeBSD$
+#
+
+PORTNAME= mono-tools
+PORTVERSION= 1.0
+PORTREVISION= 2
+CATEGORIES= devel
+MASTER_SITES= http://www.go-mono.com/sources/${PORTNAME}/
+
+MAINTAINER= bsd-sharp-list@forge.novell.com
+COMMENT= Documentation browser for Mono and Mono libraries
+
+BUILD_DEPENDS= gapi-fixup:${PORTSDIR}/x11-toolkits/gtk-sharp \
+ monodocer:${PORTSDIR}/devel/monodoc
+RUN_DEPENDS= gapi-fixup:${PORTSDIR}/x11-toolkits/gtk-sharp \
+ monodocer:${PORTSDIR}/devel/monodoc
+
+USE_GNOME= gnomehack gnometarget
+USE_X_PREFIX= yes
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+USE_REINPLACE= yes
+
+post-extract:
+ @${REINPLACE_CMD} -e 's|@bindir@/monodoc|monodoc|g' \
+ ${WRKSRC}/docbrowser/monodoc.desktop.in
+
+.include <bsd.port.mk>
diff --git a/devel/mono-tools/distinfo b/devel/mono-tools/distinfo
new file mode 100644
index 000000000000..e41ef1fda278
--- /dev/null
+++ b/devel/mono-tools/distinfo
@@ -0,0 +1,2 @@
+MD5 (mono-tools-1.0.tar.gz) = 9e7db3d6c56226f237b34cb0cd8763d3
+SIZE (mono-tools-1.0.tar.gz) = 240950
diff --git a/devel/mono-tools/files/patch-Makefile.in.in b/devel/mono-tools/files/patch-Makefile.in.in
new file mode 100644
index 000000000000..d89a70946377
--- /dev/null
+++ b/devel/mono-tools/files/patch-Makefile.in.in
@@ -0,0 +1,10 @@
+--- po/Makefile.in.in.orig Fri Jun 17 01:34:05 2005
++++ po/Makefile.in.in Fri Jun 17 01:39:12 2005
+@@ -32,6 +32,7 @@
+ gettextsrcdir = $(datadir)/glib-2.0/gettext/po
+ subdir = po
+
++mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+ INSTALL = @INSTALL@
+ INSTALL_DATA = @INSTALL_DATA@
+
diff --git a/devel/mono-tools/files/patch-catalog.cs.in b/devel/mono-tools/files/patch-catalog.cs.in
new file mode 100644
index 000000000000..bcccf6ab3d7c
--- /dev/null
+++ b/devel/mono-tools/files/patch-catalog.cs.in
@@ -0,0 +1,36 @@
+--- gnunit/src/catalog.cs.in.orig Sat Jul 2 13:53:24 2005
++++ gnunit/src/catalog.cs.in Sat Jul 2 13:55:02 2005
+@@ -21,12 +21,12 @@
+ using System.Runtime.InteropServices;
+
+ class Catalog {
+- [DllImport("libc")]
++ [DllImport("libintl")]
+ static extern IntPtr bindtextdomain (IntPtr domainname, IntPtr dirname);
+- [DllImport("libc")]
++ [DllImport("libintl")]
+ static extern IntPtr bind_textdomain_codeset (IntPtr domainname,
+ IntPtr codeset);
+- [DllImport("libc")]
++ [DllImport("libintl")]
+ static extern IntPtr textdomain (IntPtr domainname);
+
+ public static void Init (String package, String localedir)
+@@ -42,7 +42,7 @@
+ Marshal.FreeHGlobal (iutf8);
+ }
+
+- [DllImport("libc")]
++ [DllImport("libintl")]
+ static extern IntPtr gettext (IntPtr instring);
+
+ public static String GetString (String s)
+@@ -53,7 +53,7 @@
+ return t;
+ }
+
+- [DllImport("libc")]
++ [DllImport("libintl")]
+ static extern IntPtr ngettext (IntPtr singular, IntPtr plural, Int32 n);
+
+ public static String GetPluralString (String s, String p, Int32 n)
diff --git a/devel/mono-tools/pkg-descr b/devel/mono-tools/pkg-descr
new file mode 100644
index 000000000000..c9bf789eb190
--- /dev/null
+++ b/devel/mono-tools/pkg-descr
@@ -0,0 +1,4 @@
+The mono-tools package contains the documentation browser for the Mono
+class libraries.
+
+WWW: http://www.mono-project.com/
diff --git a/devel/mono-tools/pkg-plist b/devel/mono-tools/pkg-plist
new file mode 100644
index 000000000000..6f96b7b19d3c
--- /dev/null
+++ b/devel/mono-tools/pkg-plist
@@ -0,0 +1,11 @@
+bin/gasnview
+bin/gnunit
+bin/gnunit2
+bin/monodoc
+lib/mono/1.0/gasnview.exe
+lib/mono/1.0/gnunit.exe
+lib/mono/2.0/gnunit2.exe
+lib/monodoc/browser.exe
+share/applications/monodoc.desktop
+share/pixmaps/monodoc.png
+@unexec rmdir %D/share/applications 2> /dev/null || true