Update to rdiscount 2.1.8
This commit is contained in:
parent
242468f9d8
commit
1ef9e5fddc
@ -1,9 +1,8 @@
|
||||
# $OpenBSD: Makefile,v 1.10 2014/10/11 19:54:47 jeremy Exp $
|
||||
# $OpenBSD: Makefile,v 1.11 2015/07/26 03:46:07 jeremy Exp $
|
||||
|
||||
COMMENT = discount implementation of John Gruber's Markdown
|
||||
|
||||
DISTNAME = rdiscount-1.6.5
|
||||
REVISION= 6
|
||||
DISTNAME = rdiscount-2.1.8
|
||||
CATEGORIES = textproc
|
||||
|
||||
# BSD
|
||||
@ -13,8 +12,13 @@ MODULES = lang/ruby
|
||||
|
||||
CONFIGURE_STYLE = ruby gem ext
|
||||
|
||||
MODRUBY_TEST = rake
|
||||
MODRUBY_TEST = ruby
|
||||
MODRUBY_TEST_TARGET = -e 'ARGV.each{|f| require f}' ./test/*_test.rb
|
||||
|
||||
MODRUBY_TEST_TARGET = test:unit
|
||||
post-install:
|
||||
cd ${WRKINST}/${LOCALBASE}/${GEM_LIB}/gems/${DISTNAME}/man && \
|
||||
mv rdiscount.1 ${WRKINST}/${LOCALBASE}/man/man1/rdiscount${GEM_MAN_SUFFIX}.1 && \
|
||||
mv markdown.7 ${WRKINST}/${LOCALBASE}/man/man7/markdown${GEM_MAN_SUFFIX}.7 && \
|
||||
cd .. && rm -r man
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (rdiscount-1.6.5.gem) = bEF3u14IMy0wHjUoEMM3iZqJhJ5jk2/hM7r/Ssh3uuk=
|
||||
SIZE (rdiscount-1.6.5.gem) = 52736
|
||||
SHA256 (rdiscount-2.1.8.gem) = Gxwrjjwq/SmT76FOKPmS2LdVRBsX8+LBAs9xk0Hynm0=
|
||||
SIZE (rdiscount-2.1.8.gem) = 67072
|
||||
|
@ -1,14 +0,0 @@
|
||||
$OpenBSD: patch-Rakefile,v 1.1 2011/11/17 16:08:00 jeremy Exp $
|
||||
|
||||
Fix regress with rake 0.9, which no longer defines ::RUBY.
|
||||
|
||||
--- Rakefile.orig Sun Nov 13 22:47:48 2011
|
||||
+++ Rakefile Sun Nov 13 22:47:59 2011
|
||||
@@ -9,6 +9,7 @@ task :default => :test
|
||||
# ==========================================================
|
||||
|
||||
DLEXT = Config::CONFIG['DLEXT']
|
||||
+RUBY = FileUtils::RUBY
|
||||
RUBYDIGEST = Digest::MD5.hexdigest(`#{RUBY} --version`)
|
||||
|
||||
file "ext/ruby-#{RUBYDIGEST}" do |f|
|
@ -1,7 +1,8 @@
|
||||
@comment $OpenBSD: PLIST,v 1.2 2014/01/11 22:51:03 jeremy Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.3 2015/07/26 03:46:07 jeremy Exp $
|
||||
${GEM_BIN}/rdiscount${GEM_BIN_SUFFIX}
|
||||
${GEM_LIB}/cache/${DISTNAME}.gem
|
||||
${GEM_LIB}/gems/${DISTNAME}/
|
||||
${GEM_LIB}/gems/${DISTNAME}/BUILDING
|
||||
${GEM_LIB}/gems/${DISTNAME}/COPYING
|
||||
${GEM_LIB}/gems/${DISTNAME}/README.markdown
|
||||
${GEM_LIB}/gems/${DISTNAME}/Rakefile
|
||||
@ -11,10 +12,6 @@ ${GEM_LIB}/gems/${DISTNAME}/lib/
|
||||
${GEM_LIB}/gems/${DISTNAME}/lib/markdown.rb
|
||||
${GEM_LIB}/gems/${DISTNAME}/lib/rdiscount.rb
|
||||
${GEM_LIB}/gems/${DISTNAME}/lib/rdiscount.so
|
||||
${GEM_LIB}/gems/${DISTNAME}/man/
|
||||
${GEM_LIB}/gems/${DISTNAME}/man/markdown.7
|
||||
${GEM_LIB}/gems/${DISTNAME}/man/rdiscount.1
|
||||
${GEM_LIB}/gems/${DISTNAME}/man/rdiscount.1.ronn
|
||||
${GEM_LIB}/gems/${DISTNAME}/rdiscount.gemspec
|
||||
${GEM_LIB}/gems/${DISTNAME}/test/
|
||||
${GEM_LIB}/gems/${DISTNAME}/test/benchmark.rb
|
||||
@ -22,3 +19,5 @@ ${GEM_LIB}/gems/${DISTNAME}/test/benchmark.txt
|
||||
${GEM_LIB}/gems/${DISTNAME}/test/markdown_test.rb
|
||||
${GEM_LIB}/gems/${DISTNAME}/test/rdiscount_test.rb
|
||||
${GEM_LIB}/specifications/${DISTNAME}.gemspec
|
||||
@man man/man7/markdown${GEM_MAN_SUFFIX}.7
|
||||
@man man/man1/rdiscount${GEM_MAN_SUFFIX}.1
|
||||
|
Loading…
Reference in New Issue
Block a user