aboutsummaryrefslogtreecommitdiff
path: root/editors/psgml
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2001-12-03 05:26:03 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2001-12-03 05:26:03 +0000
commit5bab2144e53777c22062b29d3ee4eb4156aaa3de (patch)
tree66561d08b07b5bb6ba9777747c7b080115d944d9 /editors/psgml
parent066b60ed0c82b106ffb55c4f5dfa071970d2678f (diff)
downloadports-5bab2144e53777c22062b29d3ee4eb4156aaa3de.tar.gz
ports-5bab2144e53777c22062b29d3ee4eb4156aaa3de.zip
Notes
Diffstat (limited to 'editors/psgml')
-rw-r--r--editors/psgml/Makefile7
-rw-r--r--editors/psgml/distinfo2
-rw-r--r--editors/psgml/files/patch-ag18
3 files changed, 14 insertions, 13 deletions
diff --git a/editors/psgml/Makefile b/editors/psgml/Makefile
index c9828264943c..8fe99266cf65 100644
--- a/editors/psgml/Makefile
+++ b/editors/psgml/Makefile
@@ -7,15 +7,16 @@
PORTNAME= psgml
PORTVERSION= ${PSGML_VER}
-PORTREVISION= 1
CATEGORIES= editors elisp
-MASTER_SITES= ftp://ftp.lysator.liu.se/pub/sgml/
+MASTER_SITES= ftp://ftp.lysator.liu.se/pub/sgml/ \
+ ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= psgml
PKGNAMESUFFIX= -${EMACS_PORT_NAME}
MAINTAINER?= shige@FreeBSD.org
# distfile version
-PSGML_VER= 1.2.2
+PSGML_VER= 1.2.3
PSGML_STARTUPEL= psgml-startup.el
SCRIPTS_ENV= TARGETS="${PSGML_STARTUPEL}"
diff --git a/editors/psgml/distinfo b/editors/psgml/distinfo
index 48f9aa6bd1a8..18d908d34087 100644
--- a/editors/psgml/distinfo
+++ b/editors/psgml/distinfo
@@ -1 +1 @@
-MD5 (psgml-1.2.2.tar.gz) = b7e68d02b08cfb684926b93ada898f1c
+MD5 (psgml-1.2.3.tar.gz) = 447e9377439dbf3063febbf7a35b7255
diff --git a/editors/psgml/files/patch-ag b/editors/psgml/files/patch-ag
index 90792b64da9a..26cfff5127de 100644
--- a/editors/psgml/files/patch-ag
+++ b/editors/psgml/files/patch-ag
@@ -1,6 +1,6 @@
---- psgml-parse.el.orig Mon Nov 16 06:45:04 1998
-+++ psgml-parse.el Sat Jan 23 20:28:15 1999
-@@ -1217,6 +1217,11 @@
+--- psgml-parse.el.orig Sat Nov 10 04:26:25 2001
++++ psgml-parse.el Fri Nov 23 13:50:26 2001
+@@ -1243,6 +1243,11 @@
(sgml-check-dtd-subset)
(sgml-pop-entity)
(erase-buffer)
@@ -12,10 +12,10 @@
(sgml-write-dtd sgml-dtd-info to-file)
t))
-@@ -1244,6 +1249,10 @@
+@@ -1270,6 +1275,10 @@
"Merge the binary coded dtd in the current buffer with the current dtd.
- The current dtd is the variable sgml-dtd-info. Return t if mereged
- was successfull or nil if failed."
+ The current dtd is the variable sgml-dtd-info. Return t if the merge
+ was successful or nil if failed."
+ (if (string-match "Emacs 20\." (emacs-version))
+ (set-buffer-file-coding-system 'binary)
+ (if (boundp 'MULE)
@@ -23,7 +23,7 @@
(goto-char (point-min))
(sgml-read-sexp) ; skip filev
(let ((dependencies (sgml-read-sexp))
-@@ -2461,7 +2470,12 @@
+@@ -2489,7 +2498,12 @@
(set-buffer sgml-scratch-buffer)
;; For MULE to not misinterpret binary data set the mc-flag
;; (reported by Jeffrey Friedl <jfriedl@nff.ncl.omron.co.jp>)
@@ -32,8 +32,8 @@
+ ;; For MULE/Emacs 20 to not misinterpret binary data
+ (if (string-match "Emacs 20\." (emacs-version))
+ (set-buffer-file-coding-system 'binary)
-+ (if (boundp 'MULE)
-+ (set-file-coding-system *noconv*)))
++ (if (boundp 'MULE)
++ (set-file-coding-system *noconv*)))
(when (eq sgml-scratch-buffer (default-value 'sgml-scratch-buffer))
(make-local-variable 'sgml-scratch-buffer)
(setq sgml-scratch-buffer nil))