c207d12fcd
* ruby-additional.el: shorten here-doc markers * Import ruby-electric.el version 2.3.1 from upstream
38 lines
1 KiB
Makefile
38 lines
1 KiB
Makefile
# $NetBSD: Makefile,v 1.37 2018/03/21 15:03:19 taca Exp $
|
|
#
|
|
|
|
DISTNAME= ${RUBY_DISTNAME}
|
|
PKGNAME= ${EMACS_PKGNAME_PREFIX}${RUBY_PKGPREFIX}-mode-${RUBY_VERSION}
|
|
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_VERSIONS_ACCEPTED= 25
|
|
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"
|