blob: 5c63666d14b4ed2e7e42d3058de0864040044e90 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# $NetBSD: Makefile,v 1.20 2008/10/11 09:31:55 uebayasi Exp $
#
DISTNAME= ${RUBY_DISTNAME}
PKGNAME= ${EMACS_PKGNAME_PREFIX}${RUBY_PKGPREFIX}-mode-${RUBY_VERSION_SUFFIX}
CATEGORIES= devel ruby
MASTER_SITES= ${MASTER_SITE_RUBY}
MAINTAINER= taca@NetBSD.org
HOMEPAGE= ${RUBY_HOMEPAGE}
COMMENT= Ruby editing mode for Emacs
PKG_DESTDIR_SUPPORT= user-destdir
DISTINFO_FILE= ${RUBY_DISTINFO_FILE}
WRKSRC= ${RUBY_WRKSRC}/misc
EXTRACT_ELEMENTS= ${RUBY_DISTNAME}/misc
RUBY_VERSION= ${RUBY18_VERSION}
RUBY_NOVERSION= yes
NO_CONFIGURE= yes
SRCS= ruby-mode.el rubydb3x.el ruby-electric.el \
inf-ruby.el ruby-style.el
PLIST_SUBST+= SITE_LISP=${SITE_LISP:Q}
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"
|