diff options
-rw-r--r-- | app-misc/jbidwatcher/ChangeLog | 8 | ||||
-rw-r--r-- | app-misc/jbidwatcher/files/digest-jbidwatcher-1.0 | 3 | ||||
-rw-r--r-- | app-misc/jbidwatcher/files/jbidwatcher-1.0-build_xml.patch | 39 | ||||
-rw-r--r-- | app-misc/jbidwatcher/jbidwatcher-1.0.ebuild | 45 |
4 files changed, 94 insertions, 1 deletions
diff --git a/app-misc/jbidwatcher/ChangeLog b/app-misc/jbidwatcher/ChangeLog index 80742e687f42..e7fc6a7e0eba 100644 --- a/app-misc/jbidwatcher/ChangeLog +++ b/app-misc/jbidwatcher/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-misc/jbidwatcher # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/jbidwatcher/ChangeLog,v 1.25 2006/07/22 21:59:18 nelchael Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/jbidwatcher/ChangeLog,v 1.26 2006/09/28 03:00:38 nichoj Exp $ + +*jbidwatcher-1.0 (28 Sep 2006) + + 28 Sep 2006; Joshua Nichols <nichoj@gentoo.org> + +files/jbidwatcher-1.0-build_xml.patch, +jbidwatcher-1.0.ebuild: + Version bump, bug #96721. 22 Jul 2006; Krzysiek Pawlik <nelchael@gentoo.org> jbidwatcher-1.0_pre6.ebuild: diff --git a/app-misc/jbidwatcher/files/digest-jbidwatcher-1.0 b/app-misc/jbidwatcher/files/digest-jbidwatcher-1.0 new file mode 100644 index 000000000000..1873cef6a5e2 --- /dev/null +++ b/app-misc/jbidwatcher/files/digest-jbidwatcher-1.0 @@ -0,0 +1,3 @@ +MD5 0445a5b45be28bff257d8f99ccf2cc99 jbidwatcher-1.0.tar.gz 639401 +RMD160 b78cd9984c0ac19a88425bea6527a0f07997267d jbidwatcher-1.0.tar.gz 639401 +SHA256 f2986731c3b54aa32f134707b2dc68cd31ee4e3609aec6b8673792c7ac7ea0c1 jbidwatcher-1.0.tar.gz 639401 diff --git a/app-misc/jbidwatcher/files/jbidwatcher-1.0-build_xml.patch b/app-misc/jbidwatcher/files/jbidwatcher-1.0-build_xml.patch new file mode 100644 index 000000000000..7ddf4d31bcd2 --- /dev/null +++ b/app-misc/jbidwatcher/files/jbidwatcher-1.0-build_xml.patch @@ -0,0 +1,39 @@ +--- jbidwatcher-1.0/build.xml ++++ jbidwatcher-1.0/build.xml.new +@@ -49,8 +49,8 @@ + + <target name="compile" depends="init"> + <echo level="info" message="Compiling all classes." /> +- <mkdir dir="${user.home}/.jbidwatcher" /> +- <copy file="display.cfg" todir="${user.home}/.jbidwatcher" /> ++ <mkdir dir="." /> ++ <copy file="display.cfg" todir="." /> + <javac srcdir="${src.dir}" destdir="${build.dir}" > + <classpath refid="project.class.path" /> + <include name="*.java" /> +@@ -58,7 +58,6 @@ + </target> + + <!-- +- <taskdef name="pmd" classname="net.sourceforge.pmd.ant.PMDTask"/> + rulesets/basic.xml + rulesets/design.xml + rulesets/imports.xml +@@ -103,7 +102,7 @@ + <fileset dir="${src.dir}" includes="*.jpg" /> + <fileset dir="${src.dir}" includes="*.ser" /> + <fileset dir="${src.dir}" includes="*.xsl" /> +- <fileset dir="${user.home}/.jbidwatcher" includes="display.cfg" /> ++ <fileset dir="." includes="display.cfg" /> + <fileset dir="${build.dir}" includes="**/*.class" /> + <fileset dir="${src.dir}" includes="com/**/*.class" /> + <fileset dir="${src.dir}" includes="org/**/*.class" /> +@@ -123,7 +122,7 @@ + <tarfileset prefix="${TARSRC}" dir="${src.dir}" includes="*.jpg" /> + <tarfileset prefix="${TARSRC}" dir="${src.dir}" includes="*.ser" /> + <tarfileset prefix="${TARSRC}" dir="${src.dir}" includes="*.xsl" /> +- <tarfileset prefix="${TARSRC}" dir="${user.home}/.jbidwatcher" includes="display.cfg" /> ++ <tarfileset prefix="${TARSRC}" dir="." includes="display.cfg" /> + <tarfileset prefix="${TARSRC}" dir="${src.dir}" includes="auctions.dtd" /> + <tarfileset prefix="${TARSRC}" dir="${src.dir}" includes="TODO" /> + <tarfileset prefix="${TARSRC}" dir="${src.dir}" includes="Makefile" /> diff --git a/app-misc/jbidwatcher/jbidwatcher-1.0.ebuild b/app-misc/jbidwatcher/jbidwatcher-1.0.ebuild new file mode 100644 index 000000000000..d680a5cfa15a --- /dev/null +++ b/app-misc/jbidwatcher/jbidwatcher-1.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/jbidwatcher/jbidwatcher-1.0.ebuild,v 1.1 2006/09/28 03:00:38 nichoj Exp $ + +inherit java-pkg-2 java-ant-2 eutils + +MY_PV=${PV/_/} # get rid of underscore between version and pre +MY_PN="JBidWatcher" +MY_P="${PN}-${MY_PV}" + +DESCRIPTION="Java-based eBay bidding, sniping and tracking tool" +HOMEPAGE="http://www.jbidwatcher.com/" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="doc" + +DEPEND=">=virtual/jdk-1.4 + dev-java/ant-core" +RDEPEND=">=virtual/jre-1.4" + +S="${WORKDIR}/${MY_P}" + +src_unpack() { + unpack ${A} + cd ${S} + + # Fix bad build.xml (used to be the sed) + epatch "${FILESDIR}/${P}-build_xml.patch" +} + +src_compile() { + eant jar $(use_doc) +} + +src_install() { + java-pkg_newjar ${MY_PN}-${MY_PV}.jar ${PN}.jar + + use doc && java-pkg_dohtml -r docs/api + + java-pkg_dolauncher ${PN} --jar ${PN}.jar + newicon jbidwatch64.jpg ${PN}.jpg + make_desktop_entry ${PN} ${MY_PN} +} |