? mydiff Index: squirrelmail-1.4.2-r5.ebuild =================================================================== RCS file: /home/cvsroot/gentoo-x86/net-mail/squirrelmail/squirrelmail-1.4.2-r5.ebuild,v retrieving revision 1.2 diff -u -b -B -r1.2 squirrelmail-1.4.2-r5.ebuild --- squirrelmail-1.4.2-r5.ebuild 2 May 2004 10:20:20 -0000 1.2 +++ squirrelmail-1.4.2-r5.ebuild 2 May 2004 10:27:02 -0000 @@ -32,7 +32,6 @@ IUSE="crypt virus-scan ldap ssl" LICENSE="GPL-2" -SLOT="1" KEYWORDS="~x86 ~ppc ~sparc ~amd64" # ~alpha doesn't have webapp-config DEPEND="virtual/php @@ -44,7 +43,7 @@ unpack ${P}.tar.bz2 cd ${S} - mv config/config_default.php config/config.php + cp config/config_default.php config/config.php # Now do the plugins cd ${S}/plugins @@ -80,6 +79,7 @@ } src_install() { + webapp_src_preinst # handle documentation files # # NOTE that doc files go into /usr/share/doc as normal; they do NOT @@ -149,7 +149,6 @@ # Copy the app's main files einfo "Installing squirrelmail files." - mkdir -p ${D}${MY_HTDOCSDIR} cp -r . ${D}${MY_HTDOCSDIR} # Identify the configuration files that this app uses @@ -189,7 +188,3 @@ webapp_src_install } - -pkg_postinst() { - einfo "squirrelmail now supports webapp-config." -}