diff options
author | Serkan Kaba <serkan@gentoo.org> | 2008-12-20 04:06:28 +0000 |
---|---|---|
committer | Serkan Kaba <serkan@gentoo.org> | 2008-12-20 04:06:28 +0000 |
commit | cd192249257f71da6d3949ee156290425c55206b (patch) | |
tree | 35237dc64470ab269853f6f939af6b0a5fa91cac /dev-java/jupidator | |
parent | Honour CC and LDLFAGS; dont prestrip files, bug #239890, remove unused sed de... (diff) | |
download | gentoo-2-cd192249257f71da6d3949ee156290425c55206b.tar.gz gentoo-2-cd192249257f71da6d3949ee156290425c55206b.tar.bz2 gentoo-2-cd192249257f71da6d3949ee156290425c55206b.zip |
Initial commit as a dependency of jubler.
(Portage version: 2.2_rc17/cvs/Linux 2.6.27-gentoo-r2 x86_64)
Diffstat (limited to 'dev-java/jupidator')
-rw-r--r-- | dev-java/jupidator/ChangeLog | 10 | ||||
-rw-r--r-- | dev-java/jupidator/jupidator-0.2.0.ebuild | 45 | ||||
-rw-r--r-- | dev-java/jupidator/metadata.xml | 5 |
3 files changed, 60 insertions, 0 deletions
diff --git a/dev-java/jupidator/ChangeLog b/dev-java/jupidator/ChangeLog new file mode 100644 index 000000000000..c711bbc56557 --- /dev/null +++ b/dev-java/jupidator/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-java/jupidator +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jupidator/ChangeLog,v 1.1 2008/12/20 04:06:28 serkan Exp $ + +*jupidator-0.2.0 (20 Dec 2008) + + 20 Dec 2008; Serkan Kaba <serkan@gentoo.org> +metadata.xml, + +jupidator-0.2.0.ebuild: + Initial commit as a dependency of jubler. + diff --git a/dev-java/jupidator/jupidator-0.2.0.ebuild b/dev-java/jupidator/jupidator-0.2.0.ebuild new file mode 100644 index 000000000000..d419194e9363 --- /dev/null +++ b/dev-java/jupidator/jupidator-0.2.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jupidator/jupidator-0.2.0.ebuild,v 1.1 2008/12/20 04:06:28 serkan Exp $ + +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-ant-2 + +MY_P="${PN}.${PV}" + +DESCRIPTION="Small embeddable pure Java library for syntax highlighting" +HOMEPAGE="http://www.sourceforge.net/projects/jupidator" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2" +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64" +IUSE="nls" + +RDEPEND=">=virtual/jre-1.5 + dev-java/ant-core" +DEPEND=">=virtual/jdk-1.5 + dev-java/ant-core + nls? ( sys-devel/gettext )" + +S="${WORKDIR}" + +src_unpack() { + unpack ${A} + cd "${S}" || die + rm -v dist/*.jar || die + rm -v src/java/com/panayotis/jupidator/i18n/*.class || die + rm -rv src/java/org/apache/tools/bzip2 || die + #Bundled ant classes + java-ant_rewrite-classpath nbproject/build-impl.xml +} + +src_compile() { + eant -Dgentoo.classpath="$(java-pkg_getjars ant-core)" $(use nls && echo i18n) compile jar +} + +src_install() { + java-pkg_dojar dist/${PN}.jar + use doc && java-pkg_dohtml -r dist/doc + use source && java-pkg_dosrc src/java/com +} diff --git a/dev-java/jupidator/metadata.xml b/dev-java/jupidator/metadata.xml new file mode 100644 index 000000000000..250f2d1940ea --- /dev/null +++ b/dev-java/jupidator/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>java</herd> +</pkgmetadata> |