/[gentoo-x86]/app-admin/webapp-config/webapp-config-1.50.2.ebuild
Gentoo

Contents of /app-admin/webapp-config/webapp-config-1.50.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Wed Jan 4 21:14:28 2006 UTC (8 years, 6 months ago) by wrobel
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Fixed trailing slashes for the -d flag. Support for symlinked directories. Ebuild now provides src_test
(Portage version: 2.0.53)

1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-admin/webapp-config/webapp-config-1.50.2.ebuild,v 1.1 2005/12/05 00:02:15 stuart Exp $
4
5 inherit eutils distutils
6
7 DESCRIPTION="Gentoo's installer for web-based applications"
8 HOMEPAGE="http://www.gentoo.org/"
9 SRC_URI="http://dev.gentoo.org/~stuart/webapp-config/${PF}.tar.gz"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
14 IUSE=""
15 S=${WORKDIR}/${PF}
16
17 DEPEND=""
18
19 src_install() {
20
21 # According to this discussion:
22 # http://mail.python.org/pipermail/distutils-sig/2004-February/003713.html
23 # distutils does not provide for specifying two different script install
24 # locations. Since we only install one script here the following should
25 # be ok
26 distutils_src_install --install-scripts="/usr/sbin"
27
28 dodir /etc/vhosts
29 cp config/webapp-config ${D}/etc/vhosts/
30 keepdir /usr/share/webapps
31 dodoc examples/phpmyadmin-2.5.4-r1.ebuild AUTHORS.txt TODO.txt CHANGES.txt examples/postinstall-en.txt
32 doman doc/webapp-config.5 doc/webapp-config.8 doc/webapp.eclass.5
33 dohtml doc/webapp-config.5.html doc/webapp-config.8.html doc/webapp.eclass.5.html
34 }
35
36 pkg_postinst() {
37 echo
38 einfo "Now that you have upgraded webapp-config, you **must** update your"
39 einfo "config files in /etc/vhosts/webapp-config before you emerge any"
40 einfo "packages that use webapp-config."
41 echo
42 epause 5
43 }

  ViewVC Help
Powered by ViewVC 1.1.20