From 15c9f96db150b9998b7369c9c56fdcc873928b9d Mon Sep 17 00:00:00 2001 From: Greg Lewis Date: Sun, 13 Sep 2009 21:09:56 +0000 Subject: Java language bindings for MonoDevelop (with IKVM). PR: 137916 Submitted by: Romain Tartiere --- devel/monodevelop-java/Makefile | 31 ++++++++++ devel/monodevelop-java/distinfo | 3 + .../monodevelop-java/files/patch-JavaBinding.make | 36 +++++++++++ devel/monodevelop-java/files/patch-Makefile | 53 +++++++++++++++++ devel/monodevelop-java/files/patch-configure | 8 +++ devel/monodevelop-java/pkg-descr | 3 + devel/monodevelop-java/pkg-plist | 69 ++++++++++++++++++++++ 7 files changed, 203 insertions(+) create mode 100644 devel/monodevelop-java/Makefile create mode 100644 devel/monodevelop-java/distinfo create mode 100644 devel/monodevelop-java/files/patch-JavaBinding.make create mode 100644 devel/monodevelop-java/files/patch-Makefile create mode 100644 devel/monodevelop-java/files/patch-configure create mode 100644 devel/monodevelop-java/pkg-descr create mode 100644 devel/monodevelop-java/pkg-plist (limited to 'devel/monodevelop-java') diff --git a/devel/monodevelop-java/Makefile b/devel/monodevelop-java/Makefile new file mode 100644 index 000000000000..3a669beccaf1 --- /dev/null +++ b/devel/monodevelop-java/Makefile @@ -0,0 +1,31 @@ +# New ports collection makefile for: monodevelop-java +# Date created: 2008-03-02 +# Whom: Romain Tartiere +# +# $FreeBSD$ +# + +PORTNAME= monodevelop-java +PORTVERSION= 2.0 +CATEGORIES= devel +MASTER_SITES= http://ftp.novell.com/pub/mono/sources/${PORTNAME}/ + +MAINTAINER= mono@FreeBSD.org +COMMENT= MonoDevelop Java/IKVM language support + +BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash \ + ${LOCALBASE}/libdata/pkgconfig/monodevelop.pc:${PORTSDIR}/devel/monodevelop +RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/monodevelop.pc:${PORTSDIR}/devel/monodevelop + +USE_BZIP2= yes +HAS_CONFIGURE= yes +USE_GMAKE= yes +USE_GETTEXT= yes +CONFIGURE_ARGS= --prefix=${PREFIX} +USE_GNOME= gtksharp20 + +post-patch: + @${REINPLACE_CMD} -e 's|[(]prefix[)]/lib/pkgconfig|(prefix)/libdata/pkgconfig|g' \ + ${WRKSRC}/JavaBinding.make + +.include diff --git a/devel/monodevelop-java/distinfo b/devel/monodevelop-java/distinfo new file mode 100644 index 000000000000..b6ab503f10b5 --- /dev/null +++ b/devel/monodevelop-java/distinfo @@ -0,0 +1,3 @@ +MD5 (monodevelop-java-2.0.tar.bz2) = e363776e8f215a1c0e25c3f81fd1a69d +SHA256 (monodevelop-java-2.0.tar.bz2) = 7124e3231257f1a128decd8b760c53d2e74919b04d0159109e4a5ce832f3b7bc +SIZE (monodevelop-java-2.0.tar.bz2) = 44436 diff --git a/devel/monodevelop-java/files/patch-JavaBinding.make b/devel/monodevelop-java/files/patch-JavaBinding.make new file mode 100644 index 000000000000..e2d4b84e995a --- /dev/null +++ b/devel/monodevelop-java/files/patch-JavaBinding.make @@ -0,0 +1,36 @@ +--- JavaBinding.make.orig 2008-03-02 14:16:19.000000000 +0100 ++++ JavaBinding.make 2008-03-02 14:15:17.000000000 +0100 +@@ -119,25 +119,25 @@ + LOCAL_PKGCONFIG=PKG_CONFIG_PATH=../../local-config:$$PKG_CONFIG_PATH + + $(ASSEMBLY) $(ASSEMBLY_MDB): $(build_sources) $(build_resources) $(build_datafiles) $(DLL_REFERENCES) $(PROJECT_REFERENCES) $(build_xamlg_list) +- make pre-all-local-hook prefix=$(prefix) ++ $(MAKE) pre-all-local-hook prefix=$(prefix) + mkdir -p $(dir $(ASSEMBLY)) +- make $(CONFIG)_BeforeBuild ++ $(MAKE) $(CONFIG)_BeforeBuild + $(LOCAL_PKGCONFIG) $(ASSEMBLY_COMPILER_COMMAND) $(ASSEMBLY_COMPILER_FLAGS) -out:$(ASSEMBLY) -target:$(COMPILE_TARGET) $(build_sources_embed) $(build_resources_embed) $(build_references_ref) +- make $(CONFIG)_AfterBuild +- make post-all-local-hook prefix=$(prefix) ++ $(MAKE) $(CONFIG)_AfterBuild ++ $(MAKE) post-all-local-hook prefix=$(prefix) + + + install-local: $(ASSEMBLY) $(ASSEMBLY_MDB) $(JAVABINDING_PC) +- make pre-install-local-hook prefix=$(prefix) ++ $(MAKE) pre-install-local-hook prefix=$(prefix) + mkdir -p $(INSTALL_DIR) + cp $(ASSEMBLY) $(ASSEMBLY_MDB) $(INSTALL_DIR) + mkdir -p $(DESTDIR)$(prefix)/lib/pkgconfig + test -z '$(JAVABINDING_PC)' || cp $(JAVABINDING_PC) $(DESTDIR)$(prefix)/lib/pkgconfig +- make post-install-local-hook prefix=$(prefix) ++ $(MAKE) post-install-local-hook prefix=$(prefix) + + uninstall-local: $(ASSEMBLY) $(ASSEMBLY_MDB) $(JAVABINDING_PC) +- make pre-uninstall-local-hook prefix=$(prefix) ++ $(MAKE) pre-uninstall-local-hook prefix=$(prefix) + rm -f $(INSTALL_DIR)/$(notdir $(ASSEMBLY)) + test -z '$(ASSEMBLY_MDB)' || rm -f $(INSTALL_DIR)/$(notdir $(ASSEMBLY_MDB)) + test -z '$(JAVABINDING_PC)' || rm -f $(INSTALL_DIR)/$(notdir $(JAVABINDING_PC)) +- make post-uninstall-local-hook prefix=$(prefix) ++ $(MAKE) post-uninstall-local-hook prefix=$(prefix) diff --git a/devel/monodevelop-java/files/patch-Makefile b/devel/monodevelop-java/files/patch-Makefile new file mode 100644 index 000000000000..047592e710e7 --- /dev/null +++ b/devel/monodevelop-java/files/patch-Makefile @@ -0,0 +1,53 @@ +--- Makefile.orig 2008-03-02 14:16:03.000000000 +0100 ++++ Makefile 2008-03-02 14:15:17.000000000 +0100 +@@ -26,14 +26,14 @@ + @set . $$MAKEFLAGS; final_exit=:; \ + case $$2 in --unix) shift ;; esac; \ + case $$2 in *=*) dk="exit 1" ;; *k*) dk=: ;; *) dk="exit 1" ;; esac; \ +- make pre-$*-hook prefix=$(prefix) ;\ ++ ${MAKE} pre-$*-hook prefix=$(prefix) ;\ + for dir in $(SUBDIRS); do \ + case $$dir in \ +- .) make $*-local || { final_exit="exit 1"; $$dk; };;\ +- *) (cd $$dir && make $*) || { final_exit="exit 1"; $$dk; };;\ ++ .) ${MAKE} $*-local || { final_exit="exit 1"; $$dk; };;\ ++ *) (cd $$dir && ${MAKE} $*) || { final_exit="exit 1"; $$dk; };;\ + esac \ + done; \ +- make post-$*-hook prefix=$(prefix) ;\ ++ ${MAKE} post-$*-hook prefix=$(prefix) ;\ + $$final_exit + + $(CONFIG_MAKE): +@@ -47,18 +47,18 @@ + dist: $(CONFIG_MAKE) + rm -rf $(PACKAGE)-$(VERSION) + mkdir $(PACKAGE)-$(VERSION) +- make pre-dist-hook distdir=$$distdir ++ ${MAKE} pre-dist-hook distdir=$$distdir + for dir in $(SUBDIRS); do \ + pkgdir=`pwd`/$(PACKAGE)-$(VERSION); \ + mkdir $$pkgdir/$$dir || true; \ + case $$dir in \ +- .) make dist-local distdir=$$pkgdir || exit 1;; \ +- *) (cd $$dir; make dist-local distdir=$$pkgdir/$$dir) || exit 1;; \ ++ .) ${MAKE} dist-local distdir=$$pkgdir || exit 1;; \ ++ *) (cd $$dir; ${MAKE} dist-local distdir=$$pkgdir/$$dir) || exit 1;; \ + esac \ + done +- (make dist-local distdir=$(PACKAGE)-$(VERSION)) +- make +- make post-dist-hook distsir=$$distdir ++ (${MAKE} dist-local distdir=$(PACKAGE)-$(VERSION)) ++ ${MAKE} ++ ${MAKE} post-dist-hook distsir=$$distdir + tar czvf $(PACKAGE)-$(VERSION).tar.gz $(PACKAGE)-$(VERSION) + rm -rf $(PACKAGE)-$(VERSION) + @echo "==========================================" +@@ -69,5 +69,5 @@ + (mkdir test; cd test; \ + tar xzvf ../$(PACKAGE)-$(VERSION).tar.gz; cd $(PACKAGE)-$(VERSION); \ + ./configure --prefix=$$(cd `pwd`/..; pwd); \ +- make && make install && make dist); ++ ${MAKE} && ${MAKE} install && ${MAKE} dist); + rm -rf test diff --git a/devel/monodevelop-java/files/patch-configure b/devel/monodevelop-java/files/patch-configure new file mode 100644 index 000000000000..62bae3ac7bda --- /dev/null +++ b/devel/monodevelop-java/files/patch-configure @@ -0,0 +1,8 @@ +--- configure.orig 2008-03-02 11:51:45.000000000 +0100 ++++ configure 2008-03-02 11:51:52.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/bin/bash ++#!/usr/bin/env bash + VERSION=0.19 + PACKAGE=monodevelop-boo + prefix=/usr/local diff --git a/devel/monodevelop-java/pkg-descr b/devel/monodevelop-java/pkg-descr new file mode 100644 index 000000000000..ca328837d4e8 --- /dev/null +++ b/devel/monodevelop-java/pkg-descr @@ -0,0 +1,3 @@ +Java language bindings for MonoDevelop (with IKVM). + +WWW: http://www.monodevelop.org diff --git a/devel/monodevelop-java/pkg-plist b/devel/monodevelop-java/pkg-plist new file mode 100644 index 000000000000..a58718c73fa5 --- /dev/null +++ b/devel/monodevelop-java/pkg-plist @@ -0,0 +1,69 @@ +@comment $FreeBSD$ +lib/monodevelop/AddIns/JavaBinding/JavaBinding.dll.mdb +lib/monodevelop/AddIns/JavaBinding/JavaBinding.dll +lib/monodevelop/AddIns/JavaBinding/locale/ca/LC_MESSAGES/monodevelop-java.mo +lib/monodevelop/AddIns/JavaBinding/locale/cs/LC_MESSAGES/monodevelop-java.mo +lib/monodevelop/AddIns/JavaBinding/locale/da/LC_MESSAGES/monodevelop-java.mo +lib/monodevelop/AddIns/JavaBinding/locale/de/LC_MESSAGES/monodevelop-java.mo +lib/monodevelop/AddIns/JavaBinding/locale/es/LC_MESSAGES/monodevelop-java.mo +lib/monodevelop/AddIns/JavaBinding/locale/fr/LC_MESSAGES/monodevelop-java.mo +lib/monodevelop/AddIns/JavaBinding/locale/gl/LC_MESSAGES/monodevelop-java.mo +lib/monodevelop/AddIns/JavaBinding/locale/hu/LC_MESSAGES/monodevelop-java.mo +lib/monodevelop/AddIns/JavaBinding/locale/id/LC_MESSAGES/monodevelop-java.mo +lib/monodevelop/AddIns/JavaBinding/locale/it/LC_MESSAGES/monodevelop-java.mo +lib/monodevelop/AddIns/JavaBinding/locale/ja/LC_MESSAGES/monodevelop-java.mo +lib/monodevelop/AddIns/JavaBinding/locale/nl/LC_MESSAGES/monodevelop-java.mo +lib/monodevelop/AddIns/JavaBinding/locale/pl/LC_MESSAGES/monodevelop-java.mo +lib/monodevelop/AddIns/JavaBinding/locale/pt/LC_MESSAGES/monodevelop-java.mo +lib/monodevelop/AddIns/JavaBinding/locale/pt_BR/LC_MESSAGES/monodevelop-java.mo +lib/monodevelop/AddIns/JavaBinding/locale/ru/LC_MESSAGES/monodevelop-java.mo +lib/monodevelop/AddIns/JavaBinding/locale/sl_SI/LC_MESSAGES/monodevelop-java.mo +lib/monodevelop/AddIns/JavaBinding/locale/sv/LC_MESSAGES/monodevelop-java.mo +lib/monodevelop/AddIns/JavaBinding/locale/tr/LC_MESSAGES/monodevelop-java.mo +lib/monodevelop/AddIns/JavaBinding/locale/zh_CN/LC_MESSAGES/monodevelop-java.mo +lib/monodevelop/AddIns/JavaBinding/locale/zh_TW/LC_MESSAGES/monodevelop-java.mo +libdata/pkgconfig/monodevelop-java.pc +@dirrm lib/monodevelop/AddIns/JavaBinding/locale/zh_TW/LC_MESSAGES +@dirrm lib/monodevelop/AddIns/JavaBinding/locale/zh_TW +@dirrm lib/monodevelop/AddIns/JavaBinding/locale/zh_CN/LC_MESSAGES +@dirrm lib/monodevelop/AddIns/JavaBinding/locale/zh_CN +@dirrm lib/monodevelop/AddIns/JavaBinding/locale/tr/LC_MESSAGES +@dirrm lib/monodevelop/AddIns/JavaBinding/locale/tr +@dirrm lib/monodevelop/AddIns/JavaBinding/locale/sv/LC_MESSAGES +@dirrm lib/monodevelop/AddIns/JavaBinding/locale/sv +@dirrm lib/monodevelop/AddIns/JavaBinding/locale/sl_SI/LC_MESSAGES +@dirrm lib/monodevelop/AddIns/JavaBinding/locale/sl_SI +@dirrm lib/monodevelop/AddIns/JavaBinding/locale/ru/LC_MESSAGES +@dirrm lib/monodevelop/AddIns/JavaBinding/locale/ru +@dirrm lib/monodevelop/AddIns/JavaBinding/locale/pt_BR/LC_MESSAGES +@dirrm lib/monodevelop/AddIns/JavaBinding/locale/pt_BR +@dirrm lib/monodevelop/AddIns/JavaBinding/locale/pt/LC_MESSAGES +@dirrm lib/monodevelop/AddIns/JavaBinding/locale/pt +@dirrm lib/monodevelop/AddIns/JavaBinding/locale/pl/LC_MESSAGES +@dirrm lib/monodevelop/AddIns/JavaBinding/locale/pl +@dirrm lib/monodevelop/AddIns/JavaBinding/locale/nl/LC_MESSAGES +@dirrm lib/monodevelop/AddIns/JavaBinding/locale/nl +@dirrm lib/monodevelop/AddIns/JavaBinding/locale/ja/LC_MESSAGES +@dirrm lib/monodevelop/AddIns/JavaBinding/locale/ja +@dirrm lib/monodevelop/AddIns/JavaBinding/locale/it/LC_MESSAGES +@dirrm lib/monodevelop/AddIns/JavaBinding/locale/it +@dirrm lib/monodevelop/AddIns/JavaBinding/locale/id/LC_MESSAGES +@dirrm lib/monodevelop/AddIns/JavaBinding/locale/id +@dirrm lib/monodevelop/AddIns/JavaBinding/locale/hu/LC_MESSAGES +@dirrm lib/monodevelop/AddIns/JavaBinding/locale/hu +@dirrm lib/monodevelop/AddIns/JavaBinding/locale/gl/LC_MESSAGES +@dirrm lib/monodevelop/AddIns/JavaBinding/locale/gl +@dirrm lib/monodevelop/AddIns/JavaBinding/locale/fr/LC_MESSAGES +@dirrm lib/monodevelop/AddIns/JavaBinding/locale/fr +@dirrm lib/monodevelop/AddIns/JavaBinding/locale/es/LC_MESSAGES +@dirrm lib/monodevelop/AddIns/JavaBinding/locale/es +@dirrm lib/monodevelop/AddIns/JavaBinding/locale/de/LC_MESSAGES +@dirrm lib/monodevelop/AddIns/JavaBinding/locale/de +@dirrm lib/monodevelop/AddIns/JavaBinding/locale/da/LC_MESSAGES +@dirrm lib/monodevelop/AddIns/JavaBinding/locale/da +@dirrm lib/monodevelop/AddIns/JavaBinding/locale/cs/LC_MESSAGES +@dirrm lib/monodevelop/AddIns/JavaBinding/locale/cs +@dirrm lib/monodevelop/AddIns/JavaBinding/locale/ca/LC_MESSAGES +@dirrm lib/monodevelop/AddIns/JavaBinding/locale/ca +@dirrm lib/monodevelop/AddIns/JavaBinding/locale +@dirrm lib/monodevelop/AddIns/JavaBinding -- cgit v1.2.3