aboutsummaryrefslogtreecommitdiffstats
path: root/misc/rabbit
diff options
context:
space:
mode:
authortota <tota@FreeBSD.org>2010-08-07 19:49:37 +0800
committertota <tota@FreeBSD.org>2010-08-07 19:49:37 +0800
commite2a4621bdc0e79a6ec0ceb690b6d500546c4f435 (patch)
tree886dfe22837f7fed795149ec3fe8f23eb41582ef /misc/rabbit
parent01bdaab0d200548a52666eb229022289ef5d036e (diff)
downloadfreebsd-ports-gnome-e2a4621bdc0e79a6ec0ceb690b6d500546c4f435.tar.gz
freebsd-ports-gnome-e2a4621bdc0e79a6ec0ceb690b6d500546c4f435.tar.zst
freebsd-ports-gnome-e2a4621bdc0e79a6ec0ceb690b6d500546c4f435.zip
- Add missing require
http://www.cozmixng.org/retro/projects/rabbit/changesets/1388 - Use RUBY_SHEBANG_FILES - Remove rabbit.bat which is for Windows
Diffstat (limited to 'misc/rabbit')
-rw-r--r--misc/rabbit/Makefile7
-rw-r--r--misc/rabbit/files/patch-tag.rb8
-rw-r--r--misc/rabbit/pkg-plist1
3 files changed, 15 insertions, 1 deletions
diff --git a/misc/rabbit/Makefile b/misc/rabbit/Makefile
index 404fa81f56d9..35e662aaf956 100644
--- a/misc/rabbit/Makefile
+++ b/misc/rabbit/Makefile
@@ -7,6 +7,7 @@
PORTNAME= rabbit
PORTVERSION= 0.6.5
+PORTREVISION= 1
CATEGORIES= misc ruby
MASTER_SITES= http://www.cozmixng.org/~kou/download/ \
${MASTER_SITE_LOCAL:S|%SUBDIR%|tota/rabbit|}
@@ -20,9 +21,15 @@ RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/gtk2.so:${PORTSDIR}/x11-toolkits/ruby-gtk2 \
USE_RUBY= yes
USE_RUBY_SETUP= yes
+RUBY_SHEBANG_FILES= bin/rabbirc bin/rabbit bin/rabbit-command \
+ bin/rabbit-theme-manager bin/rabbitter bin/rabrick
+
DOCS_EN= NEWS.en README.en
DOCS_JA= NEWS.ja README.ja
+pre-install:
+ ${RM} -f ${WRKSRC}/bin/rabbit.bat
+
post-install:
.if !defined(NOPORTEXAMPLES)
${MKDIR} ${EXAMPLESDIR}
diff --git a/misc/rabbit/files/patch-tag.rb b/misc/rabbit/files/patch-tag.rb
new file mode 100644
index 000000000000..acc675933302
--- /dev/null
+++ b/misc/rabbit/files/patch-tag.rb
@@ -0,0 +1,8 @@
+--- lib/rabbit/element/tag.rb.orig 2010-07-31 20:33:07.000000000 +0900
++++ lib/rabbit/element/tag.rb 2010-08-04 23:15:10.000000000 +0900
+@@ -1,4 +1,5 @@
+ require 'rabbit/element/base'
++require 'rabbit/element/text-container-element'
+
+ module Rabbit
+ module Element
diff --git a/misc/rabbit/pkg-plist b/misc/rabbit/pkg-plist
index cc32de26ffe5..f3524beec65b 100644
--- a/misc/rabbit/pkg-plist
+++ b/misc/rabbit/pkg-plist
@@ -2,7 +2,6 @@ bin/rabbirc
bin/rabbit
bin/rabbit-command
bin/rabbit-theme-manager
-bin/rabbit.bat
bin/rabbitter
bin/rabrick
%%RUBY_SITELIBDIR%%/rabbit/action.rb