2008-10-11 11:31:54 +02:00
|
|
|
# $NetBSD: Makefile,v 1.20 2008/10/11 09:31:55 uebayasi Exp $
|
2001-07-01 01:32:29 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= ${RUBY_DISTNAME}
|
2006-12-06 17:36:41 +01:00
|
|
|
PKGNAME= ${EMACS_PKGNAME_PREFIX}${RUBY_PKGPREFIX}-mode-${RUBY_VERSION_SUFFIX}
|
2004-03-16 03:01:09 +01:00
|
|
|
CATEGORIES= devel ruby
|
2001-07-01 01:32:29 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_RUBY}
|
|
|
|
|
2003-07-17 23:31:04 +02:00
|
|
|
MAINTAINER= taca@NetBSD.org
|
2004-11-27 15:55:25 +01:00
|
|
|
HOMEPAGE= ${RUBY_HOMEPAGE}
|
2001-07-01 01:32:29 +02:00
|
|
|
COMMENT= Ruby editing mode for Emacs
|
|
|
|
|
2008-03-03 18:45:33 +01:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2008-06-20 17:50:25 +02:00
|
|
|
DISTINFO_FILE= ${RUBY_DISTINFO_FILE}
|
2004-11-27 15:55:25 +01:00
|
|
|
WRKSRC= ${RUBY_WRKSRC}/misc
|
|
|
|
EXTRACT_ELEMENTS= ${RUBY_DISTNAME}/misc
|
|
|
|
RUBY_VERSION= ${RUBY18_VERSION}
|
|
|
|
RUBY_NOVERSION= yes
|
|
|
|
NO_CONFIGURE= yes
|
2008-06-19 17:52:13 +02:00
|
|
|
SRCS= ruby-mode.el rubydb3x.el ruby-electric.el \
|
|
|
|
inf-ruby.el ruby-style.el
|
2001-07-01 01:32:29 +02:00
|
|
|
|
2005-12-05 21:49:47 +01:00
|
|
|
PLIST_SUBST+= SITE_LISP=${SITE_LISP:Q}
|
2001-07-01 01:32:29 +02:00
|
|
|
|
|
|
|
do-build:
|
2003-01-13 05:14:21 +01:00
|
|
|
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
|
2001-07-01 01:32:29 +02:00
|
|
|
|
|
|
|
do-install:
|
2008-03-03 18:45:33 +01:00
|
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${EMACS_LISPPREFIX}/ruby-mode
|
2004-11-27 15:55:25 +01:00
|
|
|
cd ${WRKSRC}; \
|
|
|
|
${INSTALL_DATA} ${SRCS} ${SRCS:.el=.elc} \
|
2008-03-03 18:45:33 +01:00
|
|
|
${DESTDIR}${EMACS_LISPPREFIX}/ruby-mode
|
2001-07-01 01:32:29 +02:00
|
|
|
|
2005-08-08 16:30:32 +02:00
|
|
|
.include "../../lang/ruby/rubyversion.mk"
|
2004-11-27 15:55:25 +01:00
|
|
|
.include "../../lang/ruby/Makefile.common"
|
2008-10-11 11:31:54 +02:00
|
|
|
.include "../../editors/emacs/modules.mk"
|
2001-07-01 01:32:29 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|