pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/ruby-rd-mode Migrate ruby-rd-mode to use new fra...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/36f77cf85c5d
branches:  trunk
changeset: 484456:36f77cf85c5d
user:      taca <taca%pkgsrc.org@localhost>
date:      Sat Nov 27 15:29:21 2004 +0000

description:
Migrate ruby-rd-mode to use new framework for Ruby packages.

diffstat:

 devel/ruby-rd-mode/Makefile |  17 +++++++++--------
 1 files changed, 9 insertions(+), 8 deletions(-)

diffs (40 lines):

diff -r 27a894ced6f5 -r 36f77cf85c5d devel/ruby-rd-mode/Makefile
--- a/devel/ruby-rd-mode/Makefile       Sat Nov 27 15:28:34 2004 +0000
+++ b/devel/ruby-rd-mode/Makefile       Sat Nov 27 15:29:21 2004 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.10 2004/05/08 15:10:58 uebayasi Exp $
+# $NetBSD: Makefile,v 1.11 2004/11/27 15:29:21 taca Exp $
 #
 
 DISTNAME=      rdtool-${RUBY_RD_VERSION}
-PKGNAME=       ${RUBY_PKGNAMEPREFIX}rd-mode-${RUBY_RD_VERSION}
+PKGNAME=       ${RUBY_PKGPREFIX}-rd-mode-${RUBY_RD_VERSION}
 CATEGORIES=    devel ruby
 MASTER_SITES=  http://www2.pos.to/~tosh/ruby/rdtool/archive/
 
@@ -10,10 +10,11 @@
 HOMEPAGE=      http://www2.pos.to/~tosh/ruby/rdtool/
 COMMENT=       Editing mode for RD (Ruby Document Format)
 
-WRKSRC=                ${WRKDIR}/${DISTNAME}/utils
-EXTRACT_ELEMENTS= ${DISTNAME}/utils/rd-mode.el
-DIST_SUBDIR=   ruby
-NO_CONFIGURE=  # defined
+WRKSRC=                        ${WRKDIR}/${DISTNAME}/utils
+EXTRACT_ELEMENTS=      ${DISTNAME}/utils/rd-mode.el
+RUBY_VERSION=          ${RUBY18_VERSION}
+RUBY_NOVERSION=                yes
+NO_CONFIGURE=          yes
 
 do-build:
        cd ${WRKSRC}; ${EMACS_BIN} --no-init-file --no-site-file -batch \
@@ -24,7 +25,7 @@
        ${INSTALL_DATA} ${WRKSRC}/rd-mode.el ${EMACS_LISPPREFIX}/rd-mode
        ${INSTALL_DATA} ${WRKSRC}/rd-mode.elc ${EMACS_LISPPREFIX}/rd-mode
 
-.include "../../textproc/ruby-rdtool/Makefile.common"
-.include "../../lang/ruby-base/Makefile.common"
+.include "../../lang/ruby/modules.mk"
+.include "../../textproc/ruby-rdtool/rdversion.mk"
 .include "../../mk/emacs.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index