forked from Lainports/freebsd-ports
Add ruby-rd-mode.el, separated from textproc/ruby-rdtool, an Emacs
lisp module for editing RD files.
This commit is contained in:
parent
8c8539fb43
commit
ded8d86e09
6 changed files with 61 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
44
textproc/ruby-rd-mode.el/Makefile
Normal file
44
textproc/ruby-rd-mode.el/Makefile
Normal file
|
|
@ -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>
|
||||
1
textproc/ruby-rd-mode.el/pkg-comment
Normal file
1
textproc/ruby-rd-mode.el/pkg-comment
Normal file
|
|
@ -0,0 +1 @@
|
|||
An Emacs lisp module for editing RD files
|
||||
1
textproc/ruby-rd-mode.el/pkg-descr
Normal file
1
textproc/ruby-rd-mode.el/pkg-descr
Normal file
|
|
@ -0,0 +1 @@
|
|||
An Emacs lisp module for editing RD files.
|
||||
8
textproc/ruby-rd-mode.el/pkg-message
Normal file
8
textproc/ruby-rd-mode.el/pkg-message
Normal file
|
|
@ -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))
|
||||
====
|
||||
6
textproc/ruby-rd-mode.el/pkg-plist
Normal file
6
textproc/ruby-rd-mode.el/pkg-plist
Normal file
|
|
@ -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
|
||||
Loading…
Add table
Reference in a new issue