# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/www-apps/metadot/metadot-6.1.6.ebuild,v 1.17 2014/08/10 20:13:50 slyfox Exp $ inherit webapp MY_P=${P/-/} S=${WORKDIR}/${PN} IUSE="" DESCRIPTION="Metadot is a CMS with file, page and link management, and collaboration features" HOMEPAGE="http://www.metadot.com" SRC_URI="http://download.metadot.com/${MY_P}.tar.gz" KEYWORDS="~x86 ppc" RDEPEND=" >=dev-lang/perl-5.005 >=www-apache/mod_perl-2.0 dev-perl/DBI dev-perl/DBD-mysql dev-perl/Apache-DBI dev-perl/XML-RSS virtual/perl-Storable dev-perl/perl-ldap dev-perl/Log-Agent dev-perl/Mail-POP3Client dev-perl/IO-stringy dev-perl/MailTools dev-perl/MIME-tools dev-perl/Unicode-String dev-perl/Spreadsheet-WriteExcel dev-perl/Date-Calc dev-perl/AppConfig dev-perl/ImageSize dev-perl/Template-Toolkit virtual/perl-Time-HiRes dev-perl/Lingua-EN-NameParse dev-perl/Number-Format dev-perl/XML-Simple dev-perl/Text-CSV_XS dev-perl/Archive-Zip dev-perl/DateManip " LICENSE="GPL-2" src_install() { webapp_src_preinst dodir ${MY_HOSTROOTDIR}/${PN} dodoc CHANGELOG README cp -R [[:lower:]][[:lower:]]* "${D}"/${MY_HTDOCSDIR} webapp_postinst_txt en "${FILESDIR}"/postinstall-en-${PVR}.txt webapp_hook_script "${FILESDIR}"/reconfig-${PVR} webapp_src_install }