diff options
author | Joshua Nichols <nichoj@gentoo.org> | 2006-07-17 15:16:39 +0000 |
---|---|---|
committer | Joshua Nichols <nichoj@gentoo.org> | 2006-07-17 15:16:39 +0000 |
commit | 3bf2f9aba1070b7d77ce1e43bbefb06e71119abe (patch) | |
tree | 48c1c6a3f1fe96e0354d47c9452b0fde71ca6581 /app-misc/bfm | |
parent | - stable on 32bit arches. arm, ppc, x86 (diff) | |
download | gentoo-2-3bf2f9aba1070b7d77ce1e43bbefb06e71119abe.tar.gz gentoo-2-3bf2f9aba1070b7d77ce1e43bbefb06e71119abe.tar.bz2 gentoo-2-3bf2f9aba1070b7d77ce1e43bbefb06e71119abe.zip |
Revision bump to support new Java system.
(Portage version: 2.1.1_pre2-r4)
Diffstat (limited to 'app-misc/bfm')
-rw-r--r-- | app-misc/bfm/ChangeLog | 9 | ||||
-rw-r--r-- | app-misc/bfm/bfm-1.2-r1.ebuild | 74 | ||||
-rw-r--r-- | app-misc/bfm/files/digest-bfm-1.2 | 2 | ||||
-rw-r--r-- | app-misc/bfm/files/digest-bfm-1.2-r1 | 3 |
4 files changed, 86 insertions, 2 deletions
diff --git a/app-misc/bfm/ChangeLog b/app-misc/bfm/ChangeLog index 51f50fc99b93..7050d25b0969 100644 --- a/app-misc/bfm/ChangeLog +++ b/app-misc/bfm/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-misc/bfm -# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/bfm/ChangeLog,v 1.3 2005/04/04 17:04:20 luckyduck Exp $ +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/bfm/ChangeLog,v 1.4 2006/07/17 15:16:39 nichoj Exp $ + +*bfm-1.2-r1 (17 Jul 2006) + + 17 Jul 2006; Joshua Nichols <jnichols@gentoo.org> +bfm-1.2-r1.ebuild: + Revision bump to support new Java system. 04 Apr 2005; Jan Brinkmann <luckyduck@gentoo.org> bfm-1.2.ebuild: added ~amd64 to KEYWORDS, now there are java3d implementations available for diff --git a/app-misc/bfm/bfm-1.2-r1.ebuild b/app-misc/bfm/bfm-1.2-r1.ebuild new file mode 100644 index 000000000000..76ff90e3c837 --- /dev/null +++ b/app-misc/bfm/bfm-1.2-r1.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/bfm/bfm-1.2-r1.ebuild,v 1.1 2006/07/17 15:16:39 nichoj Exp $ + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="File manager and first person shooter written in Java3D, you remove files by shooting at them" +HOMEPAGE="http://bfm.webhop.net" +SRC_URI="http://bfm.webhop.net/releases/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc source" + +RDEPEND=">=virtual/jre-1.4 + || ( >=dev-java/blackdown-java3d-bin-1.3.1-r1 + >=dev-java/sun-java3d-bin-1.3 )" +DEPEND=">=virtual/jdk-1.4 + ${RDEPEND} + dev-java/ant-core + source? ( app-arch/zip )" + +ant_src_unpack() { + unpack ${A} + + cd ${S} + cp ${FILESDIR}/${PV}-build.xml ./build.xml + + mkdir ${S}/lib && cd ${S}/lib + if has_version dev-java/sun-java3d-bin; then + java-pkg_jar-from sun-java3d-bin + elif has_version dev-java/blackdown-java3d-bin; then + java-pkg_jar-from blackdown-java3d-bin + fi +} + +src_compile() { + eant jar +} + +src_install() { + java-pkg_dojar dist/${PN}.jar + + local java3d="" + if has_version dev-java/blackdown-java3d-bin; then + java3d="blackdown-java3d-bin" + elif has_version dev-java/sun-java3d-bin; then + java3d="sun-java3d-bin" + fi + + java-pkg_dolauncher ${PN} --main Bfm + + insinto /etc/bfm + doins ${S}/bfm.conf + + if use doc; then + dodoc README ChangeLog bindings NEWS + java-pkg_dohtml -r docs/* + fi + use source && java-pkg_dosrc src/* +} + +pkg_postinst() { + einfo "" + einfo "Bfm - The Brutal File Manager has been successfully installed!" + einfo "" + einfo "A system wide config file has been installed to /etc/bfm/bfm.conf" + einfo "Copy the file to ~/.bfm/bfm.conf to set local settings" + einfo "" + ewarn "" + ewarn "Be sure to run bfm in safe mode if you don't want to delete files" + ewarn "" +} diff --git a/app-misc/bfm/files/digest-bfm-1.2 b/app-misc/bfm/files/digest-bfm-1.2 index d82b21bd879c..0c8c3a4cc088 100644 --- a/app-misc/bfm/files/digest-bfm-1.2 +++ b/app-misc/bfm/files/digest-bfm-1.2 @@ -1 +1,3 @@ MD5 12eb3ae43f459a9ebd83e6daad286453 bfm-1.2.tar.gz 193924 +RMD160 6945c55d1bd974eb99aaf935b152f7466c9c3d4e bfm-1.2.tar.gz 193924 +SHA256 09294fb40e515198095b1df0744bb4eb0cd0aebe36df81827871e73d9df7bd6b bfm-1.2.tar.gz 193924 diff --git a/app-misc/bfm/files/digest-bfm-1.2-r1 b/app-misc/bfm/files/digest-bfm-1.2-r1 new file mode 100644 index 000000000000..0c8c3a4cc088 --- /dev/null +++ b/app-misc/bfm/files/digest-bfm-1.2-r1 @@ -0,0 +1,3 @@ +MD5 12eb3ae43f459a9ebd83e6daad286453 bfm-1.2.tar.gz 193924 +RMD160 6945c55d1bd974eb99aaf935b152f7466c9c3d4e bfm-1.2.tar.gz 193924 +SHA256 09294fb40e515198095b1df0744bb4eb0cd0aebe36df81827871e73d9df7bd6b bfm-1.2.tar.gz 193924 |