summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Shakaryan <omp@gentoo.org>2007-05-02 03:43:11 +0000
committerDavid Shakaryan <omp@gentoo.org>2007-05-02 03:43:11 +0000
commit9073f420a7ef0c3ec1e43c3214f61103f3f82df3 (patch)
tree0b732d571a5831430989ead00d61b4b428465b11 /x11-wm/blackbox/blackbox-0.70.1.ebuild
parentClean up latest version and remove older version. (diff)
downloadhistorical-9073f420a7ef0c3ec1e43c3214f61103f3f82df3.tar.gz
historical-9073f420a7ef0c3ec1e43c3214f61103f3f82df3.tar.bz2
historical-9073f420a7ef0c3ec1e43c3214f61103f3f82df3.zip
New version along with ebuild cleanup. (bug #114804)
Package-Manager: portage-2.1.2.5
Diffstat (limited to 'x11-wm/blackbox/blackbox-0.70.1.ebuild')
-rw-r--r--x11-wm/blackbox/blackbox-0.70.1.ebuild45
1 files changed, 45 insertions, 0 deletions
diff --git a/x11-wm/blackbox/blackbox-0.70.1.ebuild b/x11-wm/blackbox/blackbox-0.70.1.ebuild
new file mode 100644
index 000000000000..d1997cc5d93b
--- /dev/null
+++ b/x11-wm/blackbox/blackbox-0.70.1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/blackbox/blackbox-0.70.1.ebuild,v 1.1 2007/05/02 03:43:11 omp Exp $
+
+DESCRIPTION="A small, fast, full-featured window manager for X"
+HOMEPAGE="http://blackboxwm.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}wm/${P}.tar.bz2"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="nls truetype debug"
+
+RDEPEND="x11-libs/libXft
+ x11-libs/libXt
+ nls? ( sys-devel/gettext )
+ truetype? ( media-libs/freetype )"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ >=sys-apps/sed-4
+ x11-proto/xextproto"
+
+PROVIDE="virtual/blackbox"
+
+src_compile() {
+ econf \
+ --sysconfdir=/etc/X11/${PN} \
+ $(use_enable debug) \
+ $(use_enable nls) \
+ $(use_enable truetype xft) \
+ || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ dodir /etc/X11/Sessions
+ echo "/usr/bin/blackbox" > "${D}/etc/X11/Sessions/${PN}"
+ fperms a+x /etc/X11/Sessions/${PN}
+
+ insinto /usr/share/xsessions
+ doins "${FILESDIR}/${PN}.desktop"
+
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc AUTHORS ChangeLog* COMPLIANCE LICENSE README* TODO
+}