add yelp-xsl-3.3.2, XSL stylesheets for Yelp help browser, from
Patrick Welche per PR pkg/45797
This commit is contained in:
parent
f66e9684d2
commit
c543035f68
6 changed files with 311 additions and 0 deletions
6
textproc/yelp-xsl/DESCR
Normal file
6
textproc/yelp-xsl/DESCR
Normal file
|
@ -0,0 +1,6 @@
|
|||
yelp-xsl is a collection of programs and data files to help you build,
|
||||
maintain, and distribute documentation. It provides XSLT stylesheets
|
||||
that can be built upon for help viewers and publishing systems. These
|
||||
stylesheets output JavaScript and CSS content, and reference images
|
||||
provided by yelp-xsl. This package also redistributes copies of the
|
||||
jQuery and jQuery.Syntax JavaScript libraries.
|
26
textproc/yelp-xsl/Makefile
Normal file
26
textproc/yelp-xsl/Makefile
Normal file
|
@ -0,0 +1,26 @@
|
|||
# $NetBSD: Makefile,v 1.1.1.1 2012/02/10 17:57:37 drochner Exp $
|
||||
#
|
||||
|
||||
DISTNAME= yelp-xsl-3.3.2
|
||||
CATEGORIES= textproc
|
||||
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/yelp-xsl/3.3/}
|
||||
EXTRACT_SUFX= .tar.xz
|
||||
|
||||
MAINTAINER= prlw1@cam.ac.uk
|
||||
HOMEPAGE= http://www.gnome.org/
|
||||
COMMENT= XSL stylesheets for Yelp help browser
|
||||
LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2.1 AND mit
|
||||
|
||||
PKG_DESTDIR_SUPPORT= user-destdir
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USE_TOOLS+= pkg-config intltool
|
||||
USE_PKGLOCALEDIR= yes
|
||||
|
||||
PKGCONFIG_OVERRIDE+= yelp-xsl.pc.in
|
||||
|
||||
BUILD_DEPENDS+= itstool-[0-9]*:../../textproc/itstool
|
||||
DEPENDS+= libxml2>=2.6.12:../../textproc/libxml2
|
||||
DEPENDS+= libxslt>=1.1.8:../../textproc/libxslt
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
116
textproc/yelp-xsl/PLIST
Normal file
116
textproc/yelp-xsl/PLIST
Normal file
|
@ -0,0 +1,116 @@
|
|||
@comment $NetBSD: PLIST,v 1.1.1.1 2012/02/10 17:57:38 drochner Exp $
|
||||
share/pkgconfig/yelp-xsl.pc
|
||||
share/yelp-xsl/icons/hicolor/24x24/status/yelp-note-bug.png
|
||||
share/yelp-xsl/icons/hicolor/24x24/status/yelp-note-important.png
|
||||
share/yelp-xsl/icons/hicolor/24x24/status/yelp-note-tip.png
|
||||
share/yelp-xsl/icons/hicolor/24x24/status/yelp-note-warning.png
|
||||
share/yelp-xsl/icons/hicolor/24x24/status/yelp-note.png
|
||||
share/yelp-xsl/icons/hicolor/48x48/status/yelp-note-bug.png
|
||||
share/yelp-xsl/icons/hicolor/48x48/status/yelp-note-important.png
|
||||
share/yelp-xsl/icons/hicolor/48x48/status/yelp-note-tip.png
|
||||
share/yelp-xsl/icons/hicolor/48x48/status/yelp-note-warning.png
|
||||
share/yelp-xsl/icons/hicolor/48x48/status/yelp-note.png
|
||||
share/yelp-xsl/icons/hicolor/48x48/status/yelp-quote-00AB.png
|
||||
share/yelp-xsl/icons/hicolor/48x48/status/yelp-quote-00BB.png
|
||||
share/yelp-xsl/icons/hicolor/48x48/status/yelp-quote-201C.png
|
||||
share/yelp-xsl/icons/hicolor/48x48/status/yelp-quote-201D.png
|
||||
share/yelp-xsl/icons/hicolor/48x48/status/yelp-quote-201E.png
|
||||
share/yelp-xsl/icons/hicolor/scalable/status/yelp-note-bug.svg
|
||||
share/yelp-xsl/icons/hicolor/scalable/status/yelp-note-important.svg
|
||||
share/yelp-xsl/icons/hicolor/scalable/status/yelp-note-tip.svg
|
||||
share/yelp-xsl/icons/hicolor/scalable/status/yelp-note-warning.svg
|
||||
share/yelp-xsl/icons/hicolor/scalable/status/yelp-note.svg
|
||||
share/yelp-xsl/icons/hicolor/watermarks/yelp-code-python.png
|
||||
share/yelp-xsl/icons/hicolor/watermarks/yelp-code.png
|
||||
share/yelp-xsl/js/jquery.js
|
||||
share/yelp-xsl/js/jquery.syntax.brush.apache.js
|
||||
share/yelp-xsl/js/jquery.syntax.brush.applescript.js
|
||||
share/yelp-xsl/js/jquery.syntax.brush.assembly.js
|
||||
share/yelp-xsl/js/jquery.syntax.brush.bash-script.js
|
||||
share/yelp-xsl/js/jquery.syntax.brush.bash.js
|
||||
share/yelp-xsl/js/jquery.syntax.brush.basic.js
|
||||
share/yelp-xsl/js/jquery.syntax.brush.clang.js
|
||||
share/yelp-xsl/js/jquery.syntax.brush.csharp.js
|
||||
share/yelp-xsl/js/jquery.syntax.brush.css.js
|
||||
share/yelp-xsl/js/jquery.syntax.brush.diff.js
|
||||
share/yelp-xsl/js/jquery.syntax.brush.haskell.js
|
||||
share/yelp-xsl/js/jquery.syntax.brush.html.js
|
||||
share/yelp-xsl/js/jquery.syntax.brush.io.js
|
||||
share/yelp-xsl/js/jquery.syntax.brush.java.js
|
||||
share/yelp-xsl/js/jquery.syntax.brush.javascript.js
|
||||
share/yelp-xsl/js/jquery.syntax.brush.kai.js
|
||||
share/yelp-xsl/js/jquery.syntax.brush.lisp.js
|
||||
share/yelp-xsl/js/jquery.syntax.brush.lua.js
|
||||
share/yelp-xsl/js/jquery.syntax.brush.ooc.js
|
||||
share/yelp-xsl/js/jquery.syntax.brush.pascal.js
|
||||
share/yelp-xsl/js/jquery.syntax.brush.perl5.js
|
||||
share/yelp-xsl/js/jquery.syntax.brush.php-script.js
|
||||
share/yelp-xsl/js/jquery.syntax.brush.php.js
|
||||
share/yelp-xsl/js/jquery.syntax.brush.plain.js
|
||||
share/yelp-xsl/js/jquery.syntax.brush.python.js
|
||||
share/yelp-xsl/js/jquery.syntax.brush.ruby.js
|
||||
share/yelp-xsl/js/jquery.syntax.brush.smalltalk.js
|
||||
share/yelp-xsl/js/jquery.syntax.brush.sql.js
|
||||
share/yelp-xsl/js/jquery.syntax.brush.xml.js
|
||||
share/yelp-xsl/js/jquery.syntax.brush.yaml.js
|
||||
share/yelp-xsl/js/jquery.syntax.core.js
|
||||
share/yelp-xsl/js/jquery.syntax.js
|
||||
share/yelp-xsl/js/jquery.syntax.layout.yelp.js
|
||||
share/yelp-xsl/xslt/common/color.xsl
|
||||
share/yelp-xsl/xslt/common/html.xsl
|
||||
share/yelp-xsl/xslt/common/icons.xsl
|
||||
share/yelp-xsl/xslt/common/utils.xsl
|
||||
share/yelp-xsl/xslt/docbook/common/db-chunk.xsl
|
||||
share/yelp-xsl/xslt/docbook/common/db-common.xsl
|
||||
share/yelp-xsl/xslt/docbook/common/db-title.xsl
|
||||
share/yelp-xsl/xslt/docbook/common/db-xref.xsl
|
||||
share/yelp-xsl/xslt/docbook/html/db2html-bibliography.xsl
|
||||
share/yelp-xsl/xslt/docbook/html/db2html-block.xsl
|
||||
share/yelp-xsl/xslt/docbook/html/db2html-callout.xsl
|
||||
share/yelp-xsl/xslt/docbook/html/db2html-classsynopsis.xsl
|
||||
share/yelp-xsl/xslt/docbook/html/db2html-cmdsynopsis.xsl
|
||||
share/yelp-xsl/xslt/docbook/html/db2html-css.xsl
|
||||
share/yelp-xsl/xslt/docbook/html/db2html-division.xsl
|
||||
share/yelp-xsl/xslt/docbook/html/db2html-ebnf.xsl
|
||||
share/yelp-xsl/xslt/docbook/html/db2html-footnote.xsl
|
||||
share/yelp-xsl/xslt/docbook/html/db2html-funcsynopsis.xsl
|
||||
share/yelp-xsl/xslt/docbook/html/db2html-index.xsl
|
||||
share/yelp-xsl/xslt/docbook/html/db2html-inline.xsl
|
||||
share/yelp-xsl/xslt/docbook/html/db2html-l10n.xsl
|
||||
share/yelp-xsl/xslt/docbook/html/db2html-links.xsl
|
||||
share/yelp-xsl/xslt/docbook/html/db2html-list.xsl
|
||||
share/yelp-xsl/xslt/docbook/html/db2html-media.xsl
|
||||
share/yelp-xsl/xslt/docbook/html/db2html-refentry.xsl
|
||||
share/yelp-xsl/xslt/docbook/html/db2html-suppressed.xsl
|
||||
share/yelp-xsl/xslt/docbook/html/db2html-table.xsl
|
||||
share/yelp-xsl/xslt/docbook/html/db2html-xref.xsl
|
||||
share/yelp-xsl/xslt/docbook/html/db2html.xsl
|
||||
share/yelp-xsl/xslt/docbook/html/db2xhtml.xsl
|
||||
share/yelp-xsl/xslt/docbook/omf/db2omf.xsl
|
||||
share/yelp-xsl/xslt/docbook/utils/chunks.xsl
|
||||
share/yelp-xsl/xslt/docbook/utils/credits.xsl
|
||||
share/yelp-xsl/xslt/docbook/utils/figures.xsl
|
||||
share/yelp-xsl/xslt/docbook/utils/graphics.xsl
|
||||
share/yelp-xsl/xslt/docbook/utils/ids.xsl
|
||||
share/yelp-xsl/xslt/gettext/domains/yelp-xsl.xml
|
||||
share/yelp-xsl/xslt/gettext/gettext.xsl
|
||||
share/yelp-xsl/xslt/gettext/l10n-numbers.xsl
|
||||
share/yelp-xsl/xslt/mallard/cache/mal-cache.xsl
|
||||
share/yelp-xsl/xslt/mallard/common/mal-gloss.xsl
|
||||
share/yelp-xsl/xslt/mallard/common/mal-if.xsl
|
||||
share/yelp-xsl/xslt/mallard/common/mal-link.xsl
|
||||
share/yelp-xsl/xslt/mallard/common/mal-sort.xsl
|
||||
share/yelp-xsl/xslt/mallard/html/mal2html-api.xsl
|
||||
share/yelp-xsl/xslt/mallard/html/mal2html-block.xsl
|
||||
share/yelp-xsl/xslt/mallard/html/mal2html-facets.xsl
|
||||
share/yelp-xsl/xslt/mallard/html/mal2html-gloss.xsl
|
||||
share/yelp-xsl/xslt/mallard/html/mal2html-inline.xsl
|
||||
share/yelp-xsl/xslt/mallard/html/mal2html-links.xsl
|
||||
share/yelp-xsl/xslt/mallard/html/mal2html-list.xsl
|
||||
share/yelp-xsl/xslt/mallard/html/mal2html-media.xsl
|
||||
share/yelp-xsl/xslt/mallard/html/mal2html-page.xsl
|
||||
share/yelp-xsl/xslt/mallard/html/mal2html-svg.xsl
|
||||
share/yelp-xsl/xslt/mallard/html/mal2html-table.xsl
|
||||
share/yelp-xsl/xslt/mallard/html/mal2html-ui.xsl
|
||||
share/yelp-xsl/xslt/mallard/html/mal2html.xsl
|
||||
share/yelp-xsl/xslt/mallard/html/mal2xhtml.xsl
|
12
textproc/yelp-xsl/buildlink3.mk
Normal file
12
textproc/yelp-xsl/buildlink3.mk
Normal file
|
@ -0,0 +1,12 @@
|
|||
# $NetBSD: buildlink3.mk,v 1.1.1.1 2012/02/10 17:57:38 drochner Exp $
|
||||
|
||||
BUILDLINK_TREE+= yelp-xsl
|
||||
|
||||
.if !defined(YELP_XSL_BUILDLINK3_MK)
|
||||
YELP_XSL_BUILDLINK3_MK:=
|
||||
|
||||
BUILDLINK_API_DEPENDS.yelp-xsl+= yelp-xsl>=3.3.1
|
||||
BUILDLINK_PKGSRCDIR.yelp-xsl?= ../../textproc/yelp-xsl
|
||||
.endif # YELP_XSL_BUILDLINK3_MK
|
||||
|
||||
BUILDLINK_TREE+= -yelp-xsl
|
6
textproc/yelp-xsl/distinfo
Normal file
6
textproc/yelp-xsl/distinfo
Normal file
|
@ -0,0 +1,6 @@
|
|||
$NetBSD: distinfo,v 1.1.1.1 2012/02/10 17:57:38 drochner Exp $
|
||||
|
||||
SHA1 (yelp-xsl-3.3.2.tar.xz) = 13b620f58fa9d86acf3a54d376413f95eaff7b8b
|
||||
RMD160 (yelp-xsl-3.3.2.tar.xz) = 778b6d09b54c2793bc65c0e1847608313f544e79
|
||||
Size (yelp-xsl-3.3.2.tar.xz) = 564036 bytes
|
||||
SHA1 (patch-configure) = 99d9064c017be153942b37fe0b4c9aa26e0f54ee
|
145
textproc/yelp-xsl/patches/patch-configure
Normal file
145
textproc/yelp-xsl/patches/patch-configure
Normal file
|
@ -0,0 +1,145 @@
|
|||
$NetBSD: patch-configure,v 1.1.1.1 2012/02/10 17:57:38 drochner Exp $
|
||||
|
||||
Remove dependencies on libxml-2.0 and libxslt shared libraries.
|
||||
configure.ac equivalent of:
|
||||
|
||||
-# Dependecies
|
||||
-PKG_CHECK_MODULES(YELP_XSL,
|
||||
-[
|
||||
- libxml-2.0 >= 2.6.12
|
||||
- libxslt >= 1.1.8
|
||||
-])
|
||||
|
||||
There are no C programs, so we don't need compile flags for the
|
||||
above libraries. The dependency on libxml2 is present indirectly
|
||||
in the dependency on itstool. I should be able to install yelp-xsl
|
||||
without having the above shared libraries.
|
||||
|
||||
One could argue that I needn't put the DEPENDS lines in the Makefile.
|
||||
|
||||
--- configure.orig 2012-01-07 10:04:25.000000000 +0000
|
||||
+++ configure
|
||||
@@ -2645,123 +2645,6 @@ $as_echo "no" >&6; }
|
||||
fi
|
||||
fi
|
||||
|
||||
-pkg_failed=no
|
||||
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for YELP_XSL" >&5
|
||||
-$as_echo_n "checking for YELP_XSL... " >&6; }
|
||||
-
|
||||
-if test -n "$YELP_XSL_CFLAGS"; then
|
||||
- pkg_cv_YELP_XSL_CFLAGS="$YELP_XSL_CFLAGS"
|
||||
- elif test -n "$PKG_CONFIG"; then
|
||||
- if test -n "$PKG_CONFIG" && \
|
||||
- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
|
||||
- libxml-2.0 >= 2.6.12
|
||||
- libxslt >= 1.1.8
|
||||
-\""; } >&5
|
||||
- ($PKG_CONFIG --exists --print-errors "
|
||||
- libxml-2.0 >= 2.6.12
|
||||
- libxslt >= 1.1.8
|
||||
-") 2>&5
|
||||
- ac_status=$?
|
||||
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
||||
- test $ac_status = 0; }; then
|
||||
- pkg_cv_YELP_XSL_CFLAGS=`$PKG_CONFIG --cflags "
|
||||
- libxml-2.0 >= 2.6.12
|
||||
- libxslt >= 1.1.8
|
||||
-" 2>/dev/null`
|
||||
-else
|
||||
- pkg_failed=yes
|
||||
-fi
|
||||
- else
|
||||
- pkg_failed=untried
|
||||
-fi
|
||||
-if test -n "$YELP_XSL_LIBS"; then
|
||||
- pkg_cv_YELP_XSL_LIBS="$YELP_XSL_LIBS"
|
||||
- elif test -n "$PKG_CONFIG"; then
|
||||
- if test -n "$PKG_CONFIG" && \
|
||||
- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
|
||||
- libxml-2.0 >= 2.6.12
|
||||
- libxslt >= 1.1.8
|
||||
-\""; } >&5
|
||||
- ($PKG_CONFIG --exists --print-errors "
|
||||
- libxml-2.0 >= 2.6.12
|
||||
- libxslt >= 1.1.8
|
||||
-") 2>&5
|
||||
- ac_status=$?
|
||||
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
||||
- test $ac_status = 0; }; then
|
||||
- pkg_cv_YELP_XSL_LIBS=`$PKG_CONFIG --libs "
|
||||
- libxml-2.0 >= 2.6.12
|
||||
- libxslt >= 1.1.8
|
||||
-" 2>/dev/null`
|
||||
-else
|
||||
- pkg_failed=yes
|
||||
-fi
|
||||
- else
|
||||
- pkg_failed=untried
|
||||
-fi
|
||||
-
|
||||
-
|
||||
-
|
||||
-if test $pkg_failed = yes; then
|
||||
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
||||
-$as_echo "no" >&6; }
|
||||
-
|
||||
-if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
|
||||
- _pkg_short_errors_supported=yes
|
||||
-else
|
||||
- _pkg_short_errors_supported=no
|
||||
-fi
|
||||
- if test $_pkg_short_errors_supported = yes; then
|
||||
- YELP_XSL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
|
||||
- libxml-2.0 >= 2.6.12
|
||||
- libxslt >= 1.1.8
|
||||
-" 2>&1`
|
||||
- else
|
||||
- YELP_XSL_PKG_ERRORS=`$PKG_CONFIG --print-errors "
|
||||
- libxml-2.0 >= 2.6.12
|
||||
- libxslt >= 1.1.8
|
||||
-" 2>&1`
|
||||
- fi
|
||||
- # Put the nasty error message in config.log where it belongs
|
||||
- echo "$YELP_XSL_PKG_ERRORS" >&5
|
||||
-
|
||||
- as_fn_error $? "Package requirements (
|
||||
- libxml-2.0 >= 2.6.12
|
||||
- libxslt >= 1.1.8
|
||||
-) were not met:
|
||||
-
|
||||
-$YELP_XSL_PKG_ERRORS
|
||||
-
|
||||
-Consider adjusting the PKG_CONFIG_PATH environment variable if you
|
||||
-installed software in a non-standard prefix.
|
||||
-
|
||||
-Alternatively, you may set the environment variables YELP_XSL_CFLAGS
|
||||
-and YELP_XSL_LIBS to avoid the need to call pkg-config.
|
||||
-See the pkg-config man page for more details." "$LINENO" 5
|
||||
-
|
||||
-elif test $pkg_failed = untried; then
|
||||
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
||||
-$as_echo "no" >&6; }
|
||||
- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
||||
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
||||
-as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
|
||||
-is in your PATH or set the PKG_CONFIG environment variable to the full
|
||||
-path to pkg-config.
|
||||
-
|
||||
-Alternatively, you may set the environment variables YELP_XSL_CFLAGS
|
||||
-and YELP_XSL_LIBS to avoid the need to call pkg-config.
|
||||
-See the pkg-config man page for more details.
|
||||
-
|
||||
-To get pkg-config, see <http://pkg-config.freedesktop.org/>.
|
||||
-See \`config.log' for more details" "$LINENO" 5; }
|
||||
-
|
||||
-else
|
||||
- YELP_XSL_CFLAGS=$pkg_cv_YELP_XSL_CFLAGS
|
||||
- YELP_XSL_LIBS=$pkg_cv_YELP_XSL_LIBS
|
||||
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
||||
-$as_echo "yes" >&6; }
|
||||
-
|
||||
-fi
|
||||
|
||||
# i18n stuff
|
||||
GETTEXT_PACKAGE=yelp-xsl
|
Loading…
Reference in a new issue