--- squirrelmail-1.4.4.ebuild 2005-04-25 23:31:35.000000000 +0200 +++ squirrelmail-1.4.4-r1.ebuild 2005-04-25 23:22:32.000000000 +0200 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/mail-client/squirrelmail/squirrelmail-1.4.4.ebuild,v 1.6 2005/04/20 01:43:56 eradicator Exp $ -IUSE="crypt ldap spell ssl virus-scan mysql postgres" +IUSE="crypt ldap spell ssl virus-scan mysql postgres nls" inherit webapp eutils @@ -17,6 +17,7 @@ LDAP_VER=0.4 SECURELOGIN_VER=1.2-1.2.8 SHOWSSL_VER=2.1-1.2.8 +LOCALES_VER=20050308 MY_P=${P/_rc/-RC} S="${WORKDIR}/${MY_P}" @@ -30,7 +31,8 @@ ${PLUGINS_LOC}/admin_add.${ADMINADD_VER}.tar.gz virus-scan? ( ${PLUGINS_LOC}/virus_scan.${VSCAN_VER}.tar.gz ) crypt? ( ${PLUGINS_LOC}/gpg.${GPG_VER}.tar.gz ) - ldap? ( ${PLUGINS_LOC}/ldapuserdata-${LDAP_VER}.tar.gz )" + ldap? ( ${PLUGINS_LOC}/ldapuserdata-${LDAP_VER}.tar.gz ) + nls? (mirror://sourceforge/${PN}/all_locales-${PV}-${LOCALES_VER}.tar.bz2)" HOMEPAGE="http://www.squirrelmail.org/" @@ -80,6 +82,10 @@ mv secure_login/config.php.sample secure_login/config.php && unpack show_ssl_link-${SHOWSSL_VER}.tar.gz && mv show_ssl_link/config.php.sample show_ssl_link/config.php + + use nls && + cd ${S} && + unpack all_locales-${PV}-${LOCALES_VER}.tar.bz2 } src_compile() {