From 95c3088ee6b06ecd1a7cd0bb57b554ce8044c728 Mon Sep 17 00:00:00 2001 From: Kurt Jaeger Date: Sun, 13 Dec 2015 08:49:53 +0000 Subject: New port: converters/xml2c xml2c reads in an XML file and produces equivalent C source code, suitable for #including in your program. WWW: http://www.acme.com/software/xml2c/ PR: 204191 Submitted by: Neel Chauhan --- converters/Makefile | 1 + converters/xml2c/Makefile | 26 ++++++++++++++++++++++++++ converters/xml2c/distinfo | 2 ++ converters/xml2c/pkg-descr | 4 ++++ 4 files changed, 33 insertions(+) create mode 100644 converters/xml2c/Makefile create mode 100644 converters/xml2c/distinfo create mode 100644 converters/xml2c/pkg-descr diff --git a/converters/Makefile b/converters/Makefile index cc6b246cd7a5..a859bdfe58b5 100644 --- a/converters/Makefile +++ b/converters/Makefile @@ -168,6 +168,7 @@ SUBDIR += vda2fbd SUBDIR += wkhtmltopdf SUBDIR += xdeview + SUBDIR += xml2c SUBDIR += ytnef SUBDIR += zbase32 diff --git a/converters/xml2c/Makefile b/converters/xml2c/Makefile new file mode 100644 index 000000000000..7633bc833ef2 --- /dev/null +++ b/converters/xml2c/Makefile @@ -0,0 +1,26 @@ +# $FreeBSD$ + +PORTNAME= xml2c +PORTVERSION= 20151019 +CATEGORIES= converters +MASTER_SITES= http://acme.com/software/xml2c/ +DISTNAME= ${PORTNAME}_19Oct2015 + +MAINTAINER= neel@neelc.org +COMMENT= Reads in an XML file and produces equivalent C source code + +LICENSE= BSD2CLAUSE + +USE_GNOME= libxml2 + +WRKSRC= ${WRKDIR}/${PORTNAME} +PLIST_FILES= bin/xml2c man/man1/xml2c.1.gz + +#MAKEFILE= /dev/null +ALL_TARGET= ${PORTNAME} + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/xml2c ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/xml2c.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/xml2c.1 + +.include diff --git a/converters/xml2c/distinfo b/converters/xml2c/distinfo new file mode 100644 index 000000000000..dd080e378cb1 --- /dev/null +++ b/converters/xml2c/distinfo @@ -0,0 +1,2 @@ +SHA256 (xml2c_19Oct2015.tar.gz) = 29129966413119e1a070ac3495368e992eb2f99dda6be9143fd96265a6ac183d +SIZE (xml2c_19Oct2015.tar.gz) = 6716 diff --git a/converters/xml2c/pkg-descr b/converters/xml2c/pkg-descr new file mode 100644 index 000000000000..9c171dbb9deb --- /dev/null +++ b/converters/xml2c/pkg-descr @@ -0,0 +1,4 @@ +xml2c reads in an XML file and produces equivalent C source code, +suitable for #including in your program. + +WWW: http://www.acme.com/software/xml2c/ -- cgit v1.2.3