summaryrefslogtreecommitdiff
path: root/sci-visualization/fig2sxd/fig2sxd-0.23.ebuild
blob: f1f528a263fab85097eca2463f0dd2315250563d (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
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit toolchain-funcs

DESCRIPTION="Utility to convert files in xfig format to OpenOffice.org Draw format"
HOMEPAGE="https://gitlab.com/acfbuerger/fig2sxd"
SRC_URI="https://gitlab.com/acfbuerger/fig2sxd/-/archive/v${PV}/${PN}-v${PV}.tar.bz2"
S=${WORKDIR}/${PN}-v${PV}

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

DEPEND="sys-libs/zlib:="
RDEPEND="${DEPEND}"

DOCS=( README.md changelog )
PATCHES=( "${FILESDIR}"/${PN}-0.20-phony-check.patch )

src_compile() {
	emake CXXFLAGS="${CXXFLAGS}" CXX="$(tc-getCXX)"
}

src_install() {
	dobin ${PN}
	doman ${PN}.1
	einstalldocs
}