# Copyright 2013-2024 Gentoo Authors and Martin V\"ath
# Distributed under the terms of the GNU General Public License v2

EAPI=8
RESTRICT="mirror"

DESCRIPTION="concatenate postscript files. From new PostScript Utilities"
HOMEPAGE="http://t-sato.in.coocan.jp/tools/psjoin.html"
SRC_URI="http://t-sato.in.coocan.jp/tools/${PN} -> ${P}.pl"

LICENSE="psutils"
SLOT="0"
KEYWORDS="~alpha amd64 arm hppa ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE=""

RDEPEND=""
DEPEND="${RDEPEND}
	dev-lang/perl"

src_unpack() {
	mkdir --  "${S}"
	cp -p -- "${DISTDIR}/${P}.pl" "${S}/${PN}"
}

src_install() {
	dobin "${PN}"
}