pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

xml2tsv-git: Import xml2tsv-git as wip/xml2tsv-git



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Thu Jan 30 18:44:53 2020 +0100
Changeset:	61e32116bef7f8d12106b75097a7068c07e6e04c

Modified Files:
	Makefile
Added Files:
	xml2tsv-git/DESCR
	xml2tsv-git/Makefile
	xml2tsv-git/PLIST

Log Message:
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.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=61e32116bef7f8d12106b75097a7068c07e6e04c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile             |  1 +
 xml2tsv-git/DESCR    |  5 +++++
 xml2tsv-git/Makefile | 28 ++++++++++++++++++++++++++++
 xml2tsv-git/PLIST    |  3 +++
 4 files changed, 37 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 6edd22ad4d..142ed1eabf 100644
--- a/Makefile
+++ b/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
diff --git a/xml2tsv-git/DESCR b/xml2tsv-git/DESCR
new file mode 100644
index 0000000000..3bdfcc62fc
--- /dev/null
+++ b/xml2tsv-git/DESCR
@@ -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.
diff --git a/xml2tsv-git/Makefile b/xml2tsv-git/Makefile
new file mode 100644
index 0000000000..8fca578224
--- /dev/null
+++ b/xml2tsv-git/Makefile
@@ -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@localhost
+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"
diff --git a/xml2tsv-git/PLIST b/xml2tsv-git/PLIST
new file mode 100644
index 0000000000..bf5f5ef1dd
--- /dev/null
+++ b/xml2tsv-git/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD$
+bin/xml2tsv
+man/man1/xml2tsv.1


Home | Main Index | Thread Index | Old Index