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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Fri Dec 7 21:02:21 2001 UTC (12 years, 10 months ago) by drobbins
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +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-2.0.ebuild,v 1.5 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 local x
26 for x in install xml-guide portage-user gentoo-howto faq nvidia_tsg
27 do
28 xsltproc xsl/guide.xsl xml/${x}.xml > ${D}/usr/local/httpd/htdocs/doc/${x}.html
29 chmod 0644 ${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 chmod 0644 ${D}/usr/local/httpd/htdocs/projects/dynfw.html
36
37 insinto /usr/local/httpd/htdocs/projects
38 doins dynfw-1.0/dynfw-1.0.tar.gz css/gentoo-doc.css images/gentoo-doc.gif
39
40 insinto /usr/local/httpd/htdocs
41 doins html/index*.html
42 doins css/gentoo-new.css
43 cd images
44 doins zn* 1x1.gif gmid.gif gtop.jpg favicon.ico
45 cd ..
46 #exeinto /usr/sbin
47 #doexe bin/update-web
48 #exeinto /usr/bin
49 #doexe bin/pytext
50 }
51
52 #pkg_postinst() {
53 # This doesn't work, appears to be a path/env-update issue
54 #/usr/sbin/update-web
55 #}

  ViewVC Help
Powered by ViewVC 1.1.20