summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--editors/Makefile1
-rw-r--r--editors/vim6+ruby/Makefile37
-rw-r--r--editors/vim6+ruby/pkg-comment1
3 files changed, 39 insertions, 0 deletions
diff --git a/editors/Makefile b/editors/Makefile
index 85189487047a..78245f3e9310 100644
--- a/editors/Makefile
+++ b/editors/Makefile
@@ -100,6 +100,7 @@
SUBDIR += vim-lite
SUBDIR += vim5
SUBDIR += vim6
+ SUBDIR += vim6+ruby
SUBDIR += wemi-emacs
SUBDIR += wemi-emacs-current
SUBDIR += wemi-emacs20
diff --git a/editors/vim6+ruby/Makefile b/editors/vim6+ruby/Makefile
new file mode 100644
index 000000000000..089f735d8e42
--- /dev/null
+++ b/editors/vim6+ruby/Makefile
@@ -0,0 +1,37 @@
+# New ports collection makefile for: VIM6 with embedded Ruby interpreter
+# Date created: 22 Sep 2000
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+MASTERDIR= ${.CURDIR}/../vim6
+
+CATEGORIES= editors ruby
+PKGNAMESUFFIX= +ruby
+PATCH_SITES= http://www.ruby-lang.org/~shugo/vim-ruby/
+PATCHFILES= ${PORTNAME}-${PORTVERSION}-if_ruby-2.diff.gz
+PATCH_DIST_STRIP= -p1
+
+MAINTAINER= knu@FreeBSD.org
+
+FILESDIR= ${.CURDIR}/files
+COMMENT= ${.CURDIR}/pkg/COMMENT
+
+USE_RUBY= yes
+
+USE_AUTOCONF= yes
+MAKE_ARGS= CONF_OPT_RUBY="--enable-rubyinterp" RUBY="${RUBY}"
+
+post-install: add-plist
+
+add-plist:
+ ( \
+ ${ECHO} "/if_python.txt$$/"; \
+ ${ECHO} "t"; \
+ ${ECHO} "s/python/ruby/"; \
+ ${ECHO} "w"; \
+ ${ECHO} "q"; \
+ ) | ed ${TMPPLIST}
+
+.include "${MASTERDIR}/Makefile"
diff --git a/editors/vim6+ruby/pkg-comment b/editors/vim6+ruby/pkg-comment
new file mode 100644
index 000000000000..3eb91c07c18b
--- /dev/null
+++ b/editors/vim6+ruby/pkg-comment
@@ -0,0 +1 @@
+Vi IMproved version 6 with embedded Ruby interpreter