summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-misc/ftmenu')
-rw-r--r--x11-misc/ftmenu/Manifest1
-rw-r--r--x11-misc/ftmenu/ftmenu-0.4.0.ebuild42
-rw-r--r--x11-misc/ftmenu/metadata.xml10
3 files changed, 53 insertions, 0 deletions
diff --git a/x11-misc/ftmenu/Manifest b/x11-misc/ftmenu/Manifest
new file mode 100644
index 00000000000..c6791ac1371
--- /dev/null
+++ b/x11-misc/ftmenu/Manifest
@@ -0,0 +1 @@
+DIST ftmenu-0.4.0.tar.gz 315415 SHA256 25f18f1e0cad81bb6a0c65ae11d11f684bd7e2343a519f76ca0dda0173ad765b
diff --git a/x11-misc/ftmenu/ftmenu-0.4.0.ebuild b/x11-misc/ftmenu/ftmenu-0.4.0.ebuild
new file mode 100644
index 00000000000..12d9ea343f6
--- /dev/null
+++ b/x11-misc/ftmenu/ftmenu-0.4.0.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="2"
+
+DESCRIPTION="A tray menu for the Fluxbox toolbar"
+HOMEPAGE="http://ftmenu.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+COMMON_DEPEND=">=x11-libs/gtk+-2.6:2
+ >=dev-libs/glib-2.6:2"
+DEPEND="${COMMON_DEPEND}
+ virtual/pkgconfig"
+RDEPEND="${COMMON_DEPEND}
+ x11-wm/fluxbox"
+
+src_compile() {
+ emake CFLAGS="${CFLAGS}" || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+ dodoc AUTHORS NEWS README ChangeLog || die
+}
+
+pkg_postinst() {
+ echo
+ einfo "To use ftmenu, edit your ~/.fluxbox/menu file and modify the [begin]"
+ einfo "line to contain the path to an icon of your choice."
+ einfo
+ einfo "For example, to use the default ftmenu xpm icon:"
+ einfo " [begin] (Fluxbox-0.9.12) </usr/share/ftmenu/fb.xpm>"
+ einfo
+ einfo "Next, add 'ftmenu &' to your X startup file (~/.xinitrc or ~/.xsession)."
+ echo
+}
diff --git a/x11-misc/ftmenu/metadata.xml b/x11-misc/ftmenu/metadata.xml
new file mode 100644
index 00000000000..577eb66c739
--- /dev/null
+++ b/x11-misc/ftmenu/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>maintainer-needed@gentoo.org</email>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">ftmenu</remote-id>
+ </upstream>
+</pkgmetadata>