mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-05 14:07:27 -08:00
Per the category metadata, app-doc/ is reserved for documentation *files* and not software. Move it to app-text/ where it seems a better fit. Signed-off-by: Michał Górny <mgorny@gentoo.org>
34 lines
649 B
Bash
34 lines
649 B
Bash
# Copyright 1999-2024 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
inherit toolchain-funcs
|
|
|
|
MY_PN=${PN}-v
|
|
MY_P=${MY_PN}${PV}
|
|
|
|
DESCRIPTION="Prints watermark-like text on any PostScript document"
|
|
HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
|
|
SRC_URI="http://www.antitachyon.com/download/${MY_P}.tar.gz"
|
|
S="${WORKDIR}"/${PN}
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~riscv ~x86"
|
|
|
|
PATCHES=(
|
|
"${FILESDIR}"/${P}-string.patch
|
|
"${FILESDIR}"/${P}-Makefile-QA.patch
|
|
)
|
|
|
|
src_compile() {
|
|
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
|
|
}
|
|
|
|
src_install() {
|
|
dobin psmark
|
|
doman psmark.1
|
|
dodoc README CHANGELOG
|
|
}
|