aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKurt Jaeger <pi@FreeBSD.org>2015-12-13 08:49:53 +0000
committerKurt Jaeger <pi@FreeBSD.org>2015-12-13 08:49:53 +0000
commit95c3088ee6b06ecd1a7cd0bb57b554ce8044c728 (patch)
treeef9d1b994f31fd0f011ad5b4a2e29612f4e46b95
parent9a092f9ffa3777bc59aeabfcfdb1d6420af10425 (diff)
downloadports-95c3088ee6b06ecd1a7cd0bb57b554ce8044c728.tar.gz
ports-95c3088ee6b06ecd1a7cd0bb57b554ce8044c728.zip
Notes
-rw-r--r--converters/Makefile1
-rw-r--r--converters/xml2c/Makefile26
-rw-r--r--converters/xml2c/distinfo2
-rw-r--r--converters/xml2c/pkg-descr4
4 files changed, 33 insertions, 0 deletions
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 <bsd.port.mk>
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/