aboutsummaryrefslogtreecommitdiff
path: root/textproc/ruby-rd-mode.el
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-05-11 19:53:04 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-05-11 19:53:04 +0000
commitded8d86e099e28bb66e2f537926a4f04d683e89a (patch)
tree55d547875bb2c9312903d743ee9bf2545c812bdd /textproc/ruby-rd-mode.el
parent8c8539fb4317540d278aefcbcfacefc3c9694878 (diff)
downloadports-ded8d86e099e28bb66e2f537926a4f04d683e89a.tar.gz
ports-ded8d86e099e28bb66e2f537926a4f04d683e89a.zip
Notes
Diffstat (limited to 'textproc/ruby-rd-mode.el')
-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
5 files changed, 60 insertions, 0 deletions
diff --git a/textproc/ruby-rd-mode.el/Makefile b/textproc/ruby-rd-mode.el/Makefile
new file mode 100644
index 000000000000..cf99a79a414b
--- /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 000000000000..21a8e81ef060
--- /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 000000000000..af6f990b04c2
--- /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 000000000000..8ea99948d54a
--- /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 000000000000..0caf076882db
--- /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