Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 43224
Collapse All | Expand All

(-)squirrelmail-1.4.2-r5.ebuild (-7 / +2 lines)
Lines 32-38 Link Here
32
IUSE="crypt virus-scan ldap ssl"
32
IUSE="crypt virus-scan ldap ssl"
33
33
34
LICENSE="GPL-2"
34
LICENSE="GPL-2"
35
SLOT="1"
36
KEYWORDS="~x86 ~ppc ~sparc ~amd64" # ~alpha doesn't have webapp-config
35
KEYWORDS="~x86 ~ppc ~sparc ~amd64" # ~alpha doesn't have webapp-config
37
36
38
DEPEND="virtual/php
37
DEPEND="virtual/php
Lines 44-50 Link Here
44
	unpack ${P}.tar.bz2
43
	unpack ${P}.tar.bz2
45
44
46
	cd ${S}
45
	cd ${S}
47
	mv config/config_default.php config/config.php
46
	cp config/config_default.php config/config.php
48
47
49
	# Now do the plugins
48
	# Now do the plugins
50
	cd ${S}/plugins
49
	cd ${S}/plugins
Lines 80-85 Link Here
80
}
79
}
81
80
82
src_install() {
81
src_install() {
82
	webapp_src_preinst
83
	# handle documentation files
83
	# handle documentation files
84
	#
84
	#
85
	# NOTE that doc files go into /usr/share/doc as normal; they do NOT
85
	# NOTE that doc files go into /usr/share/doc as normal; they do NOT
Lines 149-155 Link Here
149
149
150
	# Copy the app's main files
150
	# Copy the app's main files
151
	einfo "Installing squirrelmail files."
151
	einfo "Installing squirrelmail files."
152
	mkdir -p ${D}${MY_HTDOCSDIR}
153
	cp -r . ${D}${MY_HTDOCSDIR}
152
	cp -r . ${D}${MY_HTDOCSDIR}
154
153
155
	# Identify the configuration files that this app uses
154
	# Identify the configuration files that this app uses
Lines 189-195 Link Here
189
188
190
	webapp_src_install
189
	webapp_src_install
191
}
190
}
192
193
pkg_postinst() {
194
	einfo "squirrelmail now supports webapp-config."
195
}

Return to bug 43224