aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>2002-01-20 23:07:45 +0800
committerkuriyama <kuriyama@FreeBSD.org>2002-01-20 23:07:45 +0800
commit717828d441b94c29af790b148ac3b10d5cf034ac (patch)
treecca412ce0e80c5f6a53fe2fdee4008fbcf4d0af0 /editors
parent86816728c135b6984044c746e2b372a582de9751 (diff)
downloadfreebsd-ports-graphics-717828d441b94c29af790b148ac3b10d5cf034ac.tar.gz
freebsd-ports-graphics-717828d441b94c29af790b148ac3b10d5cf034ac.tar.zst
freebsd-ports-graphics-717828d441b94c29af790b148ac3b10d5cf034ac.zip
Rename symbols from sgml-* to psgml-* to avoid conflict with stock
sgml-mode. PR: ports/32391 Submitted by: KUNISHIMA Takeo <kunishi@c.oka-pu.ac.jp> Dirty hacked by: kuriyama
Diffstat (limited to 'editors')
-rw-r--r--editors/psgml/Makefile5
-rw-r--r--editors/psgml/distinfo1
-rw-r--r--editors/psgml/files/psgml-startup.el.in7
3 files changed, 11 insertions, 2 deletions
diff --git a/editors/psgml/Makefile b/editors/psgml/Makefile
index f074d66799c..cef34061cc9 100644
--- a/editors/psgml/Makefile
+++ b/editors/psgml/Makefile
@@ -7,12 +7,17 @@
PORTNAME= psgml
PORTVERSION= ${PSGML_VER}
+PORTREVISION= 1
CATEGORIES= editors elisp
MASTER_SITES= ftp://ftp.lysator.liu.se/pub/sgml/ \
${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= psgml
PKGNAMESUFFIX= -${EMACS_PORT_NAME}
+PATCH_SITES= ${MASTER_SITE_LOCAL}
+PATCH_SITE_SUBDIR= kuriyama
+PATCHFILES= psgml-symbol-conflict-020120.gz
+
MAINTAINER?= shige@FreeBSD.org
# distfile version
diff --git a/editors/psgml/distinfo b/editors/psgml/distinfo
index 1cc72ec62da..92dd808eb2f 100644
--- a/editors/psgml/distinfo
+++ b/editors/psgml/distinfo
@@ -1 +1,2 @@
MD5 (psgml-1.2.4.tar.gz) = 2817cc419befb5641dd5ba3e1e774676
+MD5 (psgml-symbol-conflict-020120.gz) = a4f7ff5477048c880f8b027b7115a541
diff --git a/editors/psgml/files/psgml-startup.el.in b/editors/psgml/files/psgml-startup.el.in
index 759d4d7d7ff..056bc26ca2a 100644
--- a/editors/psgml/files/psgml-startup.el.in
+++ b/editors/psgml/files/psgml-startup.el.in
@@ -9,8 +9,11 @@
"@@PREFIX@@/@@EMACS_LIBDIR@@/site-lisp/psgml"
) load-path)))
-(autoload 'sgml-mode "psgml" "Major mode to edit SGML files." t)
-(autoload 'xml-mode "psgml" "Major mode to edit XML files." t)
+(defalias 'sgml-mode 'psgml-mode)
+(defalias 'xml-mode 'pxml-mode)
+
+(autoload 'psgml-mode "psgml" "Major mode to edit SGML files." t)
+(autoload 'pxml-mode "psgml" "Major mode to edit XML files." t)
(setq auto-mode-alist
(append '(