# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit webapp DESCRIPTION="AeroMail is a web-based e-mail client written in PHP which uses an IMAP server as backend" HOMEPAGE="http://www.nicolaas.net/aeromail/" SRC_URI="http://www.nicolaas.net/aeromail/am241.tgz" LICENSE="GPL-2" KEYWORDS="~x86" IUSE="" DEPEND="" RDEPEND="net-www/apache >=virtual/php-4" ## NOTES # This requires register_globals on but does not mention it anywhere. # Also needs a check for the IMAP features of php. src_unpack() { mkdir ${S} cd ${S} unpack ${A} touch config.inc.php || die "failed creating empty config file" } src_install() { webapp_src_preinst dodoc features readme changes || die "dodoc failed" cp -a * ${D}/${MY_HTDOCSDIR} || die "failed main copy" rm -f ${D}/${MY_HTDOCSDIR}/{features,readme,changes,license} || die "failed removing information files" webapp_serverowned ${MY_HTDOCSDIR}/config.inc.php || die "failed serverowning" webapp_src_install }