From 78befb30cf4fae52d6b89a2dfb26865eda819784 Mon Sep 17 00:00:00 2001 From: Jan Brinkmann Date: Tue, 29 Mar 2005 10:25:24 +0000 Subject: Initial import, ebuild for this funny file manager based on the contribution by Henrik Johansson . Fixes #82904 (Portage version: 2.0.51.19) --- app-misc/bfm/ChangeLog | 11 ++++++ app-misc/bfm/Manifest | 5 +++ app-misc/bfm/bfm-1.2.ebuild | 80 +++++++++++++++++++++++++++++++++++++++ app-misc/bfm/files/1.2-build.xml | 75 ++++++++++++++++++++++++++++++++++++ app-misc/bfm/files/digest-bfm-1.2 | 1 + app-misc/bfm/metadata.xml | 13 +++++++ 6 files changed, 185 insertions(+) create mode 100644 app-misc/bfm/ChangeLog create mode 100644 app-misc/bfm/Manifest create mode 100644 app-misc/bfm/bfm-1.2.ebuild create mode 100644 app-misc/bfm/files/1.2-build.xml create mode 100644 app-misc/bfm/files/digest-bfm-1.2 create mode 100644 app-misc/bfm/metadata.xml (limited to 'app-misc/bfm') diff --git a/app-misc/bfm/ChangeLog b/app-misc/bfm/ChangeLog new file mode 100644 index 000000000000..35fbaf659b6c --- /dev/null +++ b/app-misc/bfm/ChangeLog @@ -0,0 +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.1 2005/03/29 10:25:24 luckyduck Exp $ + +*bfm-1.2 (29 Mar 2005) + + 29 Mar 2005; Jan Brinkmann +metadata.xml, + +files/1.2-build.xml, +bfm-1.2.ebuild: + Initial import, ebuild for this funny file manager based on the contribution + by Henrik Johansson . Fixes #82904 + diff --git a/app-misc/bfm/Manifest b/app-misc/bfm/Manifest new file mode 100644 index 000000000000..bb8348615a96 --- /dev/null +++ b/app-misc/bfm/Manifest @@ -0,0 +1,5 @@ +MD5 32b3516b4d2e73f603a62afecdaa351e bfm-1.2.ebuild 1967 +MD5 9a9783ba04b6fe14c4f59e17f9e74ce7 ChangeLog 388 +MD5 e9053dbd45cd43ac21e3198707006389 metadata.xml 478 +MD5 9e9c82c43581d5aa8822a10142307f26 files/digest-bfm-1.2 59 +MD5 6dea2b3bc0db53c3153cb946dfb0a19c files/1.2-build.xml 2000 diff --git a/app-misc/bfm/bfm-1.2.ebuild b/app-misc/bfm/bfm-1.2.ebuild new file mode 100644 index 000000000000..45760bf8c08e --- /dev/null +++ b/app-misc/bfm/bfm-1.2.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/bfm/bfm-1.2.ebuild,v 1.1 2005/03/29 10:25:24 luckyduck Exp $ + +inherit java-pkg + +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="~x86" +IUSE="doc jikes source" + +DEPEND=">=virtual/jre-1.4 + || ( >=dev-java/blackdown-java3d-bin-1.3 + >=dev-java/sun-java3d-bin-1.3 ) + dev-java/ant-core + jikes? ( dev-java/jikes ) + source? ( app-arch/zip )" +RDEPEND=">=virtual/jre-1.4" + +src_unpack() { + unpack ${A} + + cd ${S} + cp ${FILESDIR}/${PV}-build.xml ./build.xml + + mkdir ${S}/lib && cd ${S}/lib + if has_version sun-java3d-bin; then + java-pkg_jar-from sun-java3d-bin + elif has_version blackdown-java3d-bin; then + java-pkg_jar-from blackdown-java3d-bin + fi +} + +src_compile() { + local antflags="jar" + use doc && antflags="${antflags} docs" + use jikes && antflags="${antflags} -Dbuild.compiler=jikes" + ant ${antflags} || die "compilation failed" +} + +src_install() { + java-pkg_dojar dist/${PN}.jar + + local java3d="" + if has_version blackdown-java3d-bin; then + java3d="blackdown-java3d-bin" + elif has_version sun-java3d-bin; then + java3d="sun-java3d-bin" + fi + + echo "#!/bin/sh" > ${PN} + echo "\$(java-config -J) -Djava.library.path=/opt/${java3d}/lib -cp \$(java-config -p bfm,${java3d}) Bfm" >> ${PN} + + dobin ${PN} + + insinto /etc/bfm + doins ${S}/bfm.conf + + if use doc; then + dodoc README ChangeLog bindings COPYING 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/1.2-build.xml b/app-misc/bfm/files/1.2-build.xml new file mode 100644 index 000000000000..85d9b447e4dc --- /dev/null +++ b/app-misc/bfm/files/1.2-build.xml @@ -0,0 +1,75 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/app-misc/bfm/files/digest-bfm-1.2 b/app-misc/bfm/files/digest-bfm-1.2 new file mode 100644 index 000000000000..d82b21bd879c --- /dev/null +++ b/app-misc/bfm/files/digest-bfm-1.2 @@ -0,0 +1 @@ +MD5 12eb3ae43f459a9ebd83e6daad286453 bfm-1.2.tar.gz 193924 diff --git a/app-misc/bfm/metadata.xml b/app-misc/bfm/metadata.xml new file mode 100644 index 000000000000..95c55947f21e --- /dev/null +++ b/app-misc/bfm/metadata.xml @@ -0,0 +1,13 @@ + + + +java + + + BFM, the Brutal File Manager is a combined file manager and first + person shooter game. The basic idea is to represent different folders + on your computer as rooms in a 3D environment. Then, armed to your + teeths you go through these rooms and delete files by shooting at them. + + + -- cgit v1.2.3-65-gdbad