x11-misc/ftmenu: EAPI bump 2 -> 6
authorHarri Nieminen <moikkis@gmail.com>
Mon, 6 Feb 2017 11:27:47 +0000 (13:27 +0200)
committerDavid Seifert <soap@gentoo.org>
Mon, 6 Feb 2017 22:46:40 +0000 (23:46 +0100)
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Closes: https://github.com/gentoo/gentoo/pull/3844

x11-misc/ftmenu/ftmenu-0.4.0-r1.ebuild [moved from x11-misc/ftmenu/ftmenu-0.4.0.ebuild with 76% similarity]

similarity index 76%
rename from x11-misc/ftmenu/ftmenu-0.4.0.ebuild
rename to x11-misc/ftmenu/ftmenu-0.4.0-r1.ebuild
index 12d9ea343f61751085e25cf57914aab8ad51f88e..0e27f181245ad1e5bea96f9d32ea3de9af0bdf7d 100644 (file)
@@ -1,8 +1,8 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI="2"
+EAPI=6
 
 DESCRIPTION="A tray menu for the Fluxbox toolbar"
 HOMEPAGE="http://ftmenu.sourceforge.net/"
@@ -20,17 +20,8 @@ DEPEND="${COMMON_DEPEND}
 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
        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
@@ -38,5 +29,5 @@ pkg_postinst() {
        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
+       einfo
 }