summaryrefslogtreecommitdiff
path: root/editors/psgml
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2002-01-20 15:07:45 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2002-01-20 15:07:45 +0000
commit328f274a8e47d008016d7e0276ab300ec0d1e05d (patch)
treeac7ddb0f4a5c594190483bf8369d81903bcc338f /editors/psgml
parentA small adjustment for .include<bsd.port.pre.mk>. (diff)
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
Notes
Notes: svn path=/head/; revision=53383
Diffstat (limited to 'editors/psgml')
-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 f074d66799c3..cef34061cc9f 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 1cc72ec62da4..92dd808eb2f5 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 759d4d7d7ff0..056bc26ca2a2 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 '(