From a04456e0ccb9a91d5a2e4bc70203d9dd1071609b Mon Sep 17 00:00:00 2001 From: DPorts Builder Date: Sat, 15 Jun 2013 23:27:52 +0200 Subject: [PATCH] Import textproc/ruby-rd-mode.el version 0.6.38 --- textproc/ruby-rd-mode.el/Makefile | 40 ++++++++++++++++++++++++++++ textproc/ruby-rd-mode.el/pkg-descr | 3 +++ textproc/ruby-rd-mode.el/pkg-message | 8 ++++++ textproc/ruby-rd-mode.el/pkg-plist | 6 +++++ 4 files changed, 57 insertions(+) create mode 100644 textproc/ruby-rd-mode.el/Makefile 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 diff --git a/textproc/ruby-rd-mode.el/Makefile b/textproc/ruby-rd-mode.el/Makefile new file mode 100644 index 00000000000..14ed98f0c5d --- /dev/null +++ b/textproc/ruby-rd-mode.el/Makefile @@ -0,0 +1,40 @@ +# Created by: Akinori MUSHA aka knu +# $FreeBSD: textproc/ruby-rd-mode.el/Makefile 320537 2013-06-11 07:11:27Z knu $ + +PORTNAME= rd-mode.el +PORTVERSION= 0.6.38 +CATEGORIES= textproc ruby elisp +MASTER_SITES= # none +PKGNAMEPREFIX= ruby- # not ${RUBY_PKGNAMEPREFIX} since this is not version specific +DISTFILES= # none + +MAINTAINER= knu@FreeBSD.org +COMMENT= An Emacs lisp module for editing RD files + +BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/textproc/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} ${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-descr b/textproc/ruby-rd-mode.el/pkg-descr new file mode 100644 index 00000000000..3275ffa993d --- /dev/null +++ b/textproc/ruby-rd-mode.el/pkg-descr @@ -0,0 +1,3 @@ +An Emacs lisp module for editing RD files. + +WWW: https://github.com/uwabami/rdtool 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..1aee234ef39 --- /dev/null +++ b/textproc/ruby-rd-mode.el/pkg-plist @@ -0,0 +1,6 @@ +share/emacs/site-lisp/rd-mode.el +lib/xemacs/site-lisp/rd-mode.el +%%RUBY_ELISPDIR%%/rd-mode.el +@dirrmtry %%RUBY_ELISPDIR%% +@dirrmtry lib/xemacs/site-lisp +@dirrmtry lib/xemacs -- 2.41.0