Skip to content
Permalink
Browse files

big guide-update from wbb@. Thanks Will!

git-svn-id: https://svn.macports.org/repository/macports/trunk/doc@4478 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Felix Kronlage
Felix Kronlage committed Jan 6, 2004
1 parent 47d22b4 commit d61674b37afe4b2990a5c468ad1ddde18ff28bd3
@@ -1,4 +1,4 @@
# $Id: Makefile,v 1.7 2003/07/20 17:00:51 fkr Exp $
# $Id: Makefile,v 1.8 2004/01/06 09:19:36 fkr Exp $

# To build DarwinPorts guide files from the source docbook xml.
# michaelm@opendarwin.org
@@ -27,13 +27,14 @@
# set XML_DEBUG_CATALOG= to see catalog debugging info

SOURCEDIR?= xml
DOCBOOK_XSL?= ${prefix}/share/xsl/docbook-xsl/1.61.0
DOCBOOK_XSL?= ${prefix}/share/xsl/docbook-xsl/
HTMLDIR?= html
XHTMLDIR?= xhtml
STYLESHEET?= ${DOCBOOK_XSL}/html/chunk.xsl
XSTYLESHEET?= ${DOCBOOK_XSL}/xhtml/chunk.xsl
XML_CATALOG_FILES?= ${prefix}/etc/xml/catalog
XML_DEBUG_CATALOG?=
STRINGPARAMS?= --stringparam html.stylesheet docbook.css

.PHONY : all
.PHONY : clean
@@ -52,7 +53,7 @@ html:

xhtml:
mkdir -p ${XHTMLDIR}
xsltproc --xinclude -o "${XHTMLDIR}/" "${XSTYLESHEET}" "${SOURCEDIR}/guide.xml"
xsltproc --xinclude ${STRINGPARAMS} -o "${XHTMLDIR}/" "${XSTYLESHEET}" "${SOURCEDIR}/guide.xml"

all: html xhtml tidy

@@ -0,0 +1,100 @@
/*
* DarwinPorts Guide Stylesheet
*/

* {
font-family: Georgia, "New Century Schoolbook", "Times New Roman", Times, serif;
}

body {
background: #e3f1c7;
width: 720px;
margin: 15px auto 15px auto;
font-size: 12px;
line-height: 1.2;
}

a:link {
color: #669;
text-decoration: none;
font-weight: bold;
border-bottom: 1px dotted #c63;
}

a:visited {
color: #888;
text-decoration: none;
font-weight: bold;
border-bottom: 1px dotted #669;
}

a:hover {
color: #c63;
text-decoration: none;
font-weight: bold;
border-bottom: 1px dotted #369;
}

hr {
display: none;
}

h3.title {
color: #879880;
margin: 1em 0 1em 0;
padding: 0;
border-bottom: 1px solid #ddd;
}

h4.title {
color: #999;
margin: 0 auto;
padding: 0;
}

h1.title, h2.title {
color: #669;
margin: 5px 0 5px 0;
padding: 10px 0 0 0;
border-bottom: 1px solid #bbb;
}

.navheader,
.navfooter,
div.book,
div.part,
div.chapter,
div.preface,
div.sect1 {
background: #fff;
padding: 0.5em 2em;
margin: 0.5em;
border: 1px solid #bbb;
}

div.chapter div.sect1, div.preface div.sect1 {
border: 0;
padding: 0;
margin: 0;
}

div.sect2, div.sect3 {
margin: 0 1em;
}

pre.programlisting {
color: #669;
font-family: "Courier New", Courier;
}

.userinput {
color: #669;
}

tt {
font-family: "Courier New", Courier;
}

.filename {
color: #673;
}
@@ -2,10 +2,9 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">


<book xmln:xi="http://www.w3.org/2001/XInclude">
<book xmlns:xi="http://www.w3.org/2001/XInclude">
<bookinfo>
<title>DarwinPorts User Guide</title>
<title>DarwinPorts Guide</title>

<author>
<honorific>Dr</honorific>
@@ -17,6 +16,14 @@
</affiliation>
</author>

<author>
<firstname>Will</firstname>
<surname>Barton</surname>
<affiliation>
<address><email>wbb4@opendarwin.org</email></address>
</affiliation>
</author>

<copyright>
<year>2002</year>
<year>2003</year>
@@ -26,22 +33,59 @@

<preface>
<title>About this guide</title>
<para>This guide shows you how to use the DarwinPorts system and
develop new DarwinPorts.</para>
<para>Part I of this guide is intended to help you use
to DarwinPorts system. The Part II is directed towards
users who wish to add their favorite software to DarwinPorts.
The Part III is intended for developers interested in extending
the DarwinPorts system.</para>

<para>The Guide is still at an early draft stage, if you have any
comments, corrections or (even bettter) contributions, please
contact the OpenDarwin Documentation Project at
<email>doc@opendarwin.org</email>.</para>
</preface>

<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="user.xml" />
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="quick.xml" />
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="details.xml" />
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="submission.xml" />
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="special.xml" />
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="variants.xml" />
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="style.xml" />
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="testing.xml" />
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="commands.xml" />
<part>
<title>Using DarwinPorts</title>

<xi:include href="user/user.xml" />

<xi:include href="user/dp_manager.xml" />
</part>

<part>
<title>DarwinPorts Portfiles</title>

<xi:include href="portfiles/quick.xml" />

<xi:include href="portfiles/details.xml" />

<xi:include href="portfiles/hier.xml" />

<xi:include href="portfiles/special.xml" />

<xi:include href="portfiles/variants.xml" />

<xi:include href="portfiles/style.xml" />

<xi:include href="portfiles/testing.xml" />

<xi:include href="portfiles/commands.xml" />
</part>

<part>
<title>DarwinPorts Internals</title>

<xi:include href="internals/internals.xml" />
</part>

<part>
<title>The DarwinPorts Project</title>

<xi:include href="project/roadmap.xml" />

<xi:include href="project/policies.xml" />

<xi:include href="project/submission.xml" />
</part>
</book>

0 comments on commit d61674b

Please sign in to comment.
You can’t perform that action at this time.