/[gentoo-x86]/gnustep-libs/gsweb/gsweb-1.3.0_pre20071207.ebuild
Gentoo

Contents of /gnustep-libs/gsweb/gsweb-1.3.0_pre20071207.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Thu Jan 31 19:57:27 2008 UTC (12 years, 1 month ago) by hollow
Branch: MAIN
Changes since 1.1: +3 -3 lines
fix depend.apache usage wrt #208033
(Portage version: 2.1.4)

1 hollow 1.2 # Copyright 1999-2008 Gentoo Foundation
2 voyageur 1.1 # Distributed under the terms of the GNU General Public License v2
3 hollow 1.2 # $Header: /var/cvsroot/gentoo-x86/gnustep-libs/gsweb/gsweb-1.3.0_pre20071207.ebuild,v 1.1 2007/12/08 19:51:56 voyageur Exp $
4 voyageur 1.1
5     inherit gnustep-2 apache-module
6    
7     DESCRIPTION="GNUstepWeb: a library compatible with WebObjects 4.x"
8     HOMEPAGE="http://www.gnustep.org/"
9     SRC_URI="mirror://gentoo/${P}.tar.gz"
10    
11     KEYWORDS="~amd64 ~ppc ~x86"
12     LICENSE="LGPL-2.1"
13     SLOT="0"
14    
15     DEPEND="gnustep-libs/gdl2
16     x11-libs/libPropList"
17     RDEPEND="${DEPEND}"
18     need_apache2
19    
20     APACHE2_MOD_FILE="${S}/GSWAdaptors/Apache2/.libs/mod_gsw.so"
21     APACHE2_MOD_CONF="42_mod_gsweb"
22    
23     src_compile() {
24     gnustep-base_src_compile
25     cd GSWAdaptors/Apache2
26     gnustep-base_src_compile
27     }
28    
29     src_install() {
30     gnustep-base_src_install
31     cd GSWAdaptors/Apache2
32     apache-module_src_install
33    
34     insinto /etc/gsweb
35     doins "${FILESDIR}"/gsweb.conf
36    
37     if use doc; then
38     insinto ${GNUSTEP_SYSTEM_DOC}/GSWeb
39     doins "${S}"/GSWAdaptors/Doc/ConfigurationFile.html
40     fi
41     }
42    
43     pkg_postinst() {
44     elog "To enable ${PN}, you need to edit your /etc/conf.d/apache2 file and"
45     elog "add \"-D GSWeb\" to APACHE2_OPTS"
46     elog "Configuration file was installed as"
47 hollow 1.2 elog " ${APACHE_MODULES_CONFDIR}/${APACHE2_MOD_CONF}"
48 voyageur 1.1 }

  ViewVC Help
Powered by ViewVC 1.1.20