aboutsummaryrefslogtreecommitdiffstats
path: root/misc/rabbit/Makefile
diff options
context:
space:
mode:
authortota <tota@FreeBSD.org>2012-06-14 06:40:40 +0800
committertota <tota@FreeBSD.org>2012-06-14 06:40:40 +0800
commitc29d2153b56d22ac06b7cfad487b737563939cd1 (patch)
treebb7d6aeb672d5dc928f7ee49ba2ea4645a9d3261 /misc/rabbit/Makefile
parent0c28fde49ed5f1f351b1033231c06b662054a2b3 (diff)
downloadfreebsd-ports-gnome-c29d2153b56d22ac06b7cfad487b737563939cd1.tar.gz
freebsd-ports-gnome-c29d2153b56d22ac06b7cfad487b737563939cd1.tar.zst
freebsd-ports-gnome-c29d2153b56d22ac06b7cfad487b737563939cd1.zip
- Update to 1.0.7
- Apply a patch to fix a bug that images aren`t displayed [1] Obtained from: https://github.com/shockers/rabbit/commit/edf74eafedc022ef8c3e4efc72636967250add28#lib/rabbit/element/container-element.rb [1]
Diffstat (limited to 'misc/rabbit/Makefile')
-rw-r--r--misc/rabbit/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/misc/rabbit/Makefile b/misc/rabbit/Makefile
index fcc6cdb92602..85c4ba917c9d 100644
--- a/misc/rabbit/Makefile
+++ b/misc/rabbit/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= rabbit
-PORTVERSION= 1.0.6
-PORTREVISION= 1
+PORTVERSION= 1.0.7
CATEGORIES= misc ruby
MASTER_SITES= http://rabbit-shockers.org/download/ \
LOCAL
@@ -69,7 +68,6 @@ RUN_DEPENDS+= rubygem-twitter_oauth>=0:${PORTSDIR}/security/rubygem-twitter_oaut
post-patch:
${RM} ${WRKSRC}/bin/rabwii
- ${RMDIR} ${WRKSRC}/lib/rt
${RUBY} -i -pe 'sub %r|((\s*)require "rack")|, %Q|\\2require "rubygems"\n\\1|' ${WRKSRC}/bin/rabbirack
${RUBY} -i -pe 'sub %r|(require "hikidoc")|, %Q|require "rubygems"\n\\1|' ${WRKSRC}/lib/rabbit/parser/wiki.rb
${RUBY} -i -pe "sub %r|((\s*)require 'twitter_oauth')|, %Q|\\\2require 'rubygems'\n\\\1|" ${WRKSRC}/lib/rabbit/twitter.rb