1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

Java language bindings for MonoDevelop (with IKVM).

PR:		137916
Submitted by:	Romain Tartiere <romain at blogreen.org>
This commit is contained in:
Greg Lewis 2009-09-13 21:09:56 +00:00
parent 88d95ab6f9
commit 15c9f96db1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=241357
8 changed files with 204 additions and 0 deletions

View File

@ -870,6 +870,7 @@
SUBDIR += mono-addins
SUBDIR += mono-tools
SUBDIR += monodevelop
SUBDIR += monodevelop-java
SUBDIR += monotone
SUBDIR += monotone-viz
SUBDIR += motor

View File

@ -0,0 +1,31 @@
# New ports collection makefile for: monodevelop-java
# Date created: 2008-03-02
# Whom: Romain Tartiere <romain@blogreen.org>
#
# $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 <bsd.port.mk>

View File

@ -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

View File

@ -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)

View File

@ -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

View File

@ -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

View File

@ -0,0 +1,3 @@
Java language bindings for MonoDevelop (with IKVM).
WWW: http://www.monodevelop.org

View File

@ -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