gentoo/www-apps/blazeblogger/blazeblogger-1.2.0-r1.ebuild
David Seifert c125919714
www-apps/blazeblogger: Port to EAPI 7
Closes: https://bugs.gentoo.org/474030
Closes: https://bugs.gentoo.org/481164
Closes: https://bugs.gentoo.org/740910
Package-Manager: Portage-3.0.7, Repoman-3.0.1
Signed-off-by: David Seifert <soap@gentoo.org>
2020-09-17 17:36:30 +02:00

40 lines
849 B
Bash

# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit bash-completion-r1
DESCRIPTION="Simple, capable content management system for producing static content"
HOMEPAGE="http://blaze.blackened.cz/"
SRC_URI="
https://${PN}.googlecode.com/files/${P}.tar.gz
doc? ( https://${PN}.googlecode.com/files/${PN}-doc-${PV}.tar.gz ) "
LICENSE="FDL-1.3 GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc"
RDEPEND="dev-lang/perl"
DEPEND="${RDEPEND}"
PATCHES=(
"${FILESDIR}"/${P}-bash-completion.patch #bug 417953
"${FILESDIR}"/${P}-makefile.patch
)
src_install() {
emake \
prefix="${ED}"/usr \
config="${ED}"/etc \
compdir="${D}"/$(get_bashcompdir) \
docsdir="${ED}"/usr/share/doc/${PF} \
install
if use doc; then
docinto html
dodoc -r "${WORKDIR}"/${PN}-doc-${PV}/.
fi
}