pkgsrc/devel/ruby-rd-mode/Makefile

35 lines
1 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.23 2008/10/11 09:31:55 uebayasi Exp $
#
DISTNAME= rdtool-${RUBY_RD_VERSION}
PKGNAME= ${EMACS_PKGNAME_PREFIX}${RUBY_PKGPREFIX}-rd-mode-${RUBY_RD_VERSION}
2004-03-16 03:01:09 +01:00
CATEGORIES= devel ruby
MASTER_SITES= http://rubyforge.org/frs/download.php/33346/
2003-07-17 23:31:04 +02:00
MAINTAINER= taca@NetBSD.org
HOMEPAGE= http://rubyforge.org/projects/rdtool/
COMMENT= Editing mode for RD (Ruby Document Format)
PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}/${DISTNAME}/utils
EXTRACT_ELEMENTS= ${DISTNAME}/utils/rd-mode.el
RUBY_RD_VERSION= 0.6.22
RUBY_VERSION= ${RUBY18_VERSION}
RUBY_NOVERSION= yes
NO_CONFIGURE= yes
INSTALLATION_DIRS= ${EMACS_LISPPREFIX:C|^${PREFIX}/||}/rd-mode
do-build:
2004-05-08 17:10:58 +02:00
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"