/[gentoo-x86]/app-doc/gentoo-web/gentoo-web-1.0.ebuild
Gentoo

Contents of /app-doc/gentoo-web/gentoo-web-1.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (show annotations) (download)
Fri Dec 7 21:02:21 2001 UTC (12 years, 8 months ago) by drobbins
Branch: MAIN
CVS Tags: HEAD
Changes since 1.9: +1 -1 lines
FILE REMOVED
cleanup, updates

1 # Copyright 1999-2001 Gentoo Technologies, Inc. Distributed under the terms
2 # of the GNU General Public License, v2 or later
3 # Author Daniel Robbins <drobbins@gentoo.org>
4 # $Header: /home/cvsroot/gentoo-x86/app-doc/gentoo-web/gentoo-web-1.0.ebuild,v 1.9 2001/10/06 17:22:51 azarah Exp $
5
6 S=${WORKDIR}/${P}
7 DESCRIPTION="www.gentoo.org website"
8 SRC_URI=""
9 HOMEPAGE="http://www.gentoo.org"
10 RDEPEND="sys-devel/python dev-libs/libxslt net-www/apache"
11
12 src_unpack() {
13 if [ "$MAINTAINER" != "yes" ]
14 then
15 echo "This will zap stuff in /usr/local/httpd/htdocs."
16 echo "Beware -- maintainers only."
17 fi
18 }
19
20 src_install() {
21 dodir /usr/local/httpd/htdocs/doc
22 dodir /usr/local/httpd/htdocs/projects
23 insinto /usr/local/httpd/htdocs/doc
24 cd ${FILESDIR}
25 doins html/nvidia_tsg.html
26 local x
27 for x in install xml-guide portage-user gentoo-howto faq
28 do
29 xsltproc xsl/guide.xsl xml/${x}.xml > ${D}/usr/local/httpd/htdocs/doc/${x}.html
30 done
31 doins css/gentoo-doc.css images/gentoo-doc.gif images/install*.gif
32
33 #dynamic firewalls tools page
34 xsltproc xsl/guide.xsl xml/dynfw.xml > ${D}/usr/local/httpd/htdocs/projects/dynfw.html
35
36 insinto /usr/local/httpd/htdocs/projects
37 doins dynfw-1.0/dynfw-1.0.tar.gz css/gentoo-doc.css images/gentoo-doc.gif
38
39 insinto /usr/local/httpd/htdocs
40 doins pyhtml/*
41 doins css/gentoo.css
42 cd images
43 doins gentoolinux.gif gentoo-2.gif
44 cd ..
45 exeinto /usr/sbin
46 doexe bin/update-web
47 exeinto /usr/bin
48 doexe bin/pytext
49 }
50
51 #pkg_postinst() {
52 # This doesn't work, appears to be a path/env-update issue
53 #/usr/sbin/update-web
54 #}

  ViewVC Help
Powered by ViewVC 1.1.20