xml2tsv-git: Import xml2tsv-git as wip/xml2tsv-git
xml2tsv is a simple xml-to-tsv converter written in C and based on the xmlparser library by Hiltjo Posthuma. The filter reads an XML file from stdin and writes a tab-separated-values file on stdout.
This commit is contained in:
parent
41b63a90de
commit
61e32116be
1
Makefile
1
Makefile
|
@ -5039,6 +5039,7 @@ SUBDIR+= xmakemol
|
|||
SUBDIR+= xmds
|
||||
SUBDIR+= xmim
|
||||
SUBDIR+= xml-light
|
||||
SUBDIR+= xml2tsv-git
|
||||
SUBDIR+= xmlformat-docs
|
||||
SUBDIR+= xmlformat-perl
|
||||
SUBDIR+= xmlformat-ruby
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
xml2tsv is a simple xml-to-tsv converter written in C and based on the
|
||||
xmlparser library by Hiltjo Posthuma.
|
||||
|
||||
The filter reads an XML file from stdin and writes a
|
||||
tab-separated-values file on stdout.
|
|
@ -0,0 +1,28 @@
|
|||
# $NetBSD: Makefile,v 1.2 2018/09/08 14:10:52 leot Exp $
|
||||
|
||||
DISTNAME= xml2tsv-0.1
|
||||
CATEGORIES= textproc
|
||||
MASTER_SITES= http://git.katolaz.net/xml2tsv/
|
||||
|
||||
MAINTAINER= leot@NetBSD.org
|
||||
HOMEPAGE= http://git.katolaz.net/xml2tsv/
|
||||
COMMENT= Simple xml-to-tsv converter, based on xmlparser
|
||||
LICENSE= isc
|
||||
|
||||
GIT_REPOSITORIES= xml2tsv
|
||||
GIT_REPO.xml2tsv= git://git.katolaz.net/xml2tsv/
|
||||
WRKSRC= ${WRKDIR}/xml2tsv
|
||||
|
||||
USE_LANGUAGES= c99
|
||||
|
||||
MAKE_FLAGS+= PREFIX=${PREFIX:Q}
|
||||
MAKE_FLAGS+= CFLAGS=${CFLAGS:Q}
|
||||
MAKE_FLAGS+= LDFLAGS=${LDFLAGS:Q}
|
||||
MAKE_FLAGS+= CC=${CC:Q}
|
||||
|
||||
post-install:
|
||||
${INSTALL_MAN_DIR} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
|
||||
${INSTALL_MAN} ${WRKSRC}/xml2tsv.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
|
||||
|
||||
.include "../../wip/mk/git-package.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
|
@ -0,0 +1,3 @@
|
|||
@comment $NetBSD$
|
||||
bin/xml2tsv
|
||||
man/man1/xml2tsv.1
|
Loading…
Reference in New Issue