summaryrefslogtreecommitdiff
blob: 7abb6f0a33f6b6d794561deaac3ccb93c94036cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit toolchain-funcs

DESCRIPTION="An easy to use gtk program for configuring Xbindkeys"
HOMEPAGE="none"
SRC_URI="ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/trevor/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND="=x11-libs/gtk+-1.2*"
RDEPEND="${DEPEND}
	x11-misc/xbindkeys"

src_unpack() {
	unpack ${A}
	cd "${S}"
	sed -i -e '/^CC=/d' Makefile || die
}

src_compile() {
	emake CC="$(tc-getCC) ${CFLAGS}" || die
}

src_install() {
	dobin ${PN}
	dodoc AUTHORS BUGS ChangeLog README TODO 
}