resurrect the xmlwf command in case something needs it.

This commit is contained in:
espie 2007-10-23 15:33:39 +00:00
parent 2a14c90ad8
commit 5bad752b2a
5 changed files with 60 additions and 0 deletions

31
textproc/xmlwf/Makefile Normal file
View File

@ -0,0 +1,31 @@
# $OpenBSD: Makefile,v 1.1.1.1 2007/10/23 15:33:39 espie Exp $
COMMENT= verifies XML documents
V= 2.0.1
PKGNAME= xmlwf-$V
DISTNAME= expat-$V
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=expat/}
HOMEPAGE= http://expat.sourceforge.net/
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WRKSRC= ${WRKDIR}/expat-$V/xmlwf
WANTLIB= c expat
NO_REGRESS= Yes
do-configure:
ln -s ${FILESDIR}/Makefile ${WRKSRC}/Makefile
post-install:
${INSTALL_MAN} ${WRKSRC}/../doc/xmlwf.1 ${PREFIX}/man/man1
.include <bsd.port.mk>

5
textproc/xmlwf/distinfo Normal file
View File

@ -0,0 +1,5 @@
MD5 (expat-2.0.1.tar.gz) = 7otJJZJWiAVZP4H4zfKgTA==
RMD160 (expat-2.0.1.tar.gz) = 0xvLFSra/541iWi+HqkB4bTtOy8=
SHA1 (expat-2.0.1.tar.gz) = ZjVIw3uZYILbHy8sMq8GDXqhXC0=
SHA256 (expat-2.0.1.tar.gz) = hHZgtN+G5wfJFQ4zzYwlvFzYKPcIx0GOdl4+mDouXpM=
SIZE (expat-2.0.1.tar.gz) = 446456

View File

@ -0,0 +1,13 @@
# $OpenBSD: Makefile,v 1.1.1.1 2007/10/23 15:33:40 espie Exp $
bindir= ${TRUEPREFIX}/bin
OBJS= xmlwf.o xmlfile.o codepage.o unixfilemap.o
xmlwf: ${OBJS}
${CC} ${CFLAGS} -o $@ ${OBJS} -lexpat
all: xmlwf
install:
${BSD_INSTALL_PROGRAM} xmlwf ${DESTDIR}${bindir}
.PHONY: all install

8
textproc/xmlwf/pkg/DESCR Normal file
View File

@ -0,0 +1,8 @@
xmlwf uses the Expat library to determine if an XML document is well-formed.
It is non-validating.
xmlwf is normally distributed with the expat library.
OpenBSD includes expat in base, because it's needed by ports and Xwindows.
xmlwf is not needed for anything in base nor in X.
Hence the separate package.

3
textproc/xmlwf/pkg/PLIST Normal file
View File

@ -0,0 +1,3 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2007/10/23 15:33:40 espie Exp $
bin/xmlwf
@man man/man1/xmlwf.1