diff options
author | knu <knu@FreeBSD.org> | 2001-05-12 03:53:04 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2001-05-12 03:53:04 +0800 |
commit | 38d1d12a674731fd4bdf4053c335541f06674958 (patch) | |
tree | 90e6d86f7b6ba82ebd08a3dccb27e242657e1d57 /textproc/ruby-rd-mode.el | |
parent | 538f9c4b97d54fd9d7f73c4f3d07308ada2b1aea (diff) | |
download | freebsd-ports-gnome-38d1d12a674731fd4bdf4053c335541f06674958.tar.gz freebsd-ports-gnome-38d1d12a674731fd4bdf4053c335541f06674958.tar.zst freebsd-ports-gnome-38d1d12a674731fd4bdf4053c335541f06674958.zip |
Add ruby-rd-mode.el, separated from textproc/ruby-rdtool, an Emacs
lisp module for editing RD files.
Diffstat (limited to 'textproc/ruby-rd-mode.el')
-rw-r--r-- | textproc/ruby-rd-mode.el/Makefile | 44 | ||||
-rw-r--r-- | textproc/ruby-rd-mode.el/pkg-comment | 1 | ||||
-rw-r--r-- | textproc/ruby-rd-mode.el/pkg-descr | 1 | ||||
-rw-r--r-- | textproc/ruby-rd-mode.el/pkg-message | 8 | ||||
-rw-r--r-- | textproc/ruby-rd-mode.el/pkg-plist | 6 |
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 |