From db016a1c531eaf75f577efa705cf79f25bf9fd30 Mon Sep 17 00:00:00 2001 From: Rong-En Fan Date: Mon, 18 Sep 2006 15:51:52 +0000 Subject: - Update to snapshot r4747 [1] - Fix pkg-plist [2] PR: ports/103351 [1], ports/102902 [2] Submitted by: Denis Shaposhnikov (maintainer) --- textproc/rst.el/Makefile | 7 +------ textproc/rst.el/distinfo | 6 +++--- textproc/rst.el/files/patch-rst.el | 26 -------------------------- textproc/rst.el/pkg-plist | 3 +++ 4 files changed, 7 insertions(+), 35 deletions(-) create mode 100644 textproc/rst.el/pkg-plist (limited to 'textproc/rst.el') diff --git a/textproc/rst.el/Makefile b/textproc/rst.el/Makefile index 3ebdc3feb0ba..a16ec9be49c6 100644 --- a/textproc/rst.el/Makefile +++ b/textproc/rst.el/Makefile @@ -6,7 +6,7 @@ # PORTNAME= rst.el -PORTVERSION= 4655 +PORTVERSION= 4747 CATEGORIES= textproc elisp MASTER_SITES= http://svn.berlios.de/viewcvs/*checkout*/docutils/trunk/docutils/tools/editors/emacs/ PKGNAMESUFFIX= -${EMACS_NAME} @@ -16,8 +16,6 @@ EXTRACT_SUFX= # empty MAINTAINER= dsh@vlink.ru COMMENT= ReStructuredText Support for Emacs -BROKEN= Incomplete pkg-plist - USE_EMACS= yes EMACS_PORT_NAME?= xemacs21-mule @@ -26,9 +24,6 @@ EXTRACT_CMD= ${CP} EXTRACT_BEFORE_ARGS= # empty EXTRACT_AFTER_ARGS= ${WRKSRC}/rst.el -PLIST_FILES= ${EMACS_SITE_LISPDIR}/rst.el \ - ${EMACS_SITE_LISPDIR}/rst.elc - ELISPDIR= ${TARGETDIR}/${EMACS_SITE_LISPDIR} .include diff --git a/textproc/rst.el/distinfo b/textproc/rst.el/distinfo index a9a3d6b92c48..508b2c946d2d 100644 --- a/textproc/rst.el/distinfo +++ b/textproc/rst.el/distinfo @@ -1,3 +1,3 @@ -MD5 (rst.el?rev=4655) = 825b249a63351fd76450427a30a0c5ab -SHA256 (rst.el?rev=4655) = eef04f0b37b6b26c6ab028184e94784cee5e28f8e83ac01f1f03d3d01b2442cf -SIZE (rst.el?rev=4655) = 112401 +MD5 (rst.el?rev=4747) = e71e386fa42dc26d31b0cf7812524221 +SHA256 (rst.el?rev=4747) = c0c6fc3f5f9918076f66e1bf3d3e8e1872785208835e61558e74c694785a6371 +SIZE (rst.el?rev=4747) = 114309 diff --git a/textproc/rst.el/files/patch-rst.el b/textproc/rst.el/files/patch-rst.el index 12fc5fc5595f..e69de29bb2d1 100644 --- a/textproc/rst.el/files/patch-rst.el +++ b/textproc/rst.el/files/patch-rst.el @@ -1,26 +0,0 @@ ---- rst.el.orig Sun Aug 20 18:19:59 2006 -+++ rst.el Sun Aug 20 17:41:37 2006 -@@ -930,7 +930,9 @@ - (toggle-style - (and current-prefix-arg (not reverse-direction)))) - -- (if (and transient-mark-mode mark-active) -+ (if (or -+ (and (fboundp 'region-active-p) (region-active-p) (region-exists-p)) -+ (and (boundp 'transient-mark-mode) transient-mark-mode mark-active)) - ;; Adjust decorations within region. - (rst-promote-region current-prefix-arg) - ;; Adjust decoration around point. -@@ -1988,7 +1990,11 @@ - (error "Cannot mark zero sections")) - (cond ((and allow-extend - (or (and (eq last-command this-command) (mark t)) -- (and transient-mark-mode mark-active))) -+ (or -+ (and (fboundp 'region-active-p) -+ (region-active-p) (region-exists-p)) -+ (and (boundp 'transient-mark-mode) -+ transient-mark-mode mark-active)))) - (set-mark - (save-excursion - (goto-char (mark)) diff --git a/textproc/rst.el/pkg-plist b/textproc/rst.el/pkg-plist new file mode 100644 index 000000000000..525f5f70490b --- /dev/null +++ b/textproc/rst.el/pkg-plist @@ -0,0 +1,3 @@ +%%EMACS_SITE_LISPDIR%%/rst.el +%%EMACS_SITE_LISPDIR%%/rst.elc +@dirrmtry %%EMACS_SITE_LISPDIR%% -- cgit v1.2.3