mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
docbook_xsl_stylesheets: bump version.
This commit is contained in:
@@ -0,0 +1,68 @@
|
||||
SUMMARY="XSL stylesheets for DocBook XML document instances"
|
||||
DESCRIPTION="
|
||||
DocBook is an XML vocabulary that lets you create documents in a \
|
||||
presentation-neutral form that captures the logical structure of your content. \
|
||||
Using free tools along with the DocBook XSL stylesheets, you can publish your \
|
||||
content as HTML pages and PDF files, and in many other formats.
|
||||
"
|
||||
HOMEPAGE="http://docbook.sourceforge.net"
|
||||
COPYRIGHT="
|
||||
1999-2007 Norman Walsh
|
||||
2003 Jiří Kosek
|
||||
2004-2007 Steve Ball
|
||||
2005-2014 The DocBook Project
|
||||
2011-2012 O'Reilly Media
|
||||
"
|
||||
LICENSE="BSD (3-clause)"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/docbook/xslt10-stylesheets/releases/download/release%2F$portVersion/docbook-xsl-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="966188d7c05fc76eaca115a55893e643dd01a3486f6368733c9ad974fcee7a26"
|
||||
SOURCE_DIR="docbook-xsl-$portVersion"
|
||||
|
||||
ARCHITECTURES="any"
|
||||
|
||||
PROVIDES="
|
||||
docbook_xsl_stylesheets = $portVersion
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:xmlcatalog
|
||||
cmd:find
|
||||
"
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $dataDir/xml/docbook/xsl-stylesheets-$portVersion
|
||||
|
||||
cp -v -R VERSION common eclipse epub extensions fo highlighting html \
|
||||
htmlhelp images javahelp lib manpages params profiling \
|
||||
roundtrip slides template tests tools webhelp website \
|
||||
xhtml xhtml-1_1 $dataDir/xml/docbook/xsl-stylesheets-$portVersion
|
||||
|
||||
ln -s VERSION $dataDir/xml/docbook/xsl-stylesheets-$portVersion/VERSION.xsl
|
||||
|
||||
mkdir -p $dataDir/xml/catalog
|
||||
|
||||
CATALOG=$dataDir/xml/catalog/docbook-xsl
|
||||
xmlcatalog --noout --create $CATALOG
|
||||
|
||||
xmlcatalog --noout --add "rewriteSystem" \
|
||||
"http://docbook.sourceforge.net/release/xsl/$portVersion" \
|
||||
"$dataDir/xml/docbook/xsl-stylesheets-$portVersion" \
|
||||
$CATALOG
|
||||
|
||||
xmlcatalog --noout --add "rewriteURI" \
|
||||
"http://docbook.sourceforge.net/release/xsl/$portVersion" \
|
||||
"$dataDir/xml/docbook/xsl-stylesheets-$portVersion" \
|
||||
$CATALOG
|
||||
|
||||
xmlcatalog --noout --add "rewriteSystem" \
|
||||
"http://docbook.sourceforge.net/release/xsl/current" \
|
||||
"$dataDir/xml/docbook/xsl-stylesheets-$portVersion" \
|
||||
$CATALOG
|
||||
|
||||
xmlcatalog --noout --add "rewriteURI" \
|
||||
"http://docbook.sourceforge.net/release/xsl/current" \
|
||||
"$dataDir/xml/docbook/xsl-stylesheets-$portVersion" \
|
||||
$CATALOG
|
||||
}
|
||||
Reference in New Issue
Block a user