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 <neel@neelc.org>
This commit is contained in:
Kurt Jaeger 2015-12-13 08:49:53 +00:00
parent 9a092f9ffa
commit 95c3088ee6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=403658
4 changed files with 33 additions and 0 deletions

View file

@ -168,6 +168,7 @@
SUBDIR += vda2fbd
SUBDIR += wkhtmltopdf
SUBDIR += xdeview
SUBDIR += xml2c
SUBDIR += ytnef
SUBDIR += zbase32

26
converters/xml2c/Makefile Normal file
View file

@ -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 <bsd.port.mk>

View file

@ -0,0 +1,2 @@
SHA256 (xml2c_19Oct2015.tar.gz) = 29129966413119e1a070ac3495368e992eb2f99dda6be9143fd96265a6ac183d
SIZE (xml2c_19Oct2015.tar.gz) = 6716

View file

@ -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/