1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 inherit depend.apache webapp
8 DESCRIPTION="Web-based solution for managing scientific literature, references and citations"
9 HOMEPAGE="http://www.refbase.net/"
10 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
12 KEYWORDS="~x86 ~amd64"
14 DEPEND="|| ( <dev-lang/php-5.3[pcre] >=dev-lang/php-5.3 )
15 dev-lang/php[mysql,session]
16 app-admin/webapp-config
29 DOCS="AUTHORS BUGS ChangeLog NEWS README TODO UPDATE"
31 # Don't install docs to webroot
32 rm -f ${DOCS} COPYING INSTALL
34 cp -R * "${D}"${MY_HTDOCSDIR}
36 webapp_configfile ${MY_HTDOCSDIR}/initialize
37 webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt