diff options
Diffstat (limited to 'media-gfx/mkbold-mkitalic')
-rw-r--r-- | media-gfx/mkbold-mkitalic/Manifest | 1 | ||||
-rw-r--r-- | media-gfx/mkbold-mkitalic/metadata.xml | 8 | ||||
-rw-r--r-- | media-gfx/mkbold-mkitalic/mkbold-mkitalic-0.11.ebuild | 36 |
3 files changed, 45 insertions, 0 deletions
diff --git a/media-gfx/mkbold-mkitalic/Manifest b/media-gfx/mkbold-mkitalic/Manifest new file mode 100644 index 000000000000..6411e66119a4 --- /dev/null +++ b/media-gfx/mkbold-mkitalic/Manifest @@ -0,0 +1 @@ +DIST mkbold-mkitalic-0.11.tar.bz2 21922 BLAKE2B 90473ee9ce751f491a36b18b4adcfc15a64535ca11b7394a2d46b48a144394ae549133635f898b8b16d87eb3271439fc425cee3cb05e4559818ab00a7d054e3d SHA512 fe40693bc5d73aaf45daf1bbd22f8107fb61604cd4ff0ec09e8bd63029be811a2b1bb46a3ce214954841c5d074e9ec23c150006d9a2c8ffe633e93801c2d7345 diff --git a/media-gfx/mkbold-mkitalic/metadata.xml b/media-gfx/mkbold-mkitalic/metadata.xml new file mode 100644 index 000000000000..987ce1bc2ed6 --- /dev/null +++ b/media-gfx/mkbold-mkitalic/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>hattya@gentoo.org</email> + <name>Akinori Hattori</name> + </maintainer> +</pkgmetadata> diff --git a/media-gfx/mkbold-mkitalic/mkbold-mkitalic-0.11.ebuild b/media-gfx/mkbold-mkitalic/mkbold-mkitalic-0.11.ebuild new file mode 100644 index 000000000000..6ecea3ce61ab --- /dev/null +++ b/media-gfx/mkbold-mkitalic/mkbold-mkitalic-0.11.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" + +inherit toolchain-funcs + +DESCRIPTION="Make BDF fonts bold and/or italic" +HOMEPAGE="https://hp.vector.co.jp/authors/VA013651/freeSoftware/mkbold-mkitalic.html" +SRC_URI="https://hp.vector.co.jp/authors/VA013651/lib/${P}.tar.bz2" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND="" +RDEPEND="" + +DOCS="ALGORITHM* README*" + +src_prepare() { + default + + sed -i \ + -e "/^MAKE/,/^CC/d" \ + -e "/^CFLAGS/s|= .* \\$|= ${CFLAGS} $|" \ + -e "/^LDFLAGS/s|= .*|= ${LDFLAGS}|" \ + -e "/^prefix/s|= .*|= ${EPREFIX}|" \ + Makefile + tc-export CC +} + +src_install() { + dobin mk{bold,italic,bolditalic} + einstalldocs +} |