summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-misc/bfm
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'app-misc/bfm')
-rw-r--r--app-misc/bfm/Manifest1
-rw-r--r--app-misc/bfm/bfm-1.2-r1.ebuild66
-rw-r--r--app-misc/bfm/bfm-1.2-r2.ebuild65
-rw-r--r--app-misc/bfm/files/1.2-build.xml75
-rw-r--r--app-misc/bfm/files/1.2-r2-build.xml75
-rw-r--r--app-misc/bfm/files/1.2-r2-package.patch313
-rw-r--r--app-misc/bfm/metadata.xml13
7 files changed, 608 insertions, 0 deletions
diff --git a/app-misc/bfm/Manifest b/app-misc/bfm/Manifest
new file mode 100644
index 000000000000..270fbe2b1dba
--- /dev/null
+++ b/app-misc/bfm/Manifest
@@ -0,0 +1 @@
+DIST bfm-1.2.tar.gz 193924 SHA256 09294fb40e515198095b1df0744bb4eb0cd0aebe36df81827871e73d9df7bd6b SHA512 39a9a250a8f3cf3b148c31a9fa5a89ac9a5873884dc1a98840b2f21879b30bd7cc6cc5dd9c5f7e657090a56276dbef2a72594e095aec8c05f3e003f89e91daee WHIRLPOOL 43df53a85d6ba6697f510f9cc940859cdf7f14915675b8f7cca2da176380a8ef5f18bc34e8d0b9cd6adba22888e36ecbd15d0360243ead101fa62a453387428a
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..e5fa4fb96573
--- /dev/null
+++ b/app-misc/bfm/bfm-1.2-r1.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+JAVA_PKG_IUSE="doc source"
+
+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=""
+
+RDEPEND=">=virtual/jre-1.4
+ >=dev-java/sun-java3d-bin-1.3"
+DEPEND=">=virtual/jdk-1.4
+ ${RDEPEND}"
+
+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
+}
+
+EANT_DOC_TARGET=""
+
+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 || die
+ java-pkg_dohtml -r docs/*
+ fi
+ use source && java-pkg_dosrc src/*
+}
+
+pkg_postinst() {
+ elog "A system wide config file has been installed to /etc/bfm/bfm.conf"
+ elog "Copy the file to ~/.bfm/bfm.conf to set local settings"
+ echo
+ ewarn "Be sure to run bfm in safe mode if you don't want to delete files"
+}
diff --git a/app-misc/bfm/bfm-1.2-r2.ebuild b/app-misc/bfm/bfm-1.2-r2.ebuild
new file mode 100644
index 000000000000..f8d56408256a
--- /dev/null
+++ b/app-misc/bfm/bfm-1.2-r2.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+JAVA_PKG_IUSE="doc source"
+
+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"
+
+CDEPEND="dev-java/sun-java3d-bin:0"
+
+RDEPEND=">=virtual/jre-1.4
+ ${CDEPEND}"
+
+DEPEND=">=virtual/jdk-1.4
+ ${CDEPEND}"
+
+java_prepare() {
+ cp "${FILESDIR}"/${PVR}-build.xml ./build.xml || die
+
+ mkdir lib || die
+ pushd lib
+ java-pkg_jar-from sun-java3d-bin
+ popd
+
+ epatch "${FILESDIR}"/${PVR}-package.patch
+
+ mkdir -p net/webhop/bfm || die
+ mv src/* net/webhop/bfm/ || die
+}
+
+EANT_DOC_TARGET="docs"
+
+src_install() {
+ local java3d="sun-java3d-bin"
+
+ java-pkg_dojar dist/${PN}.jar
+ java-pkg_dolauncher ${PN} --main net.webhop.bfm.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() {
+ elog "A system wide config file has been installed to /etc/bfm/bfm.conf"
+ elog "Copy the file to ~/.bfm/bfm.conf to set local settings"
+ echo
+ ewarn "Be sure to run bfm in safe mode if you don't want to delete files"
+}
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 @@
+<?xml version="1.0"?>
+
+<project name="bfm" default="jar">
+ <!-- some properties -->
+ <property name="src.dir" value="src" />
+ <property name="build.dir" value="build" />
+ <property name="docs.dir" value="docs" />
+ <property name="dist.dir" value="dist" />
+ <property name="lib.dir" value="lib" />
+ <property name="jarfile" value="${dist.dir}/${ant.project.name}.jar" />
+ <property name="target.jdk" value="1.4" />
+
+ <!-- init -->
+ <target name="init">
+ <mkdir dir="${dist.dir}" />
+ <mkdir dir="${build.dir}" />
+ <mkdir dir="${docs.dir}" />
+ </target>
+
+ <!-- classpath -->
+ <path id="refcp">
+ <fileset dir="${lib.dir}">
+ <include name="**/*.jar" />
+ </fileset>
+ </path>
+
+ <!-- compile everything -->
+ <target name="compile" depends="init">
+ <mkdir dir="${build.dir}" />
+ <javac srcdir="${src.dir}"
+ destdir="${build.dir}"
+ source="${target.jdk}"
+ target="${target.jdk}"
+ classpathref="refcp" />
+
+ <copy todir="${build.dir}">
+ <fileset file="${src.dir}/data" />
+ </copy>
+ <copy todir="${build.dir}/data">
+ <fileset dir="${src.dir}/data" />
+ </copy>
+ </target>
+
+ <!-- build the jar file -->
+ <target name="jar" depends="compile">
+ <jar jarfile="${jarfile}" basedir="${build.dir}"
+ manifest="${src.dir}/data/manifest" />
+ </target>
+
+ <!-- generate javadocs -->
+ <target name="docs" depends="init">
+ <javadoc sourcepath="${src.dir}"
+ packagenames=""
+ destdir="${docs.dir}"
+ author="true"
+ version="true"
+ use="true"
+ windowtitle="${ant.project.name} API" />
+ </target>
+
+ <!-- clean up -->
+ <target name="clean">
+ <delete dir="${build.dir}" />
+ <delete dir="${docs.dir}" />
+ <delete dir="${dist.dir}" />
+ </target>
+
+ <!-- zip the sources -->
+ <target name="sourcezip">
+ <zip destfile="${dist.dir}/${ant.project.name}-src.zip">
+ <zipfileset dir="${src.dir}" />
+ </zip>
+ </target>
+
+</project>
diff --git a/app-misc/bfm/files/1.2-r2-build.xml b/app-misc/bfm/files/1.2-r2-build.xml
new file mode 100644
index 000000000000..3c056688129d
--- /dev/null
+++ b/app-misc/bfm/files/1.2-r2-build.xml
@@ -0,0 +1,75 @@
+<?xml version="1.0"?>
+
+<project name="bfm" default="jar">
+ <!-- some properties -->
+ <property name="src.dir" value="net" />
+ <property name="build.dir" value="build" />
+ <property name="docs.dir" value="docs" />
+ <property name="dist.dir" value="dist" />
+ <property name="lib.dir" value="lib" />
+ <property name="jarfile" value="${dist.dir}/${ant.project.name}.jar" />
+ <property name="target.jdk" value="1.4" />
+
+ <!-- init -->
+ <target name="init">
+ <mkdir dir="${dist.dir}" />
+ <mkdir dir="${build.dir}" />
+ <mkdir dir="${docs.dir}" />
+ </target>
+
+ <!-- classpath -->
+ <path id="refcp">
+ <fileset dir="${lib.dir}">
+ <include name="**/*.jar" />
+ </fileset>
+ </path>
+
+ <!-- compile everything -->
+ <target name="compile" depends="init">
+ <mkdir dir="${build.dir}" />
+ <javac srcdir="${src.dir}"
+ destdir="${build.dir}"
+ source="${target.jdk}"
+ target="${target.jdk}"
+ classpathref="refcp" />
+
+ <copy todir="${build.dir}">
+ <fileset file="${src.dir}/webhop/bfm/data" />
+ </copy>
+ <copy todir="${build.dir}/net/webhop/bfm/data">
+ <fileset dir="${src.dir}/webhop/bfm/data" />
+ </copy>
+ </target>
+
+ <!-- build the jar file -->
+ <target name="jar" depends="compile">
+ <jar jarfile="${jarfile}" basedir="${build.dir}"
+ manifest="${src.dir}/webhop/bfm/data/manifest" />
+ </target>
+
+ <!-- generate javadocs -->
+ <target name="docs" depends="init">
+ <javadoc sourcepath="."
+ packagenames="*"
+ destdir="${docs.dir}"
+ author="true"
+ version="true"
+ use="true"
+ windowtitle="${ant.project.name} API" />
+ </target>
+
+ <!-- clean up -->
+ <target name="clean">
+ <delete dir="${build.dir}" />
+ <delete dir="${docs.dir}" />
+ <delete dir="${dist.dir}" />
+ </target>
+
+ <!-- zip the sources -->
+ <target name="sourcezip">
+ <zip destfile="${dist.dir}/${ant.project.name}-src.zip">
+ <zipfileset dir="${src.dir}" />
+ </zip>
+ </target>
+
+</project>
diff --git a/app-misc/bfm/files/1.2-r2-package.patch b/app-misc/bfm/files/1.2-r2-package.patch
new file mode 100644
index 000000000000..7b3db3a4415d
--- /dev/null
+++ b/app-misc/bfm/files/1.2-r2-package.patch
@@ -0,0 +1,313 @@
+diff -urN a/src/Bfm.java b/src/Bfm.java
+--- a/src/Bfm.java 2005-02-22 03:07:39.000000000 +0100
++++ b/src/Bfm.java 2013-06-10 08:37:16.978094948 +0200
+@@ -17,6 +17,8 @@
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++package net.webhop.bfm;
++
+ import java.awt.*;
+ import javax.swing.*;
+ import com.sun.j3d.utils.universe.*;
+diff -urN a/src/Blood.java b/src/Blood.java
+--- a/src/Blood.java 2005-01-08 23:45:41.000000000 +0100
++++ b/src/Blood.java 2013-06-10 08:37:16.978094948 +0200
+@@ -26,6 +26,8 @@
+ A big thank to Andrew for letting us use his code!
+ */
+
++package net.webhop.bfm;
++
+ import javax.media.j3d.*;
+ import javax.vecmath.*;
+ import com.sun.j3d.utils.image.*;
+diff -urN a/src/DroppedDynamite.java b/src/DroppedDynamite.java
+--- a/src/DroppedDynamite.java 2004-12-31 14:23:44.000000000 +0100
++++ b/src/DroppedDynamite.java 2013-06-10 08:37:16.978094948 +0200
+@@ -17,6 +17,8 @@
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++package net.webhop.bfm;
++
+ import com.sun.j3d.utils.geometry.*;
+ import javax.media.j3d.*;
+ import javax.vecmath.*;
+diff -urN a/src/Dynamite.java b/src/Dynamite.java
+--- a/src/Dynamite.java 2005-02-18 21:24:29.000000000 +0100
++++ b/src/Dynamite.java 2013-06-10 08:37:16.978094948 +0200
+@@ -17,6 +17,8 @@
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++package net.webhop.bfm;
++
+ import com.sun.j3d.utils.geometry.*;
+ import javax.media.j3d.*;
+ import javax.vecmath.*;
+diff -urN a/src/Explotion.java b/src/Explotion.java
+--- a/src/Explotion.java 2005-02-20 23:55:12.000000000 +0100
++++ b/src/Explotion.java 2013-06-10 08:37:16.978094948 +0200
+@@ -17,6 +17,8 @@
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++package net.webhop.bfm;
++
+ import com.sun.j3d.utils.geometry.*;
+ import javax.media.j3d.*;
+ import javax.vecmath.*;
+diff -urN a/src/FSDefault.java b/src/FSDefault.java
+--- a/src/FSDefault.java 2005-01-04 16:02:08.000000000 +0100
++++ b/src/FSDefault.java 2013-06-10 08:37:16.978094948 +0200
+@@ -20,6 +20,8 @@
+ /* FS stands for FileShape but is actually an transformgroup
+ containing the visuall shape of the FileObjet*/
+
++package net.webhop.bfm;
++
+ import java.awt.*;
+ import com.sun.j3d.utils.geometry.*;
+ import javax.media.j3d.*;
+diff -urN a/src/FSDocument.java b/src/FSDocument.java
+--- a/src/FSDocument.java 2005-01-04 16:02:08.000000000 +0100
++++ b/src/FSDocument.java 2013-06-10 08:37:16.978094948 +0200
+@@ -17,6 +17,8 @@
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++package net.webhop.bfm;
++
+ import java.awt.*;
+ import com.sun.j3d.utils.geometry.*;
+ import javax.media.j3d.*;
+diff -urN a/src/FSPicture.java b/src/FSPicture.java
+--- a/src/FSPicture.java 2005-02-22 02:29:54.000000000 +0100
++++ b/src/FSPicture.java 2013-06-10 08:37:16.978094948 +0200
+@@ -17,6 +17,8 @@
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++package net.webhop.bfm;
++
+ import java.awt.*;
+ import com.sun.j3d.utils.geometry.*;
+ import javax.media.j3d.*;
+diff -urN a/src/FSVideo.java b/src/FSVideo.java
+--- a/src/FSVideo.java 2005-01-04 16:02:08.000000000 +0100
++++ b/src/FSVideo.java 2013-06-10 08:37:16.978094948 +0200
+@@ -17,6 +17,8 @@
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++package net.webhop.bfm;
++
+ import java.awt.*;
+ import com.sun.j3d.utils.geometry.*;
+ import javax.media.j3d.*;
+diff -urN a/src/FileObject.java b/src/FileObject.java
+--- a/src/FileObject.java 2005-02-20 23:55:12.000000000 +0100
++++ b/src/FileObject.java 2013-06-10 08:37:16.978094948 +0200
+@@ -17,6 +17,8 @@
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++package net.webhop.bfm;
++
+ import java.awt.*;
+ import com.sun.j3d.utils.geometry.*;
+ import javax.media.j3d.*;
+diff -urN a/src/GrapplingHook.java b/src/GrapplingHook.java
+--- a/src/GrapplingHook.java 2005-01-03 06:03:50.000000000 +0100
++++ b/src/GrapplingHook.java 2013-06-10 08:37:16.978094948 +0200
+@@ -17,6 +17,8 @@
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++package net.webhop.bfm;
++
+ import com.sun.j3d.utils.geometry.*;
+ import javax.media.j3d.*;
+ import javax.vecmath.*;
+diff -urN a/src/Hud.java b/src/Hud.java
+--- a/src/Hud.java 2005-02-21 19:14:18.000000000 +0100
++++ b/src/Hud.java 2013-06-10 08:37:16.978094948 +0200
+@@ -17,6 +17,8 @@
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++package net.webhop.bfm;
++
+ import com.sun.j3d.utils.geometry.*;
+ import java.awt.*;
+ import javax.media.j3d.*;
+diff -urN a/src/OpenDialog.java b/src/OpenDialog.java
+--- a/src/OpenDialog.java 2005-02-21 18:36:44.000000000 +0100
++++ b/src/OpenDialog.java 2013-06-10 08:37:16.978094948 +0200
+@@ -16,6 +16,9 @@
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
++
++package net.webhop.bfm;
++
+ import javax.swing.plaf.*;
+ import java.awt.*;
+ import java.awt.event.*;
+diff -urN a/src/Pattern.java b/src/Pattern.java
+--- a/src/Pattern.java 2004-12-31 14:22:27.000000000 +0100
++++ b/src/Pattern.java 2013-06-10 08:37:16.978094948 +0200
+@@ -17,6 +17,8 @@
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++package net.webhop.bfm;
++
+ import javax.vecmath.*;
+
+ public abstract class Pattern {
+diff -urN a/src/PatternCircle.java b/src/PatternCircle.java
+--- a/src/PatternCircle.java 2004-12-31 14:22:27.000000000 +0100
++++ b/src/PatternCircle.java 2013-06-10 08:37:16.978094948 +0200
+@@ -17,6 +17,8 @@
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++package net.webhop.bfm;
++
+ import javax.vecmath.*;
+
+ public class PatternCircle extends Pattern {
+diff -urN a/src/PhysicsHandler.java b/src/PhysicsHandler.java
+--- a/src/PhysicsHandler.java 2005-02-21 18:36:44.000000000 +0100
++++ b/src/PhysicsHandler.java 2013-06-10 08:37:16.978094948 +0200
+@@ -17,6 +17,8 @@
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++package net.webhop.bfm;
++
+ import javax.media.j3d.*;
+ import javax.vecmath.*;
+ import java.io.*;
+diff -urN a/src/Player.java b/src/Player.java
+--- a/src/Player.java 2005-02-21 18:30:54.000000000 +0100
++++ b/src/Player.java 2013-06-10 08:37:16.974761615 +0200
+@@ -17,6 +17,8 @@
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++package net.webhop.bfm;
++
+ import com.sun.j3d.utils.universe.*;
+ import javax.media.j3d.*;
+ import javax.vecmath.*;
+diff -urN a/src/Rocket.java b/src/Rocket.java
+--- a/src/Rocket.java 2004-12-31 14:22:27.000000000 +0100
++++ b/src/Rocket.java 2013-06-10 08:37:16.974761615 +0200
+@@ -17,6 +17,8 @@
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++package net.webhop.bfm;
++
+ import com.sun.j3d.utils.geometry.*;
+ import javax.media.j3d.*;
+ import javax.vecmath.*;
+diff -urN a/src/RocketLauncher.java b/src/RocketLauncher.java
+--- a/src/RocketLauncher.java 2005-01-08 01:22:40.000000000 +0100
++++ b/src/RocketLauncher.java 2013-06-10 08:37:16.974761615 +0200
+@@ -17,6 +17,8 @@
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++package net.webhop.bfm;
++
+ import com.sun.j3d.utils.geometry.*;
+ import javax.media.j3d.*;
+ import javax.vecmath.*;
+diff -urN a/src/Room.java b/src/Room.java
+--- a/src/Room.java 2005-02-20 23:55:12.000000000 +0100
++++ b/src/Room.java 2013-06-10 08:37:16.974761615 +0200
+@@ -17,6 +17,8 @@
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++package net.webhop.bfm;
++
+ import javax.media.j3d.*;
+ import javax.vecmath.*;
+ import java.io.*;
+diff -urN a/src/RoomObject.java b/src/RoomObject.java
+--- a/src/RoomObject.java 2005-02-20 23:55:12.000000000 +0100
++++ b/src/RoomObject.java 2013-06-10 08:37:16.974761615 +0200
+@@ -17,6 +17,8 @@
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++package net.webhop.bfm;
++
+ import javax.media.j3d.*;
+
+ public abstract class RoomObject extends BranchGroup {
+diff -urN a/src/Shotgun.java b/src/Shotgun.java
+--- a/src/Shotgun.java 2005-01-08 01:22:40.000000000 +0100
++++ b/src/Shotgun.java 2013-06-10 08:37:16.974761615 +0200
+@@ -17,6 +17,8 @@
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++package net.webhop.bfm;
++
+ import com.sun.j3d.utils.geometry.*;
+ import javax.media.j3d.*;
+ import javax.vecmath.*;
+diff -urN a/src/SniperRifle.java b/src/SniperRifle.java
+--- a/src/SniperRifle.java 2005-02-20 18:16:14.000000000 +0100
++++ b/src/SniperRifle.java 2013-06-10 08:37:16.974761615 +0200
+@@ -17,6 +17,8 @@
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++package net.webhop.bfm;
++
+ import com.sun.j3d.utils.geometry.*;
+ import javax.media.j3d.*;
+ import javax.vecmath.*;
+diff -urN a/src/Spear.java b/src/Spear.java
+--- a/src/Spear.java 2005-01-03 02:00:41.000000000 +0100
++++ b/src/Spear.java 2013-06-10 08:37:16.974761615 +0200
+@@ -17,6 +17,8 @@
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++package net.webhop.bfm;
++
+ import com.sun.j3d.utils.geometry.*;
+ import javax.media.j3d.*;
+ import javax.vecmath.*;
+diff -urN a/src/Wall.java b/src/Wall.java
+--- a/src/Wall.java 2005-01-03 20:40:55.000000000 +0100
++++ b/src/Wall.java 2013-06-10 08:37:16.974761615 +0200
+@@ -17,6 +17,8 @@
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++package net.webhop.bfm;
++
+ import java.awt.*;
+ import com.sun.j3d.utils.geometry.*;
+ import javax.media.j3d.*;
+diff -urN a/src/Weapon.java b/src/Weapon.java
+--- a/src/Weapon.java 2005-02-21 18:36:44.000000000 +0100
++++ b/src/Weapon.java 2013-06-10 08:37:16.974761615 +0200
+@@ -17,6 +17,8 @@
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++package net.webhop.bfm;
++
+ import javax.media.j3d.*;
+ import javax.vecmath.*;
+ import com.sun.j3d.utils.picking.*;
diff --git a/app-misc/bfm/metadata.xml b/app-misc/bfm/metadata.xml
new file mode 100644
index 000000000000..05f7df690ca1
--- /dev/null
+++ b/app-misc/bfm/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>java</herd>
+
+<longdescription>
+ 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.
+</longdescription>
+
+</pkgmetadata>