# $NetBSD: Makefile,v 1.36 2017/06/18 14:08:25 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= 24 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"