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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Mon Jan 30 22:45:27 2006 UTC (12 years, 5 months ago) by wrobel
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Release of webapp-config-1.50.10. Fixed doctests, variables in hooks and
handling of config variables
(Portage version: 2.0.54)

1 wrobel 1.1 # Copyright 1999-2006 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 wrobel 1.2 # $Header: /var/cvsroot/gentoo-x86/app-admin/webapp-config/webapp-config-1.50.9.ebuild,v 1.1 2006/01/27 23:13:47 wrobel Exp $
4 wrobel 1.1
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/~wrobel/webapp-config/${PF}.tar.gz"
10    
11     LICENSE="GPL-2"
12     SLOT="0"
13     KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~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     src_test() {
37     cd ${S}
38     einfo "Running webapp-config doctests..."
39     if ! PYTHONPATH="." ${python} WebappConfig/tests/dtest.py; then
40     eerror "DocTests failed - please submit a bug report"
41     die "DocTesting failed!"
42     fi
43     }
44    
45     pkg_postinst() {
46     echo
47     einfo "Now that you have upgraded webapp-config, you **must** update your"
48     einfo "config files in /etc/vhosts/webapp-config before you emerge any"
49     einfo "packages that use webapp-config."
50     echo
51     epause 5
52     }

  ViewVC Help
Powered by ViewVC 1.1.20