aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorshige <shige@FreeBSD.org>2002-06-10 20:46:16 +0800
committershige <shige@FreeBSD.org>2002-06-10 20:46:16 +0800
commit7adb24815d50d753a7d5dc9086beaeefabe04047 (patch)
treedea00a602a3780acadb51205c5e333fe99e09b57
parent10bad0469095bc380296fdcc043a2ec9cf40d647 (diff)
downloadfreebsd-ports-gnome-7adb24815d50d753a7d5dc9086beaeefabe04047.tar.gz
freebsd-ports-gnome-7adb24815d50d753a7d5dc9086beaeefabe04047.tar.zst
freebsd-ports-gnome-7adb24815d50d753a7d5dc9086beaeefabe04047.zip
Fix XHTML DOCTYPE definitions.
PR: ports/38293 Submitted by: OKUMURA Yoshifumi <okumura@pop06.odn.ne.jp>
-rw-r--r--editors/psgml/Makefile2
-rw-r--r--editors/psgml/files/psgml-startup.el.in6
2 files changed, 4 insertions, 4 deletions
diff --git a/editors/psgml/Makefile b/editors/psgml/Makefile
index cef34061cc9f..79a94cfb29cb 100644
--- a/editors/psgml/Makefile
+++ b/editors/psgml/Makefile
@@ -7,7 +7,7 @@
PORTNAME= psgml
PORTVERSION= ${PSGML_VER}
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= editors elisp
MASTER_SITES= ftp://ftp.lysator.liu.se/pub/sgml/ \
${MASTER_SITE_SOURCEFORGE}
diff --git a/editors/psgml/files/psgml-startup.el.in b/editors/psgml/files/psgml-startup.el.in
index 056bc26ca2a2..f3ee1aae70b8 100644
--- a/editors/psgml/files/psgml-startup.el.in
+++ b/editors/psgml/files/psgml-startup.el.in
@@ -44,11 +44,11 @@
("HTML 4.01 Frameset"
"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Frameset//EN\">")
("XHTML 1.0 Strict"
- "<!DOCTYPE XHTML PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\">")
+ "<?xml version=\"1.0\"?><!-- -*- xml -*- -->\n<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">")
("XHTML 1.0 Transitional"
- "<!DOCTYPE XHTML PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\">")
+ "<?xml version=\"1.0\"?><!-- -*- xml -*- -->\n<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">")
("XHTML 1.0 Frameset"
- "<!DOCTYPE XHTML PUBLIC \"-//W3C//DTD XHTML 1.0 Frameset//EN\">")
+ "<?xml version=\"1.0\"?><!-- -*- xml -*- -->\n<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Frameset//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd\">")
("DocBook V2.4.1"
"<!DOCTYPE DOCBOOK PUBLIC \"-//Davenport//DTD DocBook V2.4.1//EN\">")
("DocBook V3.0"