aboutsummaryrefslogtreecommitdiff
path: root/editors/psgml/files
diff options
context:
space:
mode:
authorShigeyuki Fukushima <shige@FreeBSD.org>1999-10-16 11:58:04 +0000
committerShigeyuki Fukushima <shige@FreeBSD.org>1999-10-16 11:58:04 +0000
commit0aadf549c4373a7c421fa4e0ac4de24baed2f3fb (patch)
tree2104ba67d588ef2cc485e4b325706a249994981e /editors/psgml/files
parent748d27ad4eaf8b5e574a3982a3ddd31dea7e02e2 (diff)
downloadports-0aadf549c4373a7c421fa4e0ac4de24baed2f3fb.tar.gz
ports-0aadf549c4373a7c421fa4e0ac4de24baed2f3fb.zip
Notes
Diffstat (limited to 'editors/psgml/files')
-rw-r--r--editors/psgml/files/patch-ad14
-rw-r--r--editors/psgml/files/patch-ai30
-rw-r--r--editors/psgml/files/psgml-startup.el.in53
3 files changed, 94 insertions, 3 deletions
diff --git a/editors/psgml/files/patch-ad b/editors/psgml/files/patch-ad
index ba3f8cf7f553..2a31b3bf480f 100644
--- a/editors/psgml/files/patch-ad
+++ b/editors/psgml/files/patch-ad
@@ -1,6 +1,14 @@
---- Makefile.in.orig Sat Jan 23 20:58:07 1999
-+++ Makefile.in Sat Jan 23 20:58:55 1999
-@@ -81,8 +81,8 @@
+--- Makefile.in.orig Sun Oct 10 23:12:40 1999
++++ Makefile.in Sat Oct 16 20:24:14 1999
+@@ -31,6 +31,7 @@
+ for p in *.elc; do \
+ echo " $(INSTALL_DATA) $$p $(lispdir)/$$p"; \
+ $(INSTALL_DATA) $$p $(lispdir)/$$p; \
++ $(INSTALL_DATA) `echo $$p | sed 's/elc$$/el/'` $(lispdir)/`echo $$p | sed 's/elc$$/el/'` ; \
+ done
+ $(INSTALL_DATA) iso88591.map $(lispdir)
+
+@@ -42,8 +43,8 @@
$(INSTALL_DATA) psgml-api.info $(infodir)
if $(SHELL) -c 'install-info --version' \
>/dev/null 2>&1; then \
diff --git a/editors/psgml/files/patch-ai b/editors/psgml/files/patch-ai
new file mode 100644
index 000000000000..27e686bef7d9
--- /dev/null
+++ b/editors/psgml/files/patch-ai
@@ -0,0 +1,30 @@
+--- configure.orig Sun Oct 10 23:12:40 1999
++++ configure Sat Oct 16 20:02:52 1999
+@@ -73,6 +73,11 @@
+
+ case "$ac_option" in
+
++ -lispdir | --lispdir | --lispdi | --lispd | --lisp)
++ ac_prev=lispdir ;;
++ -lispdir=* | --lispdir=* | --lispdi=* | --lispd=* | --lisp=*)
++ lispdir="$ac_optarg" ;;
++
+ -bindir | --bindir | --bindi | --bind | --bin | --bi)
+ ac_prev=bindir ;;
+ -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
+@@ -687,6 +692,7 @@
+ done
+ test -n "$EMACS" || EMACS="no"
+
++if test -z "$lispdir" ; then
+ if test $EMACS != "no"; then
+ echo $ac_n "checking where .elc files should go""... $ac_c" 1>&6
+ echo "configure:693: checking where .elc files should go" >&5
+@@ -710,6 +716,7 @@
+ fi
+ echo "$ac_t""$lispdir" 1>&6
+ fi
++fi
+
+ # Extract the first word of "makeinfo", so it can be a program name with args.
+ set dummy makeinfo; ac_word=$2
diff --git a/editors/psgml/files/psgml-startup.el.in b/editors/psgml/files/psgml-startup.el.in
new file mode 100644
index 000000000000..1868e53bbb0f
--- /dev/null
+++ b/editors/psgml/files/psgml-startup.el.in
@@ -0,0 +1,53 @@
+;;
+;; @(#)psgml-startup.el -- psgml startup elisp file.
+;; -- by shige@FreeBSD.ORG
+
+;; setup load-path
+(if (fboundp 'normal-top-level-add-subdirs-to-load-path)
+ (setq load-path (append '(
+ "@@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)
+
+(setq sgml-custom-dtd
+ '(("HTML" "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML//EN\">")
+ ("HTML 2.0" "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">")
+ ("HTML 2.0 Level 1"
+ "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0 Level 1//EN\">")
+ ("HTML 2.0 Level 2"
+ "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0 Level 2//EN\">")
+ ("HTML 2.0 Strict Level 1"
+ "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0 Strict Level 1//EN\">")
+ ("HTML 2.0 Strict Level 2"
+ "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0 Strict Level 2//EN\">")
+ ("HTML 3.2" "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 3.2//EN\">")
+ ("HTML 4.0" "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\">")
+ ("HTML 4.0 Transitional"
+ "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 Transitioal//EN\">")
+ ("HTML 4.0 Frameset"
+ "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 Frameset//EN\">")
+ ("DocBook V2.4.1"
+ "<!DOCTYPE DOCBOOK PUBLIC \"-//Davenport//DTD DocBook V2.4.1//EN\">")
+ ("DocBook V3.0"
+ "<!DOCTYPE DOCBOOK PUBLIC \"-//Davenport//DTD DocBook V3.0//EN\">")
+ ("DocBook V3.1"
+ "<!DOCTYPE DOCBOOK PUBLIC \"-//OASYS//DTD DocBook V3.1//EN\">")
+ ("LINUXDOC"
+ "<!DOCTYPE LINUXDOC PUBLIC \"-//FreeBSD//DTD linuxdoc//EN\">")
+ ("LINUXDOC 1.0"
+ "<!DOCTYPE LINUXDOC PUBLIC \"-//FreeBSD//DTD linuxdoc 1.0//EN\">")
+ ("LINUXDOC 1.1"
+ "<!DOCTYPE LINUXDOC PUBLIC \"-//FreeBSD//DTD linuxdoc 1.1//EN\">")
+ ("Article"
+ "<!DOCTYPE Article PUBLIC \"ISO 12083:1993//DTD Article//EN\">")
+ ("Book"
+ "<!DOCTYPE Book PUBLIC \"ISO 12083:1993//DTD Book//EN\">")
+ ("Mathematics"
+ "<!DOCTYPE Mathematics PUBLIC \"ISO 12083:1993//DTD Mathematics//EN\">")
+ ("Serial"
+ "<!DOCTYPE Serial PUBLIC \"ISO 12083:1993//DTD Serial//EN\">")
+ ))
+
+(provide 'psgml-startup)