summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-05-11 19:53:04 +0000
committerknu <knu@FreeBSD.org>2001-05-11 19:53:04 +0000
commit38d1d12a674731fd4bdf4053c335541f06674958 (patch)
tree90e6d86f7b6ba82ebd08a3dccb27e242657e1d57
parent538f9c4b97d54fd9d7f73c4f3d07308ada2b1aea (diff)
downloadFreeBSD-ports-38d1d12a674731fd4bdf4053c335541f06674958.zip
FreeBSD-ports-38d1d12a674731fd4bdf4053c335541f06674958.tar.gz
Add ruby-rd-mode.el, separated from textproc/ruby-rdtool, an Emacs
lisp module for editing RD files.
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/ruby-rd-mode.el/Makefile44
-rw-r--r--textproc/ruby-rd-mode.el/pkg-comment1
-rw-r--r--textproc/ruby-rd-mode.el/pkg-descr1
-rw-r--r--textproc/ruby-rd-mode.el/pkg-message8
-rw-r--r--textproc/ruby-rd-mode.el/pkg-plist6
6 files changed, 61 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 805a839..a552f32 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -142,6 +142,7 @@
SUBDIR += ruby-html-parser
SUBDIR += ruby-nqxml
SUBDIR += ruby-qt2xml
+ SUBDIR += ruby-rd-mode.el
SUBDIR += ruby-rdtool
SUBDIR += ruby-rss
SUBDIR += ruby-sablot
diff --git a/textproc/ruby-rd-mode.el/Makefile b/textproc/ruby-rd-mode.el/Makefile
new file mode 100644
index 0000000..cf99a79
--- /dev/null
+++ b/textproc/ruby-rd-mode.el/Makefile
@@ -0,0 +1,44 @@
+# New ports collection makefile for: ruby-rd-mode.el
+# Date created: 12 May 2001
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= rd-mode.el
+PORTVERSION= 0.6.8
+CATEGORIES= textproc ruby elisp
+MASTER_SITES= # none
+PKGNAMEPREFIX= ruby- # not ${RUBY_PKGNAMEPREFIX} since this is not version specific
+DISTFILES= # none
+
+MAINTAINER= knu@FreeBSD.org
+
+BUILD_DEPENDS= ${NONEXISTENT}:${.CURDIR}/../ruby-rdtool:patch
+
+USE_RUBY= yes
+
+WRKSRC= ${WRKDIR}/utils
+NO_BUILD= yes
+
+ELISP_FILES= rd-mode.el
+
+EMACSLISPDIR= ${PREFIX}/share/emacs/site-lisp
+XEMACSLISPDIR= ${PREFIX}/lib/xemacs/site-lisp
+
+do-extract:
+ ${MKDIR} ${WRKDIR}
+ ${LN} -sf `cd ${.CURDIR}/../ruby-rdtool && ${MAKE} -V WRKSRC`/utils ${WRKSRC}
+
+do-install:
+ ${MKDIR} ${RUBY_ELISPDIR}
+ ${MKDIR} ${EMACSLISPDIR}
+ ${MKDIR} ${XEMACSLISPDIR}
+.for f in ${ELISP_FILES}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_ELISPDIR}/
+ ${LN} -sf ${RUBY_ELISPDIR}/${f} ${EMACSLISPDIR}/
+ ${LN} -sf ${RUBY_ELISPDIR}/${f} ${XEMACSLISPDIR}/
+.endfor
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/textproc/ruby-rd-mode.el/pkg-comment b/textproc/ruby-rd-mode.el/pkg-comment
new file mode 100644
index 0000000..21a8e81
--- /dev/null
+++ b/textproc/ruby-rd-mode.el/pkg-comment
@@ -0,0 +1 @@
+An Emacs lisp module for editing RD files
diff --git a/textproc/ruby-rd-mode.el/pkg-descr b/textproc/ruby-rd-mode.el/pkg-descr
new file mode 100644
index 0000000..af6f990
--- /dev/null
+++ b/textproc/ruby-rd-mode.el/pkg-descr
@@ -0,0 +1 @@
+An Emacs lisp module for editing RD files.
diff --git a/textproc/ruby-rd-mode.el/pkg-message b/textproc/ruby-rd-mode.el/pkg-message
new file mode 100644
index 0000000..8ea9994
--- /dev/null
+++ b/textproc/ruby-rd-mode.el/pkg-message
@@ -0,0 +1,8 @@
+====
+To use rd-mode in Emacs/XEmacs, add the following lines to
+your ~/.emacs:
+
+(autoload 'rd-mode "rd-mode"
+ "major mode for ruby document formatter RD" t)
+(add-to-list 'auto-mode-alist '("\\.rd\\(\.en\\|\.ja\\)?$" . rd-mode))
+====
diff --git a/textproc/ruby-rd-mode.el/pkg-plist b/textproc/ruby-rd-mode.el/pkg-plist
new file mode 100644
index 0000000..0caf076
--- /dev/null
+++ b/textproc/ruby-rd-mode.el/pkg-plist
@@ -0,0 +1,6 @@
+share/emacs/site-lisp/rd-mode.el
+@comment share/emacs/site-lisp is created by mtree
+lib/xemacs/site-lisp/rd-mode.el
+@unexec rmdir -p %D/lib/xemacs/site-lisp 2>/dev/null || true
+%%RUBY_ELISPDIR%%/rd-mode.el
+@unexec rmdir -p %D/%%RUBY_ELISPDIR%% 2>/dev/null || true
OpenPOWER on IntegriCloud