You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/www-apps/polarblog/polarblog-1.11.1.ebuild

34 lines
731 B

# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=4
inherit webapp
MY_PV=${PV//./}
S=${WORKDIR}/PB_v${MY_PV}
IUSE=""
DESCRIPTION="PolarBlog is an open source embedded weblog solution"
HOMEPAGE="http://polarblog.polarlava.com"
SRC_URI="http://polarblog.polarlava.com/releases/pb_v${MY_PV}.tgz"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
LICENSE="GPL-2"
RDEPEND="virtual/httpd-php"
src_install() {
webapp_src_preinst
dodoc CHANGES INSTALL README
cp -R [[:lower:]][[:lower:]]* "${D}/${MY_HTDOCSDIR}"
webapp_serverowned "${MY_HTDOCSDIR}"
webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
webapp_hook_script "${FILESDIR}"/reconfig
webapp_src_install
}