aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2016-05-02 22:29:58 +0100
committerJames Le Cuirot <chewi@gentoo.org>2016-05-02 22:29:58 +0100
commit4ca9bf852733e50c6237ff720e2edcf3e8ecfa79 (patch)
treea8b3393197571c98ba00b42cb1b2259442cc9d81 /dev-util
parentdev-java/j3d-core: Bump eclipse-ecj version again to 4.5 (diff)
downloadjava-4ca9bf852733e50c6237ff720e2edcf3e8ecfa79.tar.gz
java-4ca9bf852733e50c6237ff720e2edcf3e8ecfa79.tar.bz2
java-4ca9bf852733e50c6237ff720e2edcf3e8ecfa79.zip
dev-util/mtp: Remove super ancient package
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/mtp/Manifest2
-rw-r--r--dev-util/mtp/metadata.xml8
-rw-r--r--dev-util/mtp/mtp-0.2.1.ebuild102
-rw-r--r--dev-util/mtp/mtp-0.3.1.ebuild102
4 files changed, 0 insertions, 214 deletions
diff --git a/dev-util/mtp/Manifest b/dev-util/mtp/Manifest
deleted file mode 100644
index 2672da84..00000000
--- a/dev-util/mtp/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST mtp-0.2.1-src.tar.gz 656216 SHA256 5df6ff9fda8a0d7e0436b6eeba965fd4b21a4b53c39bd99eb2421929944ddc83
-DIST mtp-0.3.1-src.tar.gz 667952 SHA256 3105718484abdc21efd4adf7bc54fad9ad834ef999e7828abd5f4ae3067ab87e
diff --git a/dev-util/mtp/metadata.xml b/dev-util/mtp/metadata.xml
deleted file mode 100644
index 952a4b9b..00000000
--- a/dev-util/mtp/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>java@gentoo.org</email>
- <name>Java</name>
- </maintainer>
-</pkgmetadata>
diff --git a/dev-util/mtp/mtp-0.2.1.ebuild b/dev-util/mtp/mtp-0.2.1.ebuild
deleted file mode 100644
index 6192ea4c..00000000
--- a/dev-util/mtp/mtp-0.2.1.ebuild
+++ /dev/null
@@ -1,102 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-inherit eutils java-pkg-2 java-ant-2
-
-DESCRIPTION="More Than Parsing - Parser and ASTs generator"
-HOMEPAGE="http://babel.ls.fi.upm.es/research/mtp"
-SRC_URI="http://babel.ls.fi.upm.es/software/mtp/${P}-src.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86"
-IUSE="doc examples"
-
-RDEPEND=">=virtual/jre-1.4
- =dev-java/jsap-1.03a"
-DEPEND=">=virtual/jdk-1.5
- dev-java/javacc
- =dev-java/jsap-1.03a
- >=dev-java/ant-core-1.6.2" # FIXME ant-core version
-
-src_unpack()
-{
- unpack ${A}
-
- cd ${S}/lib
- java-pkg_jarfrom jsap jsap.jar JSAP_1.03a.jar
-
-}
-
-src_compile() {
- # Apache ANT needs to know where JAVACC lives
- local javaccjar=$(java-pkg_getjar --build-only javacc javacc.jar)
- local javacc=$(dirname ${javaccjar})
- if (use doc) && $(built_with_use jsap doc); then
- local jsap_javadoc=$(javadoc-pkg_getjavadoc jsap)
- fi
- JAVACC=${javacc} JAVADOC_LINK=${jsap_javadoc} eant $(use_doc doc)
-}
-
-src_install() {
- # .jar files
- # TODO: patch ANT src/mtp/build.xml so that only one .jar file
- # is generated
- java-pkg_dojar lib/${PN}.jar
- java-pkg_dojar lib/${PN}ast.jar
- java-pkg_dojar lib/${PN}analysis.jar
- java-pkg_dojar lib/${PN}log.jar
- java-pkg_dojar lib/${PN}parser.jar
- java-pkg_dojar lib/${PN}semantics.jar
- java-pkg_dojar lib/${PN}synthesis.jar
- java-pkg_dolauncher ${PN} --main ${PN}.${PN}
- # Documentation
- if use doc; then
- dodoc README
- ln -s docs api
- java-pkg_dojavadoc api
- fi
- # Examples
- if use examples; then
- dodir /usr/share/doc/${PF}/examples
- cp examples/* ${D}/usr/share/doc/${PF}/examples
- fi
-}
-
-# ------------------------------------------------------------------------------
-# @ebuild-function java-pkg_getjavadoc
-#
-# Get the path of the javadoc documentation for a given package
-# Returns -1 if no javadoc info is found
-# Javadoc needs this in order to properly link files from different libraries
-#
-# Example: Get the path for JSAP javadoc documentation
-# java-pkg_getjars
-# Example Return:
-# /usr/share/doc/JSAP-1.03a/doc/javadoc
-#
-# @param $1 - package to get the javadoc from
-# ------------------------------------------------------------------------------
-javadoc-pkg_getjavadoc() {
- debug-print-function ${FUNCNAME} $*
-
- [[ ${#} -ne 1 ]] && die "One and only one argument needed"
-
- local package_env=/usr/share/${1}/package.env
- local javadoc_dir
-
- javadoc_dir=-1
- if [[ -r "${package_env}" ]]; then
- exec 3<${package_env}
- local LINE
- while read LINE <&3 ; do
- if [[ $LINE == JAVADOC_PATH* ]]; then
- # Removing the JAVADOC_PATH=" part of the line
- javadoc_dir=${LINE#*=\"}
- javadoc_dir=${javadoc_dir/\"/}
- fi;
- done
- fi
- echo ${javadoc_dir}
-}
diff --git a/dev-util/mtp/mtp-0.3.1.ebuild b/dev-util/mtp/mtp-0.3.1.ebuild
deleted file mode 100644
index 6192ea4c..00000000
--- a/dev-util/mtp/mtp-0.3.1.ebuild
+++ /dev/null
@@ -1,102 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-inherit eutils java-pkg-2 java-ant-2
-
-DESCRIPTION="More Than Parsing - Parser and ASTs generator"
-HOMEPAGE="http://babel.ls.fi.upm.es/research/mtp"
-SRC_URI="http://babel.ls.fi.upm.es/software/mtp/${P}-src.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86"
-IUSE="doc examples"
-
-RDEPEND=">=virtual/jre-1.4
- =dev-java/jsap-1.03a"
-DEPEND=">=virtual/jdk-1.5
- dev-java/javacc
- =dev-java/jsap-1.03a
- >=dev-java/ant-core-1.6.2" # FIXME ant-core version
-
-src_unpack()
-{
- unpack ${A}
-
- cd ${S}/lib
- java-pkg_jarfrom jsap jsap.jar JSAP_1.03a.jar
-
-}
-
-src_compile() {
- # Apache ANT needs to know where JAVACC lives
- local javaccjar=$(java-pkg_getjar --build-only javacc javacc.jar)
- local javacc=$(dirname ${javaccjar})
- if (use doc) && $(built_with_use jsap doc); then
- local jsap_javadoc=$(javadoc-pkg_getjavadoc jsap)
- fi
- JAVACC=${javacc} JAVADOC_LINK=${jsap_javadoc} eant $(use_doc doc)
-}
-
-src_install() {
- # .jar files
- # TODO: patch ANT src/mtp/build.xml so that only one .jar file
- # is generated
- java-pkg_dojar lib/${PN}.jar
- java-pkg_dojar lib/${PN}ast.jar
- java-pkg_dojar lib/${PN}analysis.jar
- java-pkg_dojar lib/${PN}log.jar
- java-pkg_dojar lib/${PN}parser.jar
- java-pkg_dojar lib/${PN}semantics.jar
- java-pkg_dojar lib/${PN}synthesis.jar
- java-pkg_dolauncher ${PN} --main ${PN}.${PN}
- # Documentation
- if use doc; then
- dodoc README
- ln -s docs api
- java-pkg_dojavadoc api
- fi
- # Examples
- if use examples; then
- dodir /usr/share/doc/${PF}/examples
- cp examples/* ${D}/usr/share/doc/${PF}/examples
- fi
-}
-
-# ------------------------------------------------------------------------------
-# @ebuild-function java-pkg_getjavadoc
-#
-# Get the path of the javadoc documentation for a given package
-# Returns -1 if no javadoc info is found
-# Javadoc needs this in order to properly link files from different libraries
-#
-# Example: Get the path for JSAP javadoc documentation
-# java-pkg_getjars
-# Example Return:
-# /usr/share/doc/JSAP-1.03a/doc/javadoc
-#
-# @param $1 - package to get the javadoc from
-# ------------------------------------------------------------------------------
-javadoc-pkg_getjavadoc() {
- debug-print-function ${FUNCNAME} $*
-
- [[ ${#} -ne 1 ]] && die "One and only one argument needed"
-
- local package_env=/usr/share/${1}/package.env
- local javadoc_dir
-
- javadoc_dir=-1
- if [[ -r "${package_env}" ]]; then
- exec 3<${package_env}
- local LINE
- while read LINE <&3 ; do
- if [[ $LINE == JAVADOC_PATH* ]]; then
- # Removing the JAVADOC_PATH=" part of the line
- javadoc_dir=${LINE#*=\"}
- javadoc_dir=${javadoc_dir/\"/}
- fi;
- done
- fi
- echo ${javadoc_dir}
-}