summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Trygve Kalleberg <karltk@gentoo.org>2002-10-11 15:03:02 +0000
committerKarl Trygve Kalleberg <karltk@gentoo.org>2002-10-11 15:03:02 +0000
commit0d710e87abbfa98025bf9130bc276ed1cfbdf56a (patch)
tree3549ad6b12c675ab5d094f6a74f39006ed1682af
parentnew masked gtk2 version (diff)
downloadgentoo-2-0d710e87abbfa98025bf9130bc276ed1cfbdf56a.tar.gz
gentoo-2-0d710e87abbfa98025bf9130bc276ed1cfbdf56a.tar.bz2
gentoo-2-0d710e87abbfa98025bf9130bc276ed1cfbdf56a.zip
Fixes #8909.
-rw-r--r--app-admin/portagemaster/ChangeLog8
-rw-r--r--app-admin/portagemaster/files/digest-portagemaster-0.2.01
-rw-r--r--app-admin/portagemaster/portagemaster-0.2.0.ebuild43
3 files changed, 51 insertions, 1 deletions
diff --git a/app-admin/portagemaster/ChangeLog b/app-admin/portagemaster/ChangeLog
index 7e47ac0be1c9..2f3abfcd3f38 100644
--- a/app-admin/portagemaster/ChangeLog
+++ b/app-admin/portagemaster/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-admin/portagemaster
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/app-admin/portagemaster/ChangeLog,v 1.6 2002/09/21 18:49:06 karltk Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/portagemaster/ChangeLog,v 1.7 2002/10/11 15:03:02 karltk Exp $
+
+*portagemaster-0.2.0 (11 Oct 2002)
+
+ 11 Oct 2002; Karl Trygve Kalleberg <karltk@gentoo.org> portagemaster-0.2.0.ebuild files/digest-portagemaster-0.2.0 :
+ New upstream version, ebuild submitted by <milosn@slingshot.co.nz>, fixes
+ #8909.
*portagemaster-0.1.8 (08 Sep 2002)
diff --git a/app-admin/portagemaster/files/digest-portagemaster-0.2.0 b/app-admin/portagemaster/files/digest-portagemaster-0.2.0
new file mode 100644
index 000000000000..8dc9bb1142c2
--- /dev/null
+++ b/app-admin/portagemaster/files/digest-portagemaster-0.2.0
@@ -0,0 +1 @@
+MD5 66aa80f8665924e6b0ca5f7232550f43 portagemaster-0.2.0.tar.bz2 33475
diff --git a/app-admin/portagemaster/portagemaster-0.2.0.ebuild b/app-admin/portagemaster/portagemaster-0.2.0.ebuild
new file mode 100644
index 000000000000..99de3f709bdf
--- /dev/null
+++ b/app-admin/portagemaster/portagemaster-0.2.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/portagemaster/portagemaster-0.2.0.ebuild,v 1.1 2002/10/11 15:03:02 karltk Exp $
+
+S=${WORKDIR}/${PN}
+DESCRIPTION="A java portage browser and installer."
+SRC_URI="http://portagemaster.sourceforge.net/packages/${P}.tar.bz2"
+HOMEPAGE="http://portagemaster.sourceforge.net"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~ppc ~sparc ~sparc64"
+
+DEPEND=">=dev-java/sun-jdk-1.4.0-r5
+ >=dev-java/ant-1.4.1-r3
+ >=dev-java/jikes-1.16"
+
+pkg_setup() {
+ local foo
+ foo=`java-config --java-version 2>&1 | grep "1.4."`
+ if [ -z "$foo" ] ; then
+ eerror "You have to set the 1.4.0 JDK as your system default to compile this package."
+ einfo "Use java-config --set-system-vm=sun-jdk-1.4.0 (or more recent) to set it."
+ exit 1
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+}
+
+src_compile() {
+ ant
+ cp src/portagemaster src/portagemaster.orig
+ sed -e s:/usr/share/portagemaster/portagemaster.jar:/usr/share/portagemaster/lib/portagemaster-${PV}.jar: \
+ < src/portagemaster.orig \
+ > src/portagemaster || die
+}
+
+src_install() {
+ dojar packages/portagemaster-${PV}.jar
+ dobin src/portagemaster
+}