From 1b8227111bc90dfbe7f78bf543fdd59d0b05f13a Mon Sep 17 00:00:00 2001 From: taca Date: Mon, 13 Feb 2006 15:16:34 +0000 Subject: Update to devel/ruby-rd-modeto 0.6.18. - A few Changes from 0.6.14; one of them are already included in the previous package. - Stop using textproc/ruby-rdtool/rdversion.mk to determine version. --- devel/ruby-rd-mode/Makefile | 5 ++-- devel/ruby-rd-mode/distinfo | 9 +++---- devel/ruby-rd-mode/patches/patch-aa | 51 ------------------------------------- 3 files changed, 6 insertions(+), 59 deletions(-) delete mode 100644 devel/ruby-rd-mode/patches/patch-aa (limited to 'devel/ruby-rd-mode') diff --git a/devel/ruby-rd-mode/Makefile b/devel/ruby-rd-mode/Makefile index 168f4c45ce8..b43c7457229 100644 --- a/devel/ruby-rd-mode/Makefile +++ b/devel/ruby-rd-mode/Makefile @@ -1,9 +1,8 @@ -# $NetBSD: Makefile,v 1.17 2006/02/05 23:08:53 joerg Exp $ +# $NetBSD: Makefile,v 1.18 2006/02/13 15:16:34 taca Exp $ # DISTNAME= rdtool-${RUBY_RD_VERSION} PKGNAME= ${EMACS_PKGNAME_PREFIX}${RUBY_PKGPREFIX}-rd-mode-${RUBY_RD_VERSION} -PKGREVISION= 1 CATEGORIES= devel ruby MASTER_SITES= http://www.moonwolf.com/ruby/archive/ @@ -13,6 +12,7 @@ COMMENT= Editing mode for RD (Ruby Document Format) WRKSRC= ${WRKDIR}/${DISTNAME}/utils EXTRACT_ELEMENTS= ${DISTNAME}/utils/rd-mode.el +RUBY_RD_VERSION= 0.6.18 RUBY_VERSION= ${RUBY18_VERSION} RUBY_NOVERSION= yes NO_CONFIGURE= yes @@ -27,6 +27,5 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/rd-mode.elc ${EMACS_LISPPREFIX}/rd-mode .include "../../lang/ruby/rubyversion.mk" -.include "../../textproc/ruby-rdtool/rdversion.mk" .include "../../mk/emacs.mk" .include "../../mk/bsd.pkg.mk" diff --git a/devel/ruby-rd-mode/distinfo b/devel/ruby-rd-mode/distinfo index 10a052d9ea2..2562a07aa98 100644 --- a/devel/ruby-rd-mode/distinfo +++ b/devel/ruby-rd-mode/distinfo @@ -1,6 +1,5 @@ -$NetBSD: distinfo,v 1.7 2006/01/03 14:25:50 taca Exp $ +$NetBSD: distinfo,v 1.8 2006/02/13 15:16:35 taca Exp $ -SHA1 (rdtool-0.6.14.tar.gz) = 6c61ffad85c62c7d3708c19a8793c1f8b395a1c0 -RMD160 (rdtool-0.6.14.tar.gz) = 7522709925a7ff08b4e602dfed8bda88dbda6e77 -Size (rdtool-0.6.14.tar.gz) = 58750 bytes -SHA1 (patch-aa) = 1098c799b547b01eed4b3b2d54a4a42d41e11de2 +SHA1 (rdtool-0.6.18.tar.gz) = 4c0ae3f25a5bca11b5a4b8d9a01f4683b958d9e0 +RMD160 (rdtool-0.6.18.tar.gz) = 10bd30d26d8264f86b6493a0430d1d1b9e807a9f +Size (rdtool-0.6.18.tar.gz) = 80445 bytes diff --git a/devel/ruby-rd-mode/patches/patch-aa b/devel/ruby-rd-mode/patches/patch-aa deleted file mode 100644 index 18f7ee38edf..00000000000 --- a/devel/ruby-rd-mode/patches/patch-aa +++ /dev/null @@ -1,51 +0,0 @@ -$NetBSD: patch-aa,v 1.1 2002/10/06 15:25:23 taca Exp $ - ---- rd-mode.el.orig Sat Feb 2 02:58:16 2002 -+++ rd-mode.el -@@ -321,7 +321,7 @@ - "" - (save-excursion - (beginning-of-line) -- (looking-at "--- +\\| *\\(\\* +\\)?") -+ (looking-at "--- +\\| *\\(\\* +\\|([0-9]+) +\\)?") - (length (buffer-substring (match-beginning 0)(match-end 0))))) - - (defun rd-cite-region (beg end) -@@ -379,15 +379,32 @@ - (rd-insert-reftourl url) - (rd-insert-ref (concat label "|URL:" url)))) - -+(defun rd-search-last-listitem () -+ (beginning-of-line) -+ (if (looking-at "[ \t]*\\(\\*\\|([0-9])\\|:\\|---\\)[ \t]*") -+ (match-string 0) -+ (and (and (eq -+ (rd-current-indentation) -+ (progn (forward-line -1) (rd-current-indentation)) -+ ) -+ (not (eq (point) (point-min)) ) -+ ) -+ (rd-search-last-listitem) -+ ) -+ ) -+ ) -+ - (defun rd-intelligent-newline () - (interactive) -- (beginning-of-line) -- (let ((item -- (and (looking-at "[ \t]*\\(\\*\\|([0-9])\\|:\\|---\\)[ \t]*") -- (match-string 0)))) -+ (let (item) -+ (setq item -+ (save-excursion (rd-search-last-listitem) ) -+ ) - (end-of-line) - (newline) -- (if item (insert-string item)))) -+ (if item (insert-string item) ) -+ ) -+ ) - - (provide 'rd-mode) - ;;; rd-mode.el ends here -- cgit v1.2.3