From 38d1d12a674731fd4bdf4053c335541f06674958 Mon Sep 17 00:00:00 2001 From: knu Date: Fri, 11 May 2001 19:53:04 +0000 Subject: Add ruby-rd-mode.el, separated from textproc/ruby-rdtool, an Emacs lisp module for editing RD files. --- textproc/ruby-rd-mode.el/Makefile | 44 ++++++++++++++++++++++++++++++++++++ textproc/ruby-rd-mode.el/pkg-comment | 1 + textproc/ruby-rd-mode.el/pkg-descr | 1 + textproc/ruby-rd-mode.el/pkg-message | 8 +++++++ textproc/ruby-rd-mode.el/pkg-plist | 6 +++++ 5 files changed, 60 insertions(+) create mode 100644 textproc/ruby-rd-mode.el/Makefile create mode 100644 textproc/ruby-rd-mode.el/pkg-comment create mode 100644 textproc/ruby-rd-mode.el/pkg-descr create mode 100644 textproc/ruby-rd-mode.el/pkg-message create mode 100644 textproc/ruby-rd-mode.el/pkg-plist (limited to 'textproc/ruby-rd-mode.el') diff --git a/textproc/ruby-rd-mode.el/Makefile b/textproc/ruby-rd-mode.el/Makefile new file mode 100644 index 00000000000..cf99a79a414 --- /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 +# +# $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 diff --git a/textproc/ruby-rd-mode.el/pkg-comment b/textproc/ruby-rd-mode.el/pkg-comment new file mode 100644 index 00000000000..21a8e81ef06 --- /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 00000000000..af6f990b04c --- /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 00000000000..8ea99948d54 --- /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 00000000000..0caf076882d --- /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 -- cgit