2015-09-26 17:02:18 +02:00
|
|
|
# $NetBSD: Makefile,v 1.29 2015/09/26 15:02:18 taca Exp $
|
2001-07-01 01:33:28 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= rdtool-${RUBY_RD_VERSION}
|
2005-08-28 06:25:28 +02:00
|
|
|
PKGNAME= ${EMACS_PKGNAME_PREFIX}${RUBY_PKGPREFIX}-rd-mode-${RUBY_RD_VERSION}
|
2013-02-17 20:17:55 +01:00
|
|
|
PKGREVISION= 2
|
2004-03-16 03:01:09 +01:00
|
|
|
CATEGORIES= devel ruby
|
2015-09-26 17:02:18 +02:00
|
|
|
MASTER_SITES= # http://rubyforge.org/frs/download.php/33346/
|
2010-09-10 08:20:13 +02:00
|
|
|
LICENSE= gnu-gpl-v2 OR gnu-gpl-v3
|
2001-07-01 01:33:28 +02:00
|
|
|
|
2003-07-17 23:31:04 +02:00
|
|
|
MAINTAINER= taca@NetBSD.org
|
2015-09-26 17:02:18 +02:00
|
|
|
HOMEPAGE= http://uwabami.github.io/rdtool/index-en.html
|
2001-07-22 01:03:24 +02:00
|
|
|
COMMENT= Editing mode for RD (Ruby Document Format)
|
2001-07-01 01:33:28 +02:00
|
|
|
|
2004-11-27 16:29:21 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/utils
|
|
|
|
EXTRACT_ELEMENTS= ${DISTNAME}/utils/rd-mode.el
|
2008-09-15 10:36:24 +02:00
|
|
|
RUBY_RD_VERSION= 0.6.22
|
2004-11-27 16:29:21 +01:00
|
|
|
RUBY_NOVERSION= yes
|
|
|
|
NO_CONFIGURE= yes
|
2001-07-01 01:33:28 +02:00
|
|
|
|
2008-06-19 17:24:36 +02:00
|
|
|
INSTALLATION_DIRS= ${EMACS_LISPPREFIX:C|^${PREFIX}/||}/rd-mode
|
|
|
|
|
2001-07-01 01:33:28 +02:00
|
|
|
do-build:
|
2004-05-08 17:10:58 +02:00
|
|
|
cd ${WRKSRC}; ${EMACS_BIN} --no-init-file --no-site-file -batch \
|
2001-07-01 01:33:28 +02:00
|
|
|
-f batch-byte-compile rd-mode.el
|
|
|
|
|
|
|
|
do-install:
|
2008-03-03 18:45:33 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/rd-mode.el ${DESTDIR}${EMACS_LISPPREFIX}/rd-mode
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/rd-mode.elc ${DESTDIR}${EMACS_LISPPREFIX}/rd-mode
|
2001-07-01 01:33:28 +02:00
|
|
|
|
2005-08-08 16:30:32 +02:00
|
|
|
.include "../../lang/ruby/rubyversion.mk"
|
2008-10-11 11:31:54 +02:00
|
|
|
.include "../../editors/emacs/modules.mk"
|
2001-07-01 01:33:28 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|