pkgsrc/devel/ruby-mode/Makefile
taca 002c7aab92 Update ruby-mode to 2.0.0p247.
Various fixes.

* Added misc/ruby-additional.el for emacs24 support.

* misc/ruby-electric.el (ruby-electric-curlies): Automatically
  indent closing curly brackets when
  ruby-electric-newline-before-closing-bracket is true.

* misc/ruby-electric.el (ruby-electric-curlies): Fix the bug where
  an open curly inserted in a string is always replaced with a
  hash sign.
2013-07-21 03:00:37 +00:00

38 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.30 2013/07/21 03:00:37 taca Exp $
#
DISTNAME= ${RUBY_DISTNAME}
PKGNAME= ${EMACS_PKGNAME_PREFIX}${RUBY_PKGPREFIX}-mode-${RUBY_VERSION_FULL}
CATEGORIES= devel ruby
MASTER_SITES= ${MASTER_SITE_RUBY}
MAINTAINER= taca@NetBSD.org
HOMEPAGE= ${RUBY_HOMEPAGE}
COMMENT= Ruby editing mode for Emacs
DISTINFO_FILE= ${RUBY_DISTINFO_FILE}
WRKSRC= ${RUBY_WRKSRC}/misc
EXTRACT_ELEMENTS= ${RUBY_DISTNAME}/misc
RUBY_VERSION_SUPPORTED= 200
RUBY_NOVERSION= yes
NO_CONFIGURE= yes
SRCS= inf-ruby.el ruby-electric.el ruby-mode.el \
ruby-style.el rubydb3x.el
do-build:
for f in ${SRCS}; do \
cd ${WRKSRC}; \
${EMACS_BIN} --no-init-file --no-site-file -batch \
-l ruby-mode.el -f batch-byte-compile $$f; \
done
do-install:
${INSTALL_DATA_DIR} ${DESTDIR}${EMACS_LISPPREFIX}/ruby-mode
cd ${WRKSRC}; \
${INSTALL_DATA} ${SRCS} ${SRCS:.el=.elc} \
${DESTDIR}${EMACS_LISPPREFIX}/ruby-mode
.include "../../lang/ruby/rubyversion.mk"
.include "../../lang/ruby/Makefile.common"
.include "../../editors/emacs/modules.mk"
.include "../../mk/bsd.pkg.mk"