diff options
author | taca <taca> | 2001-06-30 23:32:29 +0000 |
---|---|---|
committer | taca <taca> | 2001-06-30 23:32:29 +0000 |
commit | 8b96e6bc03480d72c44a9df25f0af58e5d635ad7 (patch) | |
tree | 239ea8b9f196ea1ef0ba6c95df3d9f6ca75d4c45 /devel | |
parent | 11f47337c19956aafe48cb0f5dbdf4bb21ce186d (diff) | |
download | pkgsrc-8b96e6bc03480d72c44a9df25f0af58e5d635ad7.tar.gz |
Importing ruby-mode.
Ruby editing mode for Emacs.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/ruby-mode/Makefile | 49 | ||||
-rw-r--r-- | devel/ruby-mode/pkg/DESCR | 1 | ||||
-rw-r--r-- | devel/ruby-mode/pkg/PLIST | 7 |
3 files changed, 57 insertions, 0 deletions
diff --git a/devel/ruby-mode/Makefile b/devel/ruby-mode/Makefile new file mode 100644 index 00000000000..64f80f43b2a --- /dev/null +++ b/devel/ruby-mode/Makefile @@ -0,0 +1,49 @@ +# $NetBSD: Makefile,v 1.1.1.1 2001/06/30 23:32:29 taca Exp $ +# + +DISTNAME= ${RUBY_DISTNAME} +PKGNAME= ${RUBY_PKGNAMEPREFIX}mode-${RUBY_VERSION} +CATEGORIES= devel +MASTER_SITES= ${MASTER_SITE_RUBY} + +MAINTAINER= taca@netbsd.org +HOMEPAGE= http://www2.pos.to/~tosh/ruby/rdtool/ +COMMENT= Ruby editing mode for Emacs + +DIST_SUBDIR= ruby +DISTINFO_FILE= ${RUBY_DISTINFO} +WRKSRC= ${RUBY_WRKSRC}/misc + +.if defined(USE_XEMACS) +DEPENDS+= xemacs-[0-9]*:../../editors/xemacs +EMACS= xemacs +SITE_LISP= lib/xemacs/xemacs-packages/lisp/prog-modes +.else +DEPENDS+= emacs-[0-9]*:../../editors/emacs +EMACS= emacs +SITE_LISP= share/emacs/site-lisp +.endif + +EXTRACT_ELEMENTS= ${RUBY_DISTNAME}/misc +NO_PATCH= # defined +NO_CONFIGURE= # defined + +SRCS= ruby-mode.el rubydb3x.el inf-ruby.el + +PLIST_SUBST+= SITE_LISP=${SITE_LISP} + +do-build: +.for f in ${SRCS} + cd ${WRKSRC}; ${EMACS} --no-init-file --no-site-file -batch \ + -l ruby-mode.el -f batch-byte-compile ${f} +.endfor + +do-install: + ${INSTALL_DATA_DIR} ${PREFIX}/${SITE_LISP} +.for f in ${SRCS} + ${INSTALL_DATA} ${RUBY_WRKSRC}/misc/${f} ${PREFIX}/${SITE_LISP} + ${INSTALL_DATA} ${RUBY_WRKSRC}/misc/${f}c ${PREFIX}/${SITE_LISP} +.endfor + +.include "../../lang/ruby-base/Makefile.common" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/ruby-mode/pkg/DESCR b/devel/ruby-mode/pkg/DESCR new file mode 100644 index 00000000000..e3d88a5c77d --- /dev/null +++ b/devel/ruby-mode/pkg/DESCR @@ -0,0 +1 @@ +This is a Ruby editing mode for Emacs. diff --git a/devel/ruby-mode/pkg/PLIST b/devel/ruby-mode/pkg/PLIST new file mode 100644 index 00000000000..37c7b5bb78d --- /dev/null +++ b/devel/ruby-mode/pkg/PLIST @@ -0,0 +1,7 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2001/06/30 23:32:29 taca Exp $ +${SITE_LISP}/inf-ruby.el +${SITE_LISP}/inf-ruby.elc +${SITE_LISP}/ruby-mode.el +${SITE_LISP}/ruby-mode.elc +${SITE_LISP}/rubydb3x.el +${SITE_LISP}/rubydb3x.elc |