diff options
author | drochner <drochner@pkgsrc.org> | 2012-02-10 17:57:37 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2012-02-10 17:57:37 +0000 |
commit | 63d5fad3450d584999fcbdc1ddc79789244041c5 (patch) | |
tree | 07008b465ace0f7bb2dffbf1834dbad6ad961f82 /textproc/yelp-xsl | |
parent | 1efc15acc2cfe3e98a87149ea0764463c51b5eac (diff) | |
download | pkgsrc-63d5fad3450d584999fcbdc1ddc79789244041c5.tar.gz |
add yelp-xsl-3.3.2, XSL stylesheets for Yelp help browser, from
Patrick Welche per PR pkg/45797
Diffstat (limited to 'textproc/yelp-xsl')
-rw-r--r-- | textproc/yelp-xsl/DESCR | 6 | ||||
-rw-r--r-- | textproc/yelp-xsl/Makefile | 26 | ||||
-rw-r--r-- | textproc/yelp-xsl/PLIST | 116 | ||||
-rw-r--r-- | textproc/yelp-xsl/buildlink3.mk | 12 | ||||
-rw-r--r-- | textproc/yelp-xsl/distinfo | 6 | ||||
-rw-r--r-- | textproc/yelp-xsl/patches/patch-configure | 145 |
6 files changed, 311 insertions, 0 deletions
diff --git a/textproc/yelp-xsl/DESCR b/textproc/yelp-xsl/DESCR new file mode 100644 index 00000000000..bdc103fd210 --- /dev/null +++ b/textproc/yelp-xsl/DESCR @@ -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. diff --git a/textproc/yelp-xsl/Makefile b/textproc/yelp-xsl/Makefile new file mode 100644 index 00000000000..8333417b414 --- /dev/null +++ b/textproc/yelp-xsl/Makefile @@ -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" diff --git a/textproc/yelp-xsl/PLIST b/textproc/yelp-xsl/PLIST new file mode 100644 index 00000000000..e81564102ff --- /dev/null +++ b/textproc/yelp-xsl/PLIST @@ -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 diff --git a/textproc/yelp-xsl/buildlink3.mk b/textproc/yelp-xsl/buildlink3.mk new file mode 100644 index 00000000000..b088575e644 --- /dev/null +++ b/textproc/yelp-xsl/buildlink3.mk @@ -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 diff --git a/textproc/yelp-xsl/distinfo b/textproc/yelp-xsl/distinfo new file mode 100644 index 00000000000..18321da0b95 --- /dev/null +++ b/textproc/yelp-xsl/distinfo @@ -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 diff --git a/textproc/yelp-xsl/patches/patch-configure b/textproc/yelp-xsl/patches/patch-configure new file mode 100644 index 00000000000..58a4d1b58c3 --- /dev/null +++ b/textproc/yelp-xsl/patches/patch-configure @@ -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 |