Skip to content
Permalink
Browse files

Well actually ruby 22 and 25 both still install jquery.js.

  • Loading branch information...
schmonz committed Aug 29, 2019
1 parent aa38b85 commit 985149c28fe29b15765aa8013911f538db1e39df
Showing with 8 additions and 5 deletions.
  1. +6 −2 textproc/ruby-xapian/Makefile
  2. +2 −3 textproc/ruby-xapian/PLIST
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.4 2019/08/27 21:54:22 schmonz Exp $
# $NetBSD: Makefile,v 1.5 2019/08/29 16:20:40 schmonz Exp $

PKGNAME= ${RUBY_PKGPREFIX}-${PKGNAME_MODULE}
PKGREVISION= 1
@@ -13,11 +13,15 @@ REPLACE_RUBY= ruby/docs/examples/*.rb

RUBY_VERSIONS_ACCEPTED= 22 24 25 26

PLIST_VARS+= oldruby newruby
PLIST_VARS+= jquery oldruby newruby
PLIST_SUBST+= XAPIAN_RDOC_PATH=${XAPIAN_RDOC_PATH:Q}

.include "../../lang/ruby/rubyversion.mk"

.if ${RUBY_VER} == 22 || ${RUBY_VER} == 25
PLIST.jquery= yes
.endif

.if ${RUBY_VER} < 25
PLIST.oldruby= yes
XAPIAN_RDOC_PATH= Xapian/Xapian
@@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.5 2019/08/29 14:26:26 schmonz Exp $
@comment $NetBSD: PLIST,v 1.6 2019/08/29 16:20:40 schmonz Exp $
${RUBY_SITEARCHLIB}/_xapian.a
${RUBY_SITEARCHLIB}/_xapian.${RUBY_DLEXT}
${RUBY_SITELIB}/xapian.rb
@@ -64,8 +64,7 @@ share/doc/xapian-bindings/${RUBY_PKGPREFIX}/rdocs/images/wrench_orange.png
share/doc/xapian-bindings/${RUBY_PKGPREFIX}/rdocs/images/zoom.png
share/doc/xapian-bindings/${RUBY_PKGPREFIX}/rdocs/index.html
share/doc/xapian-bindings/${RUBY_PKGPREFIX}/rdocs/js/darkfish.js
${PLIST.oldruby}share/doc/xapian-bindings/${RUBY_PKGPREFIX}/rdocs/js/jquery.js
share/doc/xapian-bindings/${RUBY_PKGPREFIX}/rdocs/js/jquery.js
${PLIST.jquery}share/doc/xapian-bindings/${RUBY_PKGPREFIX}/rdocs/js/jquery.js
share/doc/xapian-bindings/${RUBY_PKGPREFIX}/rdocs/js/navigation.js
share/doc/xapian-bindings/${RUBY_PKGPREFIX}/rdocs/js/navigation.js.gz
share/doc/xapian-bindings/${RUBY_PKGPREFIX}/rdocs/js/search.js

0 comments on commit 985149c

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