diff options
author | Robert Buchholz <rbu@gentoo.org> | 2007-10-19 00:00:46 +0000 |
---|---|---|
committer | Robert Buchholz <rbu@gentoo.org> | 2007-10-19 00:00:46 +0000 |
commit | a8febf2e05c31f11e28c2f1b6359a3b74134f796 (patch) | |
tree | 946ac060a15e6784d774f50669cd40775219544e | |
parent | net-misc/networkmanager-pptp: Adding backport of trunk, doesn't fully work yet (diff) | |
download | overlay-a8febf2e05c31f11e28c2f1b6359a3b74134f796.tar.gz overlay-a8febf2e05c31f11e28c2f1b6359a3b74134f796.tar.bz2 overlay-a8febf2e05c31f11e28c2f1b6359a3b74134f796.zip |
dev-lang/opal: Initial import (bug #46379)
svn path=/overlay/; revision=25
-rw-r--r-- | dev-lang/opal/ChangeLog | 8 | ||||
-rw-r--r-- | dev-lang/opal/Manifest | 20 | ||||
-rw-r--r-- | dev-lang/opal/files/digest-opal-2.3k | 3 | ||||
-rw-r--r-- | dev-lang/opal/files/ocs_2.3k-makesystem.diff | 369 | ||||
-rw-r--r-- | dev-lang/opal/metadata.xml | 8 | ||||
-rw-r--r-- | dev-lang/opal/opal-2.3k.ebuild | 58 |
6 files changed, 466 insertions, 0 deletions
diff --git a/dev-lang/opal/ChangeLog b/dev-lang/opal/ChangeLog new file mode 100644 index 0000000..6bc7ec6 --- /dev/null +++ b/dev-lang/opal/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for dev-lang/opal +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 19 Oct 2007; Robert Buchholz <rbu@gentoo.org> + +files/ocs_2.3k-makesystem.diff, +opal-2.3k.ebuild, +metadata.xml: + Initial import (bug #46379) + diff --git a/dev-lang/opal/Manifest b/dev-lang/opal/Manifest new file mode 100644 index 0000000..d86a4d4 --- /dev/null +++ b/dev-lang/opal/Manifest @@ -0,0 +1,20 @@ +AUX ocs_2.3k-makesystem.diff 15256 RMD160 94858c2c4aeaf75c6f22d667441acdee16ffd2d4 SHA1 7663d605a0c5e3ab831d03c0750867b79e06feb4 SHA256 a2afceff4b9c49afe9a38f9212c0b96570f620fad6963b143daa4334394c3138 +MD5 ff83bd09ee08256ba71259c6e15d0ded files/ocs_2.3k-makesystem.diff 15256 +RMD160 94858c2c4aeaf75c6f22d667441acdee16ffd2d4 files/ocs_2.3k-makesystem.diff 15256 +SHA256 a2afceff4b9c49afe9a38f9212c0b96570f620fad6963b143daa4334394c3138 files/ocs_2.3k-makesystem.diff 15256 +DIST ocs-2.3k-src.tar.bz2 7992739 RMD160 a8c71867dc9831c773b1aa2d3aa082c1a07dd692 SHA1 203dc2a0d348c232294887a6620f49b7ccede226 SHA256 b4b482a6cb56636c42d499d3312791958c13bdde865dafb008f171b2db4dfb6f +EBUILD opal-2.3k.ebuild 1175 RMD160 7b640dfe5e466a756e03c253dbdf0252ef951437 SHA1 342f0dd3db12b3047601686da2d184ff6bcb7232 SHA256 53f08c357c8f247e8d2febd59df980debf6941100151ab155085a78373ebdb67 +MD5 57f691750cc6573e4033bb787666cf1f opal-2.3k.ebuild 1175 +RMD160 7b640dfe5e466a756e03c253dbdf0252ef951437 opal-2.3k.ebuild 1175 +SHA256 53f08c357c8f247e8d2febd59df980debf6941100151ab155085a78373ebdb67 opal-2.3k.ebuild 1175 +MISC ChangeLog 262 RMD160 93037f6a00f98512d2f7f843cdfe3bb43f78c446 SHA1 a18fbdeb097c14c6a5d74f61b7da98d79fa15975 SHA256 57180f3de2c5bb19beb1066a87c19d640540a8cdc5708fb72ebdc646ea47a42b +MD5 46eba31b17745a8332cefbef36ff8ea4 ChangeLog 262 +RMD160 93037f6a00f98512d2f7f843cdfe3bb43f78c446 ChangeLog 262 +SHA256 57180f3de2c5bb19beb1066a87c19d640540a8cdc5708fb72ebdc646ea47a42b ChangeLog 262 +MISC metadata.xml 219 RMD160 c0c1d9934d41e6bdadb01c4a26b36b0b4fb8fa88 SHA1 10e6571ca969e3fc703b00e07fbbd9a154aae994 SHA256 d01ea3f2165c7af358d7f1549c382024120666aa8114326f73d25f93b4b33a9f +MD5 19b0d0e735cdc566f417109bf7afc6e3 metadata.xml 219 +RMD160 c0c1d9934d41e6bdadb01c4a26b36b0b4fb8fa88 metadata.xml 219 +SHA256 d01ea3f2165c7af358d7f1549c382024120666aa8114326f73d25f93b4b33a9f metadata.xml 219 +MD5 50c268d346994df39f899f24d38f4d85 files/digest-opal-2.3k 244 +RMD160 3fcb9a7c4c7b59ade9c3d42869f3d9f20a81bcba files/digest-opal-2.3k 244 +SHA256 3db32eeccff741102759c133fda80d7703539c3a029f3c187f4fdd1c59cec1f5 files/digest-opal-2.3k 244 diff --git a/dev-lang/opal/files/digest-opal-2.3k b/dev-lang/opal/files/digest-opal-2.3k new file mode 100644 index 0000000..cd6794e --- /dev/null +++ b/dev-lang/opal/files/digest-opal-2.3k @@ -0,0 +1,3 @@ +MD5 6c5a1b5f7e4d7ec68c6f940304314ee8 ocs-2.3k-src.tar.bz2 7992739 +RMD160 a8c71867dc9831c773b1aa2d3aa082c1a07dd692 ocs-2.3k-src.tar.bz2 7992739 +SHA256 b4b482a6cb56636c42d499d3312791958c13bdde865dafb008f171b2db4dfb6f ocs-2.3k-src.tar.bz2 7992739 diff --git a/dev-lang/opal/files/ocs_2.3k-makesystem.diff b/dev-lang/opal/files/ocs_2.3k-makesystem.diff new file mode 100644 index 0000000..43b2d66 --- /dev/null +++ b/dev-lang/opal/files/ocs_2.3k-makesystem.diff @@ -0,0 +1,369 @@ +Index: ocs/doc/minitutorial/SysDefs +=================================================================== +--- ocs.orig/doc/minitutorial/SysDefs ++++ ocs/doc/minitutorial/SysDefs +@@ -13,7 +13,7 @@ NODENAME = minitutorial + DOCNAME = minitutorial + + HTMLS = minitutorial.html mintut_genlb.html \ +- mintut_index.html mintut_opener.html \ ++ mintut_index.html mintut_opener.html mintut_oasys.html \ + mintut_prep.html mintut_start.html mintut_uselb.html \ + mintut_doc.html ocs.html mintut_prop.html + +Index: ocs/doc/dosfopman/SysDefs +=================================================================== +--- ocs.orig/doc/dosfopman/SysDefs ++++ ocs/doc/dosfopman/SysDefs +@@ -70,7 +70,7 @@ TEXI2DVI = TEXINPUTS=$(DOSFOP)/tex:$(TEX + %.html %_toc.html %_body.html %_indices.html %_title.html: %.expanded + mv $*.texi $*.texi.old + cp $*.expanded $*.texi +- $(PERL) $(DOSFOP)/bin/texi2html -menu -toc_name "Table of Contents" -verbose $*.texi ++ $(TEXI2HTML_RUN) $*.texi + mv $*.texi.old $*.texi + + %.ps: %.dvi +Index: ocs/doc/hcguide/SysDefs +=================================================================== +--- ocs.orig/doc/hcguide/SysDefs ++++ ocs/doc/hcguide/SysDefs +@@ -65,7 +65,7 @@ TEXI2DVI = MAKEINFO='$(PERL) $(DOSFOP)/b + %.html %_toc.html %_body.html %_indices.html %_title.html: %.expanded + mv $*.texi $*.texi.old + cp $*.expanded $*.texi +- $(PERL) $(DOSFOP)/bin/texi2html -menu -toc_name "Table of Contents" -verbose $*.texi ++ $(TEXI2HTML_RUN) $*.texi + mv $*.texi.old $*.texi + + %.ps: %.dvi +Index: ocs/doc/oasysman/SysDefs +=================================================================== +--- ocs.orig/doc/oasysman/SysDefs ++++ ocs/doc/oasysman/SysDefs +@@ -73,7 +73,7 @@ TEXI2DVI = MAKEINFO=$(DOSFOP)/bin/dosfop + %.html %_toc.html %_body.html %_indices.html %_title.html: %.expanded + mv $*.texi $*.texi.old + cp $*.expanded $*.texi +- $(PERL) $(DOSFOP)/bin/texi2html -menu -toc_name "Table of Contents" -verbose $*.texi ++ $(TEXI2HTML_RUN) $*.texi + mv $*.texi.old $*.texi + + %.ps: %.dvi +Index: ocs/doc/install/SysDefs +=================================================================== +--- ocs.orig/doc/install/SysDefs ++++ ocs/doc/install/SysDefs +@@ -65,7 +65,7 @@ TEXI2DVI = MAKEINFO='$(PERL) $(DOSFOP)/b + %.html %_toc.html %_body.html %_indices.html %_title.html: %.expanded + mv $*.texi $*.texi.old + cp $*.expanded $*.texi +- $(PERL) $(DOSFOP)/bin/texi2html -menu -toc_name "Table of Contents" -verbose $*.texi ++ $(TEXI2HTML_RUN) $*.texi + mv $*.texi.old $*.texi + + %.ps: %.dvi +Index: ocs/doc/bibopalicaman/DOSFOP/JavaCheck.structures.names +=================================================================== +--- ocs.orig/doc/bibopalicaman/DOSFOP/JavaCheck.structures.names ++++ /dev/null +@@ -1,4 +0,0 @@ +-JavaCatch +-JavaCheck +-JavaNull +-JavaNullArray +Index: ocs/doc/bibopalicaman/DOSFOP/JavaVM.structures.names +=================================================================== +--- ocs.orig/doc/bibopalicaman/DOSFOP/JavaVM.structures.names ++++ /dev/null +@@ -1,4 +0,0 @@ +-Byte +-JavaVM +-Long +-Short +\ Kein Zeilenumbruch am Dateiende. +Index: ocs/doc/bibopalica/SysDefs +=================================================================== +--- ocs.orig/doc/bibopalica/SysDefs ++++ ocs/doc/bibopalica/SysDefs +@@ -70,7 +70,7 @@ TEXI2DVI = MAKEINFO='$(PERL) $(DOSFOP)/b + %.html %_toc.html %_body.html %_indices.html %_title.html: %.expanded + mv $*.texi $*.texi.old + cp $*.expanded $*.texi +- $(PERL) $(DOSFOP)/bin/texi2html -menu -toc_name "Table of Contents" -verbose $*.texi ++ $(TEXI2HTML_RUN) $*.texi + mv $*.texi.old $*.texi + + %.ps: %.dvi +Index: ocs/src/om/make/GlobalRules.top +=================================================================== +--- ocs.orig/src/om/make/GlobalRules.top ++++ ocs/src/om/make/GlobalRules.top +@@ -69,7 +69,7 @@ endif + + $(TOPCOM): $(OS) $(OCSDIR)/_$(TOPSTRUCT)_$(TOPCOM).o \ + $(SYS_LDLIBDEPS) $(LDLIBDEPS) +- @$(ECHO) "Linking $(TOPCOM) ..." ; \ ++ $(ECHO) "Linking $(TOPCOM) ..." ; \ + $(LD) $(LDFLAGS) $(SYS_LDFLAGS) -o $(TOPCOM) \ + $(OCSDIR)/_$(TOPSTRUCT)_$(TOPCOM).o $(OS) \ + $(SYS_LDLIBPATH) $(LDLIBPATH) $(RLDLIBPATH) \ +Index: ocs/src/om/specs/Specs.basic.in +=================================================================== +--- ocs.orig/src/om/specs/Specs.basic.in ++++ ocs/src/om/specs/Specs.basic.in +@@ -49,7 +49,8 @@ DEBUG_CC = @ocs_cv_flag_cc_debug@ + PROFILE_CC = @ocs_cv_flag_cc_profile@ + + # The linker and its initial arguments +-OCSLIBPATH = ${OCS}/lib/${OSARCH} ++#OCSLIBPATH = $(echo ${OCS}/lib/${OSARCH} | sed -e 's:'${DESTDIR}'\('.*'\):\1:g') ++OCSLIBPATH = ${OCS}/lib/${OSARCH} + + LD = @ocs_LD@ + +@@ -118,12 +119,6 @@ XDVI = @ac_cv_path_XDVI@ + # force TEXINPUTS to be defined (fixes a bug in dosfop) + TEXINPUTS := ${TEXINPUTS} + +- +-# --- Info related +- +-TEXINDEX = @ac_cv_path_TEXINDEX@ +-MAKEINFO = @ac_cv_path_MAKEINFO@ +- + # --- Interpreters + + # perl 4 or perl 5 +@@ -132,6 +127,15 @@ PERL = @ac_cv_path_PERL@ + # Tcl/Tk + WISH = @ac_cv_path_WISH@ + ++# --- Info related ++ ++TEXINDEX = @ac_cv_path_TEXINDEX@ ++MAKEINFO = @ac_cv_path_MAKEINFO@ ++ ++# Added for Debian packaging. ++TEXI2HTML = ${PERL} ${DOSFOP}/bin/texi2html ++TEXI2HTML_RUN = ${TEXI2HTML} -menu -toc_name Table\ of\ Contents -verbose ++ + # ---- Java related + # Java VM + JAVA = @ac_cv_path_JAVA@ +Index: ocs/src/om/specs/Specs.lib.opal_java +=================================================================== +--- ocs.orig/src/om/specs/Specs.lib.opal_java ++++ ocs/src/om/specs/Specs.lib.opal_java +@@ -12,11 +12,11 @@ + + # The variable below needs to be configured depending on how Java + # is linked on the platform +-JAVALINK = -L/usr/lib/java/lib/i686/green_threads -Wl,-rpath,/usr/lib/java/lib/i686/green_threads -ljava ++JAVALINK = -L/usr/lib/kaffe/jre/lib/i386 -lkaffevm -lkaffeverifier -lkaffegc -lffi -lpthread + + # The variable below needs to be configured depending on how Java headers + # are included on the platform (only for source distributions) +-JAVAINCLUDE = -I/usr/lib/java/include -I/usr/lib/java/include/genunix -I/usr/lib/java/include/linux ++JAVAINCLUDE = -I/usr/lib/kaffe/include + + + ## packages which must be installed before (no need for transitive closure) +Index: ocs/configure.in +=================================================================== +--- ocs.orig/configure.in ++++ ocs/configure.in +@@ -1613,8 +1613,9 @@ then + ocs_save_LIBS="$LIBS" + LIBS="$LIBS $ocs_cv_with_java_lib" + unset ac_cv_lib_java_JNI_CreateJavaVM +- AC_CHECK_LIB(JNI_CreateJavaVM,ocs_lib_java=$ocs_cv_with_java_lib) +- LIBS="$ocs_save_LIBS" ++ AC_CHECK_FUNC(JNI_CreateJavaVM, ocs_lib_java="$ocs_cv_with_java_lib") ++ # AC_CHECK_LIB($ocs_cv_with_java_lib, JNI_CreateJavaVM, ocs_lib_java="$ocs_cv_with_java_lib") ++ # LIBS="$ocs_save_LIBS" + fi + fi + if test -z "$ocs_lib_java" +Index: ocs/Makefile.in +=================================================================== +--- ocs.orig/Makefile.in ++++ ocs/Makefile.in +@@ -9,6 +9,7 @@ + + default: usage + ++DESTDIR= + srcdir=@srcdir@ + bindir=@bindir@ + prefix=@prefix@ +@@ -21,7 +22,7 @@ OCSSRC=@ocs_abssrcdir@/src + OCSPROJECT=@ocs_abssrcdir@/ProjectDefs + #.. Path to the place where the distribution is to be installed + OCSHDIR=ocs-$(VERSION) +-OCSHOME=@prefix@/$(OCSHDIR) ++OCSHOME=$(prefix)/$(OCSHDIR) + #.. Description of your system + OSARCH=@host_os@-@host_cpu@ + #.. Path to the GNU sed program +@@ -54,7 +55,7 @@ EXTRAS= + LOCALLINKS=@ocs_cv_feature_locallinks@ + + ifeq ($(LOCALLINKS),yes) +-EXTRAS:=$(EXTRAS) $(addprefix @bindir@/,btrace dosfop javabind oasys oasyspc ocs ordinatrice pureDosfop tivi2) ++EXTRAS:=$(EXTRAS) $(addprefix $(DESTDIR)@bindir@/,btrace dosfop javabind oasys oasyspc ocs ordinatrice pureDosfop tivi2) + endif + + #.. name of the distribution archives +@@ -69,18 +70,19 @@ MINPACKAGES = pkg.opalimports lib.opal_b + MINSRCPACKAGES = pkg.examples + PACKAGES = $(MINPACKAGES) $(STDPACKAGES) + +-OCSADMIN=OCSPROJECT=$(OCSPROJECT) $(OCSHOME)/bin/ocsadmin -ocshome $(OCSHOME) -ocssrc $(OCSSRC) -ocsspecs $(OCSSRC)/om/specs +-OCSADMININIT=OCSPROJECT=$(OCSPROJECT) $(OCSSRC)/om/scripts/ocsadmin -ocssrc $(OCSSRC) -ocshome $(OCSHOME) -ocsspecs $(OCSSRC)/om/specs ++OCSADMIN=OCSPROJECT=$(OCSPROJECT) $(DESTDIR)$(OCSHOME)/bin/ocsadmin -ocshome $(DESTDIR)$(OCSHOME) -ocssrc $(OCSSRC) -ocsspecs $(OCSSRC)/om/specs ++OCSADMININIT=OCSPROJECT=$(OCSPROJECT) $(OCSSRC)/om/scripts/ocsadmin -ocssrc $(OCSSRC) -ocshome $(DESTDIR)$(OCSHOME) -ocsspecs $(OCSSRC)/om/specs ++OCS_BIN=ocs + + install: init $(PACKAGES) $(EXTRAS) + $(OCSADMIN) install $(MINSRCPACKAGES) +- chmod -R a+r @prefix@/ocs-$(VERSION)/* +- chmod a+x @prefix@/ocs-$(VERSION)/bin/* ++ chmod -R a+r $(DESTDIR)$(prefix)/ocs-$(VERSION)/* ++ chmod a+x $(DESTDIR)$(prefix)/ocs-$(VERSION)/bin/* + + reinstall: reinit $(PACKAGES) $(EXTRAS) + $(OCSADMIN) install $(MINSRCPACKAGES) +- chmod -R a+r @prefix@/ocs-$(VERSION)/* +- chmod a+x @prefix@/ocs-$(VERSION)/bin/* ++ chmod -R a+r $(DESTDIR)$(prefix)/ocs-$(VERSION)/* ++ chmod a+x $(DESTDIR)$(prefix)/ocs-$(VERSION)/bin/* + + init: + $(OCSADMININIT) init -sed $(SED) "$(LONGVERSION)" +@@ -112,54 +114,70 @@ complete: $(STDPACKAGES) + # $(OCSADMININIT) ocs -command cleanall $(MINSRCPACKAGES) $(STDPACKAGES) + + distclean: +- (cd $(OCSSRC)/om; ocs cleanobjall) +- (cd $(OCSSRC)/oc; ocs cleanobjall) +- (cd $(OCSSRC)/lib; ocs cleanobjall) +- (cd $(OCSSRC)/oc/dynamite; ocs cleanall) +- (cd $(OCSSRC)/oc/reflections; ocs cleanall) +- (cd $(OCSSRC)/oc/oc5; ocs cleanall) +- (cd $(OCSSRC)/lib/Tools/OpalWin; ocs cleanall) +- (cd $(OCSSRC)/lib/Tools/OpalWinAdditions; ocs cleanall) +- (cd $(OCSSRC)/lib/Tools/ParserLight; ocs cleanall) +- (cd $(OCSSRC)/lib/Tools/Readline; ocs cleanall) +- (cd $(OCSSRC)/lib/Tools/Tcl; ocs cleanall) +- (cd $(OCSSRC)/lib/Tools/Tk; ocs cleanall) +- (cd $(OCSSRC)/lib/Tools/Java; ocs cleanall) +- (cd $(OCSSRC)/lib/Tools/Java/JavaBase; ocs cleanall) +- (cd $(OCSSRC)/lib/Tools/Java/JavaCheck; ocs cleanall) +- (cd $(OCSSRC)/browser; ocs cleanall) +- (cd $(OCSSRC)/dosfop; ocs -P $(OCSSRC)/dosfop/ProjectDefs.dosfop cleanall) +- (cd $(OCSSRC)/emacs; ocs cleanall) +- (cd $(OCSSRC)/oasys; ocs cleanall) +- (cd $(OCSSRC)/ordinatrice; ocs cleanall) +- (cd $(OCSSRC)/tivi2; ocs cleanall) +- (cd $(OCSSRC)/../doc; ocs cleanall) +- (cd $(OCSSRC)/../examples; ocs cleanall; cd ProofChecker; ocs cleanall) +- (cd $(OCSSRC)/proofchecker/oasyspc/libPlus; ocs cleanall) +- (cd $(OCSSRC)/proofchecker/oasyspc/oasysPlus; ocs cleanall) +- (cd $(OCSSRC)/proofchecker/oasyspc/derivations; ocs cleanall) +- (cd $(OCSSRC)/proofchecker/oasyspc/proofscript; ocs cleanall) +- (cd $(OCSSRC)/proofchecker/oasyspc/pcheck; ocs cleanall) +- (cd $(OCSSRC)/proofchecker/oasyspc/pdriver; ocs cleanall) +- (cd $(OCSSRC)/proofchecker/prooflib; ocs cleanall) ++ (cd $(OCSSRC)/om; $(OCS_BIN) cleanobjall) ++ (cd $(OCSSRC)/oc; $(OCS_BIN) cleanobjall) ++ (cd $(OCSSRC)/lib; $(OCS_BIN) cleanobjall) ++ (cd $(OCSSRC)/oc/dynamite; $(OCS_BIN) cleanall) ++ (cd $(OCSSRC)/oc/reflections; $(OCS_BIN) cleanall) ++ (cd $(OCSSRC)/oc/oc5; $(OCS_BIN) cleanall) ++ (cd $(OCSSRC)/lib/Tools/OpalWin; $(OCS_BIN) cleanall) ++ (cd $(OCSSRC)/lib/Tools/OpalWinAdditions; $(OCS_BIN) cleanall) ++ (cd $(OCSSRC)/lib/Tools/ParserLight; $(OCS_BIN) cleanall) ++ (cd $(OCSSRC)/lib/Tools/Readline; $(OCS_BIN) cleanall) ++ (cd $(OCSSRC)/lib/Tools/Tcl; $(OCS_BIN) cleanall) ++ (cd $(OCSSRC)/lib/Tools/Tk; $(OCS_BIN) cleanall) ++ (cd $(OCSSRC)/lib/Tools/Java; $(OCS_BIN) cleanall) ++ (cd $(OCSSRC)/lib/Tools/Java/JavaBase; $(OCS_BIN) cleanall) ++ (cd $(OCSSRC)/lib/Tools/Java/JavaCheck; $(OCS_BIN) cleanall) ++ (cd $(OCSSRC)/browser; $(OCS_BIN) cleanall) ++ (cd $(OCSSRC)/dosfop; $(OCS_BIN) -P $(OCSSRC)/dosfop/ProjectDefs.dosfop cleanall) ++ (cd $(OCSSRC)/emacs; $(OCS_BIN) cleanall) ++ (cd $(OCSSRC)/oasys; $(OCS_BIN) cleanall) ++ (cd $(OCSSRC)/ordinatrice; $(OCS_BIN) cleanall) ++ (cd $(OCSSRC)/tivi2; $(OCS_BIN) cleanall) ++ (cd $(OCSSRC)/../doc; $(OCS_BIN) cleanall) ++ (cd $(OCSSRC)/../examples; $(OCS_BIN) cleanall; cd ProofChecker; $(OCS_BIN) cleanall) ++ (cd $(OCSSRC)/proofchecker/oasyspc/libPlus; $(OCS_BIN) cleanall) ++ (cd $(OCSSRC)/proofchecker/oasyspc/oasysPlus; $(OCS_BIN) cleanall) ++ (cd $(OCSSRC)/proofchecker/oasyspc/derivations; $(OCS_BIN) cleanall) ++ (cd $(OCSSRC)/proofchecker/oasyspc/proofscript; $(OCS_BIN) cleanall) ++ (cd $(OCSSRC)/proofchecker/oasyspc/pcheck; $(OCS_BIN) cleanall) ++ (cd $(OCSSRC)/proofchecker/oasyspc/pdriver; $(OCS_BIN) cleanall) ++ (cd $(OCSSRC)/proofchecker/prooflib; $(OCS_BIN) cleanall) + rm -f opalconfig.last opalconfig.makeTargets + ++# Special target for generating Debian .diff files. Use with care! This might ++# render the source tree "unbuildable". ++mrproper: ++ (cd $(OCSSRC)/../doc; $(OCS_BIN) cleanall) ++ (cd $(OCSSRC); $(OCS_BIN) cleanall) ++ rm -f config.status config.sub config.guess config.log Makefile ++ rm -f src/oc/reflections/InterOpalTools.impl \ ++ src/oc/dynamite/InterOpalTools.impl \ ++ src/om/specs/Specs.basic \ ++ src/om/specs/Specs.pkg.oasys \ ++ src/om/specs/Specs.lib.opal_readline \ ++ src/om/specs/Specs.lib.opal_tk \ ++ src/om/specs/ShSpecs.basic \ ++ src/om/specs/Specs.lib.opal_tcl \ ++ src/lib/Internal/Compiler/unixconfig.h ++ + preparedist: +- cd $(OCSSRC)/lib; ocs cleanall; OCSSRC=$(OCSSRC); export OCSSRC; ocs -P $(OCSSRC)/ProjectDefs.bootstrap +- cd $(OCSSRC)/om; ocs cleanall; OCSSRC=$(OCSSRC); export OCSSRC; ocs -P $(OCSSRC)/ProjectDefs.bootstrap +- cd $(OCSSRC)/oc; ocs cleanall; OCSSRC=$(OCSSRC); export OCSSRC; ocs -P $(OCSSRC)/ProjectDefs.bootstrap +- cd $(OCSSRC)/../doc/install; OCSSRC=$(OCSSRC); export OCSSRC; ocs ++ cd $(OCSSRC)/lib; $(OCS_BIN) cleanall; OCSSRC=$(OCSSRC); export OCSSRC; $(OCS_BIN) -P $(OCSSRC)/ProjectDefs.bootstrap ++ cd $(OCSSRC)/om; $(OCS_BIN) cleanall; OCSSRC=$(OCSSRC); export OCSSRC; $(OCS_BIN) -P $(OCSSRC)/ProjectDefs.bootstrap ++ cd $(OCSSRC)/oc; $(OCS_BIN) cleanall; OCSSRC=$(OCSSRC); export OCSSRC; $(OCS_BIN) -P $(OCSSRC)/ProjectDefs.bootstrap ++ cd $(OCSSRC)/../doc/install; OCSSRC=$(OCSSRC); export OCSSRC; $(OCS_BIN) + cp $(OCSSRC)/../doc/install/*.html . + + prepareoc: +- cd $(OCSSRC)/oc; ocs cleanall; OCSSRC=$(OCSSRC); export OCSSRC; ocs -P $(OCSSRC)/ProjectDefs.bootstrap ++ cd $(OCSSRC)/oc; $(OCS_BIN) cleanall; OCSSRC=$(OCSSRC); export OCSSRC; $(OCS_BIN) -P $(OCSSRC)/ProjectDefs.bootstrap + + preparedoc: +- cd $(OCSSRC)/../doc; OCSSRC=$(OCSSRC); export OCSSRC; ocs ++ cd $(OCSSRC)/../doc; OCSSRC=$(OCSSRC); export OCSSRC; $(OCS_BIN) + cp $(OCSSRC)/../doc/install/*.html . + + prepareom: +- cd $(OCSSRC)/om; ocs cleanall; OCSSRC=$(OCSSRC); export OCSSRC; ocs -P $(OCSSRC)/ProjectDefs.bootstrap ++ cd $(OCSSRC)/om; $(OCS_BIN) cleanall; OCSSRC=$(OCSSRC); export OCSSRC; $(OCS_BIN) -P $(OCSSRC)/ProjectDefs.bootstrap + + sourcedistr: ocs-version + cp -f ignore1 /tmp; cp -f ignore2 /tmp; \ +@@ -196,14 +214,14 @@ config.status: configure + + ### generate links in /usr/local/bin + +-@bindir@/% : ++$(DESTDIR)@bindir@/% : + if test -f $(OCSHOME)/bin/$* ; then \ + echo "#! /bin/sh" > $@ ;\ + echo "# generated by OCS" >> $@ ; \ + echo "OCS=$(prefix)/ocs" >> $@ ; \ + echo "export OCS" >> $@ ; \ + echo "$(prefix)/ocs/bin/$* \$$*" >> $@ ; \ +- chmod a+x $(prefix)/bin/$* ; \ +- echo "rm -f $@" >> $(OCSHOME)/etc/uninstall-locallinks ; \ ++ chmod a+x $(DESTDIR)$(prefix)/bin/$* ; \ ++ echo "rm -f $(prefix)/bin/$*" >> $(DESTDIR)$(OCSHOME)/etc/uninstall-locallinks ; \ + fi + diff --git a/dev-lang/opal/metadata.xml b/dev-lang/opal/metadata.xml new file mode 100644 index 0000000..940bf68 --- /dev/null +++ b/dev-lang/opal/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> + <email>rbu@gentoo.org</email> +</maintainer> +</pkgmetadata> diff --git a/dev-lang/opal/opal-2.3k.ebuild b/dev-lang/opal/opal-2.3k.ebuild new file mode 100644 index 0000000..dc0d197 --- /dev/null +++ b/dev-lang/opal/opal-2.3k.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils autotools + +DESCRIPTION="OPAL functional programming language" +HOMEPAGE="http://uebb.cs.tu-berlin.de/~opal/" +SRC_URI="http://uebb.cs.tu-berlin.de/~opal/ocs-${PV}-src.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="X doc +tk +tcl" + +DEPEND=">=sys-libs/readline-4.3-r5 + >=sys-libs/ncurses-5.4-r5 + doc? ( >=app-text/tetex-2 ) + tk? ( >=dev-lang/tcl-8.4.6 ) + tcl? ( >=dev-lang/tk-8.4.6-r1 ) + " + +S="${WORKDIR}/ocs" + +src_unpack() { + unpack ${A} + cd "${S}" + + #epatch "${FILESDIR}/ocs_2.3k-makesystem.diff" + eautoreconf +} + + +src_compile() { + mkdir -p "${D}" + # chmod: /var <-- Prevent access violation + addpredict /var + + econf \ + $(use_enable doc) \ + $(use_enable doc dosfop) \ + $(use_enable tk opalwin) \ + $(use_enable tcl oasys) \ + --enable-dynamic \ + --disable-absolute-pathes \ + --enable-reflections \ + --enable-tivi2 \ + --enable-oc5 \ + --enable-proofchecker \ + --disable-locallinks \ + --prefix="${D}" \ + || die "./configure failed" +} + +src_install() { + emake -j1 install || die "make failed" +} |