aboutsummaryrefslogtreecommitdiff
path: root/editors/psgml
diff options
context:
space:
mode:
Diffstat (limited to 'editors/psgml')
-rw-r--r--editors/psgml/Makefile63
-rw-r--r--editors/psgml/distinfo1
-rw-r--r--editors/psgml/files/patch-ac27
-rw-r--r--editors/psgml/files/patch-ad21
-rw-r--r--editors/psgml/files/patch-ae47
-rw-r--r--editors/psgml/files/patch-af16
-rw-r--r--editors/psgml/files/patch-ag39
-rw-r--r--editors/psgml/files/patch-ai30
-rw-r--r--editors/psgml/files/psgml-startup.el.in62
-rw-r--r--editors/psgml/pkg-comment1
-rw-r--r--editors/psgml/pkg-descr20
-rw-r--r--editors/psgml/pkg-plist25
-rw-r--r--editors/psgml/scripts/configure12
13 files changed, 0 insertions, 364 deletions
diff --git a/editors/psgml/Makefile b/editors/psgml/Makefile
deleted file mode 100644
index 6b220e9f8765..000000000000
--- a/editors/psgml/Makefile
+++ /dev/null
@@ -1,63 +0,0 @@
-# New ports collection makefile for: psgml for emacs
-# Date created: 23 January 1999
-# Whom: shige
-#
-# $FreeBSD$
-#
-
-PORTNAME= psgml
-PORTVERSION= ${PSGML_VER}
-CATEGORIES= editors elisp
-MASTER_SITES= ftp://ftp.lysator.liu.se/pub/sgml/
-PKGNAMESUFFIX= -${EMACS_PORT_NAME}
-
-MAINTAINER?= shige@FreeBSD.org
-
-# distfile version
-PSGML_VER= 1.2.1
-PSGML_STARTUPEL= psgml-startup.el
-
-SCRIPTS_ENV= TARGETS="${PSGML_STARTUPEL}"
-PLIST_SUB= PSGML_STARTUPEL=${PSGML_STARTUPEL}
-
-# This is a master port.
-PORTCLASS?= master
-
-.if (${PORTCLASS} == "master")
-EMACS_PORT_NAME= emacs
-.endif
-
-.include <bsd.port.pre.mk>
-
-#
-# emacs ports setup
-#
-.if defined(EMACS_PORT_NAME)
-GNU_CONFIGURE= YES
-CONFIGURE_ARGS= --lispdir=${LOCALBASE}/${EMACS_LIBDIR}/site-lisp/psgml \
- --infodir=${LOCALBASE}/info
-CONFIGURE_ENV= EMACS=${EMACS_CMD}
-.else
-.BEGIN:
- @${ECHO} "Error: Bad port."
- @${ECHO} "You must define EMACS_PORT_NAME."
- @${FALSE}
-.endif
-
-pre-configure:
- (cd ${WRKSRC} ; \
- for i in psgml.el psgml.texi ; do \
- ${RM} -f $${i}.in; \
- ${MV} $${i} $${i}.in; \
- ${CAT} $${i}.in | ${SED} -e "s;@prefix@;${LOCALBASE};g" > $${i}; \
- done)
- ${CP} ${FILESDIR}/${PSGML_STARTUPEL}.in ${WRKDIR}
-
-post-install:
- @(cd ${WRKSRC} ; \
- ${MAKE} install-info ; \
- )
- @${INSTALL_DATA} ${WRKDIR}/${PSGML_STARTUPEL} \
- ${LOCALBASE}/${EMACS_LIBDIR}/site-lisp
-
-.include <bsd.port.post.mk>
diff --git a/editors/psgml/distinfo b/editors/psgml/distinfo
deleted file mode 100644
index eb329c24a87a..000000000000
--- a/editors/psgml/distinfo
+++ /dev/null
@@ -1 +0,0 @@
-MD5 (psgml-1.2.1.tar.gz) = ee3df16986090984d5290a3332227a0d
diff --git a/editors/psgml/files/patch-ac b/editors/psgml/files/patch-ac
deleted file mode 100644
index 640c089d0e43..000000000000
--- a/editors/psgml/files/patch-ac
+++ /dev/null
@@ -1,27 +0,0 @@
---- psgml.el.orig Mon Nov 16 06:45:03 1998
-+++ psgml.el Sat Jan 23 19:14:44 1999
-@@ -335,7 +335,7 @@
- (put 'sgml-system-path 'sgml-type 'file-list)
-
- (defvar sgml-public-map (or (sgml-parse-colon-path (getenv "SGML_PATH"))
-- '("%S" "/usr/local/lib/sgml/%o/%c/%d" ))
-+ '("%S" "@prefix@/share/sgml/%o/%c/%d" ))
- "*Mapping from public identifiers to file names.
- This is a list of possible file names. To find the file for a public
- identifier the elements of the list are used one at the time from the
-@@ -361,13 +361,13 @@
- (defvar sgml-catalog-files (or (delete nil
- (sgml-parse-colon-path
- (getenv "SGML_CATALOG_FILES")))
-- '("catalog" "/usr/local/lib/sgml/catalog"))
-+ '("catalog" "@prefix@/share/sgml/catalog"))
- "*List of catalog entry files.
- The files are in the format defined in the SGML Open Draft Technical
- Resolution on Entity Management.")
- (put 'sgml-catalog-files 'sgml-type 'file-list)
-
--(defvar sgml-ecat-files '("ECAT" "~/sgml/ECAT" "/usr/local/lib/sgml/ECAT")
-+(defvar sgml-ecat-files '("ECAT" "~/sgml/ECAT" "@prefix@/share/sgml/ECAT")
- "*List of catalog files for PSGML.")
- (put 'sgml-ecat-files 'sgml-type 'file-list)
-
diff --git a/editors/psgml/files/patch-ad b/editors/psgml/files/patch-ad
deleted file mode 100644
index 2a31b3bf480f..000000000000
--- a/editors/psgml/files/patch-ad
+++ /dev/null
@@ -1,21 +0,0 @@
---- 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 \
-- install-info --info-dir=$(infodir) psgml.info; \
-- install-info --info-dir=$(infodir) psgml-api.info; \
-+ install-info $(infodir)/psgml.info $(infodir)/dir; \
-+ install-info $(infodir)/psgml-api.info $(infodir)/dir; \
- else true; fi
-
-
diff --git a/editors/psgml/files/patch-ae b/editors/psgml/files/patch-ae
deleted file mode 100644
index 6910b39d7a89..000000000000
--- a/editors/psgml/files/patch-ae
+++ /dev/null
@@ -1,47 +0,0 @@
---- psgml.texi.orig Mon Nov 16 06:45:07 1998
-+++ psgml.texi Sat Jan 23 21:10:21 1999
-@@ -11,10 +11,9 @@
-
- @ifinfo
--@format
--START-INFO-DIR-ENTRY
-+@dircategory The Emacs editor and associated tools
-+@direntry
- * PSGML: (psgml). PSGML, a major mode for SGML documents.
--END-INFO-DIR-ENTRY
--@end format
-+@end direntry
- @end ifinfo
-
- @ifinfo
-@@ -401,10 +400,10 @@
- @code{SGML_PATH}.
-
- Given the public identifier above and the file name template
--@samp{/usr/local/lib/sgml/%o/%c/%d}, the resulting file name is
-+@samp{@prefix@/share/sgml/%o/%c/%d}, the resulting file name is
-
- @example
--/usr/local/lib/sgml/ISO_8879:1986/entities/Added_Latin_1
-+@prefix@/share/sgml/ISO_8879:1986/entities/Added_Latin_1
- @end example
-
- Note: blanks are transliterated to @samp{_} (and also @samp{/} to
-@@ -420,7 +419,7 @@
- is undefined the default is
-
- @lisp
--("CATALOG" "/usr/local/lib/sgml/CATALOG")
-+("catalog" "@prefix@/share/sgml/catalog")
- @end lisp
- @end defopt
-
-@@ -448,7 +447,7 @@
- environment variable is undefined the default is
-
- @lisp
--("%S" "/usr/local/lib/sgml/%o/%c/%d")
-+("%S" "@prefix@/share/sgml/%o/%c/%d")
- @end lisp
- @c Mapping from public identifiers to file names.
- @end defopt
diff --git a/editors/psgml/files/patch-af b/editors/psgml/files/patch-af
deleted file mode 100644
index 18a916598525..000000000000
--- a/editors/psgml/files/patch-af
+++ /dev/null
@@ -1,16 +0,0 @@
---- psgml-api.texi.orig Mon Nov 16 06:45:06 1998
-+++ psgml-api.texi Sat Jan 23 21:11:18 1999
-@@ -8,10 +8,9 @@
-
- @ifinfo
--@format
--START-INFO-DIR-ENTRY
-+@dircategory The Emacs editor and associated tools
-+@direntry
- * PSGML-API: (psgml-api). PSGML, the API documentation.
--END-INFO-DIR-ENTRY
--@end format
-+@end direntry
- @end ifinfo
-
- @ifinfo
diff --git a/editors/psgml/files/patch-ag b/editors/psgml/files/patch-ag
deleted file mode 100644
index 90792b64da9a..000000000000
--- a/editors/psgml/files/patch-ag
+++ /dev/null
@@ -1,39 +0,0 @@
---- 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 @@
- (sgml-check-dtd-subset)
- (sgml-pop-entity)
- (erase-buffer)
-+ ;; For Mule
-+ (if (string-match "Emacs 20\." (emacs-version))
-+ (set-buffer-file-coding-system 'binary)
-+ (if (boundp 'MULE)
-+ (set-file-coding-system *noconv*)))
- (sgml-write-dtd sgml-dtd-info to-file)
- t))
-
-@@ -1244,6 +1249,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."
-+ (if (string-match "Emacs 20\." (emacs-version))
-+ (set-buffer-file-coding-system 'binary)
-+ (if (boundp 'MULE)
-+ (set-file-coding-system *noconv*)))
- (goto-char (point-min))
- (sgml-read-sexp) ; skip filev
- (let ((dependencies (sgml-read-sexp))
-@@ -2461,7 +2470,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>)
-- (set 'mc-flag nil)
-+ (set 'mc-flag nil)
-+ ;; 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*)))
- (when (eq sgml-scratch-buffer (default-value 'sgml-scratch-buffer))
- (make-local-variable 'sgml-scratch-buffer)
- (setq sgml-scratch-buffer nil))
diff --git a/editors/psgml/files/patch-ai b/editors/psgml/files/patch-ai
deleted file mode 100644
index 27e686bef7d9..000000000000
--- a/editors/psgml/files/patch-ai
+++ /dev/null
@@ -1,30 +0,0 @@
---- 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
deleted file mode 100644
index 1a0eb374b2ea..000000000000
--- a/editors/psgml/files/psgml-startup.el.in
+++ /dev/null
@@ -1,62 +0,0 @@
-;;
-;; @(#)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 Transitional//EN\">")
- ("HTML 4.0 Frameset"
- "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 Frameset//EN\">")
- ("HTML 4.01" "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01//EN\">")
- ("HTML 4.01 Transitional"
- "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">")
- ("HTML 4.01 Frameset"
- "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 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 \"-//OASIS//DTD DocBook V3.1//EN\">")
- ("DocBook V4.0"
- "<!DOCTYPE DOCBOOK PUBLIC \"-//OASIS//DTD DocBook V4.0//EN\">")
- ("DocBook V4.1"
- "<!DOCTYPE DOCBOOK PUBLIC \"-//OASIS//DTD DocBook V4.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)
diff --git a/editors/psgml/pkg-comment b/editors/psgml/pkg-comment
deleted file mode 100644
index 9193bbbc77ad..000000000000
--- a/editors/psgml/pkg-comment
+++ /dev/null
@@ -1 +0,0 @@
-A major mode for editing SGML and XML documents for emacs
diff --git a/editors/psgml/pkg-descr b/editors/psgml/pkg-descr
deleted file mode 100644
index a7d18952ab89..000000000000
--- a/editors/psgml/pkg-descr
+++ /dev/null
@@ -1,20 +0,0 @@
-PSGML: a major mode for editing SGML and XML documents for emacs.
-
---- Emacs Library Porting
-
- PSGML is a major mode for editing SGML and XML documents. It works
-with GNU Emacs 19.34, 20.3 and later or with XEmacs 19.9 and later.
-PSGML contains a simple SGML parser and can work with any DTD.
-Functions provided includes menus and commands for inserting tags with
-only the contextually valid tags, identification of structural errors,
-editing of attribute values in a separate window with information about
-types and defaults, and structure based editing.
-
- PSGML is installed the following directory tree:
- ${PREFIX}/share/emacs/site-lisp/psgml/
-
-To use psgml, put the following setup into your ~/.emacs:
-
- (require 'psgml-startup)
-
---- Porting by shige <shige@FreeBSD.ORG>.
diff --git a/editors/psgml/pkg-plist b/editors/psgml/pkg-plist
deleted file mode 100644
index b0348f120b1f..000000000000
--- a/editors/psgml/pkg-plist
+++ /dev/null
@@ -1,25 +0,0 @@
-%%EMACS_LIBDIR%%/site-lisp/psgml/iso88591.map
-%%EMACS_LIBDIR%%/site-lisp/psgml/psgml-api.el
-%%EMACS_LIBDIR%%/site-lisp/psgml/psgml-api.elc
-%%EMACS_LIBDIR%%/site-lisp/psgml/psgml-charent.el
-%%EMACS_LIBDIR%%/site-lisp/psgml/psgml-charent.elc
-%%EMACS_LIBDIR%%/site-lisp/psgml/psgml-dtd.el
-%%EMACS_LIBDIR%%/site-lisp/psgml/psgml-dtd.elc
-%%EMACS_LIBDIR%%/site-lisp/psgml/psgml-edit.el
-%%EMACS_LIBDIR%%/site-lisp/psgml/psgml-edit.elc
-%%EMACS_LIBDIR%%/site-lisp/psgml/psgml-info.el
-%%EMACS_LIBDIR%%/site-lisp/psgml/psgml-info.elc
-%%EMACS_LIBDIR%%/site-lisp/psgml/psgml-other.el
-%%EMACS_LIBDIR%%/site-lisp/psgml/psgml-other.elc
-%%EMACS_LIBDIR%%/site-lisp/psgml/psgml-parse.el
-%%EMACS_LIBDIR%%/site-lisp/psgml/psgml-parse.elc
-%%EMACS_LIBDIR%%/site-lisp/psgml/psgml.el
-%%EMACS_LIBDIR%%/site-lisp/psgml/psgml.elc
-%%EMACS_LIBDIR%%/site-lisp/%%PSGML_STARTUPEL%%
-@dirrm %%EMACS_LIBDIR%%/site-lisp/psgml
-@unexec install-info --delete %D/info/psgml.info %D/info/dir
-@unexec install-info --delete %D/info/psgml-api.info %D/info/dir
-info/psgml.info
-info/psgml-api.info
-@exec install-info %D/info/psgml.info %D/info/dir
-@exec install-info %D/info/psgml-api.info %D/info/dir
diff --git a/editors/psgml/scripts/configure b/editors/psgml/scripts/configure
deleted file mode 100644
index ecb50ff2751f..000000000000
--- a/editors/psgml/scripts/configure
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-
-for i in ${TARGETS}
-do
- if [ -f ${WRKDIR}/${i}.in ]; then
- cat ${WRKDIR}/${i}.in | /usr/bin/sed \
- -e "s;@@PREFIX@@;${PREFIX};g" \
- -e "s;@@EMACS_LIBDIR@@;${EMACS_LIBDIR};g" \
- -e "s;@@EMACS_VER@@;${EMACS_VER};g" \
- > ${WRKDIR}/${i}
- fi
-done