pkgsrc/devel/ruby-rd-mode/Makefile
2017-09-04 18:00:49 +00:00

33 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.30 2017/09/04 18:00:53 wiz Exp $
#
DISTNAME= rdtool-${RUBY_RD_VERSION}
PKGNAME= ${EMACS_PKGNAME_PREFIX}${RUBY_PKGPREFIX}-rd-mode-${RUBY_RD_VERSION}
PKGREVISION= 2
CATEGORIES= devel ruby
MASTER_SITES= # http://rubyforge.org/frs/download.php/33346/
LICENSE= gnu-gpl-v2 OR gnu-gpl-v3
MAINTAINER= taca@NetBSD.org
#HOMEPAGE= http://uwabami.github.io/rdtool/index-en.html
COMMENT= Editing mode for RD (Ruby Document Format)
WRKSRC= ${WRKDIR}/${DISTNAME}/utils
EXTRACT_ELEMENTS= ${DISTNAME}/utils/rd-mode.el
RUBY_RD_VERSION= 0.6.22
RUBY_NOVERSION= yes
NO_CONFIGURE= yes
INSTALLATION_DIRS= ${EMACS_LISPPREFIX:C|^${PREFIX}/||}/rd-mode
do-build:
cd ${WRKSRC}; ${EMACS_BIN} --no-init-file --no-site-file -batch \
-f batch-byte-compile rd-mode.el
do-install:
${INSTALL_DATA} ${WRKSRC}/rd-mode.el ${DESTDIR}${EMACS_LISPPREFIX}/rd-mode
${INSTALL_DATA} ${WRKSRC}/rd-mode.elc ${DESTDIR}${EMACS_LISPPREFIX}/rd-mode
.include "../../lang/ruby/rubyversion.mk"
.include "../../editors/emacs/modules.mk"
.include "../../mk/bsd.pkg.mk"