- Change the install directory to Emacs version specific ones[1].

Bump PORTREVISION.
- Clean up the slave ports[1].
- Mark as BROKEN for ia64[2].

PR[1]:			ports/80644
Based on work by[1]:	KIMURA Yasuhiro
Reported from[2]:	pointyhat
This commit is contained in:
Hiroki Sato 2005-05-12 20:27:09 +00:00
parent 78eb4756a7
commit e031c0ac38
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=135154
17 changed files with 47 additions and 256 deletions

View file

@ -9,14 +9,9 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= A major mode for editing SGML and XML documents for emacs19
# This is a slave port.
PORTCLASS= slave
MASTERDIR= ${.CURDIR}/../psgml
# emacs port setup
EMACS_PORT_NAME= emacs19
# pkg-* files in ${.CURDIR} are used
PKGDIR= ${.CURDIR}
.include "${MASTERDIR}/Makefile"

View file

@ -1,20 +0,0 @@
PSGML: a major mode for editing SGML and XML documents for emacs19.
--- 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>.

View file

@ -1,24 +0,0 @@
@comment $FreeBSD$
%%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-ids.el
%%EMACS_LIBDIR%%/site-lisp/psgml/psgml-ids.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-sysdep.el
%%EMACS_LIBDIR%%/site-lisp/psgml/psgml-sysdep.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

View file

@ -9,14 +9,9 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= A major mode for editing SGML and XML documents for emacs20
# This is a slave port.
PORTCLASS= slave
MASTERDIR= ${.CURDIR}/../psgml
# emacs port setup
EMACS_PORT_NAME= emacs20
# pkg-* files in ${.CURDIR} are used
PKGDIR= ${.CURDIR}
.include "${MASTERDIR}/Makefile"

View file

@ -1,20 +0,0 @@
PSGML: a major mode for editing SGML and XML documents for emacs20.
--- 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>.

View file

@ -1,24 +0,0 @@
@comment $FreeBSD$
%%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-ids.el
%%EMACS_LIBDIR%%/site-lisp/psgml/psgml-ids.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-sysdep.el
%%EMACS_LIBDIR%%/site-lisp/psgml/psgml-sysdep.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

View file

@ -9,14 +9,9 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= A major mode for editing SGML and XML documents for mule
# This is a slave port.
PORTCLASS= slave
MASTERDIR= ${.CURDIR}/../psgml
# emacs port setup
EMACS_PORT_NAME= mule
# pkg-* files in ${.CURDIR} are used
PKGDIR= ${.CURDIR}
.include <${MASTERDIR}/Makefile>
.include "${MASTERDIR}/Makefile"

View file

@ -1,20 +0,0 @@
PSGML: a major mode for editing SGML and XML documents.
--- 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:
${LOCALBASE}/share/mule/site-lisp/psgml/
To use psgml, put the following setup into your ~/.emacs:
(require 'psgml-startup)
--- Porting by shige <shige@FreeBSD.ORG>.

View file

@ -1,24 +0,0 @@
@comment $FreeBSD$
%%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-ids.el
%%EMACS_LIBDIR%%/site-lisp/psgml/psgml-ids.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-sysdep.el
%%EMACS_LIBDIR%%/site-lisp/psgml/psgml-sysdep.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

View file

@ -9,14 +9,9 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= A major mode for editing SGML and XML documents for XEmacs with Mule
# This is a slave port.
PORTCLASS= slave
MASTERDIR= ${.CURDIR}/../psgml
# emacs port setup
EMACS_PORT_NAME= xemacs21-mule
# pkg-* files in ${.CURDIR} are used
PKGDIR= ${.CURDIR}
.include "${MASTERDIR}/Makefile"

View file

@ -1,20 +0,0 @@
PSGML: a major mode for editing SGML and XML documents for XEmacs with Mule.
--- 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:
${LOCALBASE}/lib/xemacs/site-lisp/psgml/
To use psgml, put the following setup into your ~/.emacs:
(require 'psgml-startup)
--- Porting by shige <shige@FreeBSD.ORG> and kuriyama@FreeBSD.ORG

View file

@ -1,24 +0,0 @@
@comment $FreeBSD$
%%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-ids.el
%%EMACS_LIBDIR%%/site-lisp/psgml/psgml-ids.elc
%%EMACS_LIBDIR%%/site-lisp/psgml/psgml-info.el
%%EMACS_LIBDIR%%/site-lisp/psgml/psgml-info.elc
%%EMACS_LIBDIR%%/site-lisp/psgml/psgml-lucid.el
%%EMACS_LIBDIR%%/site-lisp/psgml/psgml-lucid.elc
%%EMACS_LIBDIR%%/site-lisp/psgml/psgml-parse.el
%%EMACS_LIBDIR%%/site-lisp/psgml/psgml-parse.elc
%%EMACS_LIBDIR%%/site-lisp/psgml/psgml-sysdep.el
%%EMACS_LIBDIR%%/site-lisp/psgml/psgml-sysdep.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

View file

@ -6,8 +6,8 @@
#
PORTNAME= psgml
PORTVERSION= ${PSGML_VER}
PORTREVISION= 0
PORTVERSION= 1.3.2
PORTREVISION= 1
CATEGORIES= editors elisp
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= psgml
@ -22,18 +22,22 @@ COMMENT?= A major mode for editing SGML and XML documents for emacs21
INFO= psgml psgml-api
# distfile version
PSGML_VER= 1.3.2
PSGML_STARTUPEL= psgml-startup.el
SCRIPTS_ENV= TARGETS="${PSGML_STARTUPEL}" SED=${SED}
PLIST_SUB= PSGML_STARTUPEL=${PSGML_STARTUPEL}
SUB_FILES= ${PSGML_STARTUPEL}
SUB_LIST= PSGML_LISPDIR=${PSGML_LISPDIR}
PLIST_SUB= PSGML_STARTUPEL=${PSGML_STARTUPEL}
NOT_FOR_ARCHS= ia64
# This is a master port.
PORTCLASS?= master
EMACS_PORT_NAME?= emacs21
.if (${PORTCLASS} == "master")
EMACS_PORT_NAME= emacs21
.if ${EMACS_PORT_NAME} == xemacs21-mule
PLIST_SUB+= XEMACS="" \
NON_XEMACS="@comment "
.else
PLIST_SUB+= XEMACS="@comment " \
NON_XEMACS=""
.endif
.include <bsd.port.pre.mk>
@ -42,9 +46,10 @@ EMACS_PORT_NAME= emacs21
# emacs ports setup
#
.if defined(EMACS_PORT_NAME)
PSGML_LISPDIR= ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/psgml
GNU_CONFIGURE= YES
CONFIGURE_ARGS= --lispdir=${LOCALBASE}/${EMACS_LIBDIR}/site-lisp/psgml \
--infodir=${LOCALBASE}/info
CONFIGURE_ARGS= --lispdir=${PSGML_LISPDIR} \
--infodir=${PREFIX}/${INFO_PATH}
CONFIGURE_ENV= EMACS=${EMACS_CMD}
.else
.BEGIN:
@ -53,12 +58,9 @@ CONFIGURE_ENV= EMACS=${EMACS_CMD}
@${FALSE}
.endif
pre-configure:
${CP} ${FILESDIR}/${PSGML_STARTUPEL}.in ${WRKDIR}
post-install:
cd ${WRKSRC} && ${MAKE} install-info
${INSTALL_DATA} ${WRKDIR}/${PSGML_STARTUPEL} \
${LOCALBASE}/${EMACS_LIBDIR}/site-lisp
${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}
.include <bsd.port.post.mk>

View file

@ -6,7 +6,7 @@
;; setup load-path
(if (not (fboundp 'normal-top-level-add-subdirs-to-load-path))
(setq load-path (append '(
"@@PREFIX@@/@@EMACS_LIBDIR@@/site-lisp/psgml"
"%%PSGML_LISPDIR%%"
) load-path)))
(defalias 'sgml-mode 'psgml-mode)

View file

@ -1,7 +1,3 @@
PSGML: a major mode for editing SGML and XML documents for emacs21.
--- 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.
@ -10,13 +6,12 @@ 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>.
Ports of PSGML are initially created by shige <shige@FreeBSD.org> and
kuriyama@FreeBSD.ORG.
WWW: http://www.lysator.liu.se/~lenst/about_psgml/
WWW: http://sourceforge.net/projects/psgml/

View file

@ -1,24 +1,26 @@
@comment $FreeBSD$
%%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-ids.el
%%EMACS_LIBDIR%%/site-lisp/psgml/psgml-ids.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-sysdep.el
%%EMACS_LIBDIR%%/site-lisp/psgml/psgml-sysdep.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
%%EMACS_VERSION_SITE_LISPDIR%%/psgml/iso88591.map
%%EMACS_VERSION_SITE_LISPDIR%%/psgml/psgml-api.el
%%EMACS_VERSION_SITE_LISPDIR%%/psgml/psgml-api.elc
%%EMACS_VERSION_SITE_LISPDIR%%/psgml/psgml-charent.el
%%EMACS_VERSION_SITE_LISPDIR%%/psgml/psgml-charent.elc
%%EMACS_VERSION_SITE_LISPDIR%%/psgml/psgml-dtd.el
%%EMACS_VERSION_SITE_LISPDIR%%/psgml/psgml-dtd.elc
%%EMACS_VERSION_SITE_LISPDIR%%/psgml/psgml-edit.el
%%EMACS_VERSION_SITE_LISPDIR%%/psgml/psgml-edit.elc
%%EMACS_VERSION_SITE_LISPDIR%%/psgml/psgml-ids.el
%%EMACS_VERSION_SITE_LISPDIR%%/psgml/psgml-ids.elc
%%EMACS_VERSION_SITE_LISPDIR%%/psgml/psgml-info.el
%%EMACS_VERSION_SITE_LISPDIR%%/psgml/psgml-info.elc
%%NON_XEMACS%%%%EMACS_VERSION_SITE_LISPDIR%%/psgml/psgml-other.el
%%NON_XEMACS%%%%EMACS_VERSION_SITE_LISPDIR%%/psgml/psgml-other.elc
%%XEMACS%%%%EMACS_VERSION_SITE_LISPDIR%%/psgml/psgml-lucid.el
%%XEMACS%%%%EMACS_VERSION_SITE_LISPDIR%%/psgml/psgml-lucid.elc
%%EMACS_VERSION_SITE_LISPDIR%%/psgml/psgml-parse.el
%%EMACS_VERSION_SITE_LISPDIR%%/psgml/psgml-parse.elc
%%EMACS_VERSION_SITE_LISPDIR%%/psgml/psgml-sysdep.el
%%EMACS_VERSION_SITE_LISPDIR%%/psgml/psgml-sysdep.elc
%%EMACS_VERSION_SITE_LISPDIR%%/psgml/psgml.el
%%EMACS_VERSION_SITE_LISPDIR%%/psgml/psgml.elc
%%EMACS_VERSION_SITE_LISPDIR%%/%%PSGML_STARTUPEL%%
@dirrm %%EMACS_VERSION_SITE_LISPDIR%%/psgml

View file

@ -1,12 +0,0 @@
#!/bin/sh
for i in ${TARGETS}
do
if [ -f ${WRKDIR}/${i}.in ]; then
cat ${WRKDIR}/${i}.in | ${SED} \
-e "s;@@PREFIX@@;${PREFIX};g" \
-e "s;@@EMACS_LIBDIR@@;${EMACS_LIBDIR};g" \
-e "s;@@EMACS_VER@@;${EMACS_VER};g" \
> ${WRKDIR}/${i}
fi
done