From fuyuki@mj.0038.net  Sun Feb 17 19:39:42 2002
Return-Path: <fuyuki@mj.0038.net>
Received: from t-mta7.odn.ne.jp (mfep7.odn.ne.jp [143.90.131.185])
	by hub.freebsd.org (Postfix) with ESMTP id 4EE7637B416
	for <freebsd-gnats-submit@freebsd.org>; Sun, 17 Feb 2002 19:39:40 -0800 (PST)
Received: from localhost ([61.201.66.13]) by t-mta7.odn.ne.jp with ESMTP
          id <20020218033938625.OUYK.32433.t-mta7.odn.ne.jp@mta7.odn.ne.jp>;
          Mon, 18 Feb 2002 12:39:38 +0900
Message-Id: <200202180339.g1I3db804431@ns.test>
Date: Mon, 18 Feb 2002 12:39:37 +0900 (JST)
From: Kimura Fuyuki <fuyuki@mj.0038.net>
To: FreeBSD-gnats-submit@freebsd.org
Subject: New port: textproc/xml-lite.el - a simple XML-editing for GNU Emacs
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         35067
>Category:       ports
>Synopsis:       New port: textproc/xml-lite.el - a simple XML-editing for GNU Emacs
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 17 19:40:01 PST 2002
>Closed-Date:    Mon Feb 18 00:42:54 PST 2002
>Last-Modified:  Mon Feb 18 00:47:09 PST 2002
>Originator:     Kimura Fuyuki
>Release:        FreeBSD 4.5-RELEASE i386
>Organization:
>Environment:
System: FreeBSD ns.test 4.5-RELEASE FreeBSD 4.5-RELEASE #5: Thu Jan 31 09:35:44 JST 2002 root@ns.test:/sack/obj/usr/src/sys/NS i386



>Description:
This package provides a simple indentation engine for XML.  It is
intended for use in situations where the full power of the popular
PSGML package (DTD parsing, syntax checking) is not required.

WWW: http://www.bigfoot.com/~mdub/

>How-To-Repeat:

>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	xml-lite.el
#	xml-lite.el/Makefile
#	xml-lite.el/distinfo
#	xml-lite.el/pkg-comment
#	xml-lite.el/pkg-descr
#	xml-lite.el/pkg-message
#	xml-lite.el/pkg-plist
#
echo c - xml-lite.el
mkdir -p xml-lite.el > /dev/null 2>&1
echo x - xml-lite.el/Makefile
sed 's/^X//' >xml-lite.el/Makefile << 'END-of-xml-lite.el/Makefile'
X# New ports collection makefile for:   xml-lite.el
X# Date created:                18 February 2002
X# Whom:                        Kimura Fuyuki <fuyuki@mj.0038.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	xml-lite.el
XPORTVERSION=	1.24
XCATEGORIES=	textproc elisp
XMASTER_SITES=	http://members.ozemail.com.au/~mdub/software/
XDISTNAME=	${PORTNAME}
XEXTRACT_SUFX=	# empty
XEXTRACT_ONLY=	# empty
X
XMAINTAINER=	fuyuki@mj.0038.net
X
XEMACS_PORT_NAME?=	emacs21
XEMACS_NO_BUILD_DEPENDS=	YES
X
XNO_BUILD=	yes
XNO_WRKSUBDIR=	yes
X
XLISPDIR=	${EMACS_VERSION_SITE_LISPDIR}
X
Xdo-install:
X	${INSTALL_DATA} ${DISTDIR}/${DISTNAME} ${PREFIX}/${LISPDIR}
X
Xpost-install:
X	@${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.mk>
END-of-xml-lite.el/Makefile
echo x - xml-lite.el/distinfo
sed 's/^X//' >xml-lite.el/distinfo << 'END-of-xml-lite.el/distinfo'
XMD5 (xml-lite.el) = e27039158cd4ab27c99f7f0b9cf1b347
END-of-xml-lite.el/distinfo
echo x - xml-lite.el/pkg-comment
sed 's/^X//' >xml-lite.el/pkg-comment << 'END-of-xml-lite.el/pkg-comment'
XA simple XML-editing for GNU Emacs
END-of-xml-lite.el/pkg-comment
echo x - xml-lite.el/pkg-descr
sed 's/^X//' >xml-lite.el/pkg-descr << 'END-of-xml-lite.el/pkg-descr'
XThis package provides a simple indentation engine for XML.  It is
Xintended for use in situations where the full power of the popular
XPSGML package (DTD parsing, syntax checking) is not required.
X
XWWW: http://www.bigfoot.com/~mdub/
X
X- Kimura Fuyuki
Xfuyuki@mj.0038.net
END-of-xml-lite.el/pkg-descr
echo x - xml-lite.el/pkg-message
sed 's/^X//' >xml-lite.el/pkg-message << 'END-of-xml-lite.el/pkg-message'
XTo use xml-lite-mode, add to your ~/.emacs the following lines:
X
X(autoload 'xml-lite-mode "xml-lite" "XML-Lite mode" t)
X(add-to-list 'auto-mode-alist '("\\.xml\\'" . xml-lite-mode))
END-of-xml-lite.el/pkg-message
echo x - xml-lite.el/pkg-plist
sed 's/^X//' >xml-lite.el/pkg-plist << 'END-of-xml-lite.el/pkg-plist'
X%%EMACS_VERSION_SITE_LISPDIR%%/xml-lite.el
END-of-xml-lite.el/pkg-plist
exit


>Release-Note:
>Audit-Trail:

From: Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
To: Kimura Fuyuki <fuyuki@mj.0038.net>
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: Re: ports/35067: New port: textproc/xml-lite.el - a simple XML-editing for GNU Emacs
Date: Mon, 18 Feb 2002 17:20:53 +0900

 Hi. Kimura-san,
 Does xml-lite.el works with emacs-20? If so, it seems
 better to place one where emacs-20.7 can also find it.
 How do you think about following patch?
 
 Best Regards,
 --
 Yoichi
 
 diff -u xml-lite.el.orig/Makefile xml-lite.el/Makefile
 --- xml-lite.el.orig/Makefile	Mon Feb 18 17:11:18 2002
 +++ xml-lite.el/Makefile	Mon Feb 18 17:10:39 2002
 @@ -17,13 +17,15 @@
  
  EMACS_PORT_NAME?=	emacs21
  EMACS_NO_BUILD_DEPENDS=	YES
 +EMACS_NO_RUN_DEPENDS=	YES
  
  NO_BUILD=	yes
  NO_WRKSUBDIR=	yes
  
 -LISPDIR=	${EMACS_VERSION_SITE_LISPDIR}
 +LISPDIR=	${EMACS_SITE_LISPDIR}
  
  do-install:
 +	${MKDIR} ${PREFIX}/${LISPDIR}
  	${INSTALL_DATA} ${DISTDIR}/${DISTNAME} ${PREFIX}/${LISPDIR}
  
  post-install:
 diff -u xml-lite.el.orig/pkg-plist xml-lite.el/pkg-plist
 --- xml-lite.el.orig/pkg-plist	Mon Feb 18 17:11:18 2002
 +++ xml-lite.el/pkg-plist	Mon Feb 18 17:10:51 2002
 @@ -1 +1 @@
 -%%EMACS_VERSION_SITE_LISPDIR%%/xml-lite.el
 +%%EMACS_SITE_LISPDIR%%/xml-lite.el
State-Changed-From-To: open->closed 
State-Changed-By: yoichi 
State-Changed-When: Mon Feb 18 00:42:54 PST 2002 
State-Changed-Why:  
I've noticed it uses functions appear in emacs-21.1. 
So committed original one (yours), thanks! 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=35067 
>Unformatted:
