diff --git a/dev-util/bakefile/bakefile-0.2.8.bep b/dev-util/bakefile/bakefile-0.2.8.bep
new file mode 100644
index 000000000..b2b1a6714
--- /dev/null
+++ b/dev-util/bakefile/bakefile-0.2.8.bep
@@ -0,0 +1,22 @@
+DESCRIPTION="Native makefiles generator"
+HOMEPAGE="http://bakefile.sourceforge.org"
+SRC_URI="http://sourceforge.net/projects/bakefile/files/bakefile/0.2.8/bakefile-0.2.8.tar.gz/download"
+CHECKSUM_MD5 = "874da5c9035514366b7723bc7657c71c"
+REVISION="1"
+STATUS_HAIKU="stable"
+DEPEND=""
+BUILD {
+ cd bakefile-0.2.8
+ touch ./ChangeLog
+ libtoolize --force --copy --install
+ autoreconf -i
+ ./configure --prefix=/boot/common
+ make
+}
+
+INSTALL {
+ cd bakefile-0.2.8
+ make install
+}
+LICENSE="MIT"
+COPYRIGHT="2003-2007 (c) Vaclav Slavik"
diff --git a/dev-util/bakefile/bakefile.OptionalPackageDescription b/dev-util/bakefile/bakefile.OptionalPackageDescription
new file mode 100644
index 000000000..a7ba87b70
--- /dev/null
+++ b/dev-util/bakefile/bakefile.OptionalPackageDescription
@@ -0,0 +1,5 @@
+Package: bakefile
+Version: 0.2.8
+Copyright: 2003-2007 Vaclav Slavik
+License: MIT
+URL: http://bakefile.sourceforge.net
diff --git a/dev-util/bakefile/patches/bakefile-0.2.8.patch b/dev-util/bakefile/patches/bakefile-0.2.8.patch
new file mode 100644
index 000000000..54c5cbf21
--- /dev/null
+++ b/dev-util/bakefile/patches/bakefile-0.2.8.patch
@@ -0,0 +1,79 @@
+diff -Naur bakefile-0.2.8/autoconf/bakefile.m4 bakefile-0.2.8.haiku/autoconf/bakefile.m4
+--- bakefile-0.2.8/autoconf/bakefile.m4 2009-10-24 12:10:42.060030976 +0200
++++ bakefile-0.2.8.haiku/autoconf/bakefile.m4 2010-07-11 15:43:22.013893632 +0200
+@@ -77,6 +77,7 @@
+ PLATFORM_MACOSX=0
+ PLATFORM_OS2=0
+ PLATFORM_BEOS=0
++ PLATFORM_HAIKU=0
+
+ if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
+ case "${BAKEFILE_HOST}" in
+@@ -96,6 +97,9 @@
+ *-*-beos* )
+ PLATFORM_BEOS=1
+ ;;
++ *-*-haiku* )
++ PLATFORM_HAIKU=1
++ ;;
+ powerpc-apple-macos* )
+ PLATFORM_MAC=1
+ PLATFORM_MACOS=1
+@@ -125,6 +129,9 @@
+ beos )
+ PLATFORM_BEOS=1
+ ;;
++ haiku )
++ PLATFORM_HAIKU=1
++ ;;
+ * )
+ AC_MSG_ERROR([Unknown platform: $BAKEFILE_FORCE_PLATFORM])
+ ;;
+@@ -139,6 +146,7 @@
+ AC_SUBST(PLATFORM_MACOSX)
+ AC_SUBST(PLATFORM_OS2)
+ AC_SUBST(PLATFORM_BEOS)
++ AC_SUBST(PLATFORM_HAIKU)
+ ])
+
+
+@@ -181,7 +189,7 @@
+ fi
+ ;;
+
+- i*86-*-beos* )
++ i*86-*-beos* | i*86-*-haiku*)
+ LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
+ ;;
+ esac
+@@ -413,7 +421,7 @@
+ fi
+ ;;
+
+- *-*-beos* )
++ *-*-beos* | *-*-haiku*)
+ dnl can't use gcc under BeOS for shared library creation because it
+ dnl complains about missing 'main'
+ SHARED_LD_CC="${LD} -nostart -o"
+diff -Naur bakefile-0.2.8/rules/autoconf.bkl bakefile-0.2.8.haiku/rules/autoconf.bkl
+--- bakefile-0.2.8/rules/autoconf.bkl 2009-06-21 21:04:08.005505024 +0200
++++ bakefile-0.2.8.haiku/rules/autoconf.bkl 2010-07-11 15:49:26.029097984 +0200
+@@ -78,6 +78,7 @@
+
+
+
++
+
+
+
+diff -Naur bakefile-0.2.8/rules/common.bkl bakefile-0.2.8.haiku/rules/common.bkl
+--- bakefile-0.2.8/rules/common.bkl 2009-03-26 20:34:42.005505024 +0100
++++ bakefile-0.2.8.haiku/rules/common.bkl 2010-07-11 15:49:26.029360128 +0200
+@@ -42,6 +42,7 @@
+ 0
+ 0
+ 0
++ 0
+ 0
+
+