summaryrefslogtreecommitdiff
blob: a519e76ffdd0a4d39c6e9f1c8bd37c299f83c143 (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
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DESCRIPTION="Free (Y)unicode text editor for all unices"
HOMEPAGE="https://www.yudit.org/"
SRC_URI="https://yudit.org/download/${P}.tar.gz"

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

RDEPEND="x11-libs/libX11"
DEPEND="${RDEPEND}"
BDEPEND="sys-devel/gettext"

src_prepare() {
	default
	# Don't strip binaries, let portage do that.
	sed -i "/^INSTALL_PROGRAM/s: -s::" Makefile.conf.in || die "sed failed"
}

src_install() {
	emake DESTDIR="${D}" install
	dodoc {BUGS,CHANGELOG,NEWS,TODO}.TXT
}