converters/xml2c 20151019_1 MidnightBSD
Convert an XML file into C struct/string declarations
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- Last update
- Commit
a05b377b53- License
- bsd2
- Categories
- converters
Description
xml2c reads in an XML file and produces equivalent C source code, suitable for #including in your program. The C version is probably easier deal with in your code. You don't have to read and parse the XML file and then look for the nodes you want; instead you just loop through a bunch of structs. Or maybe you just don't want to distribute extra files with your app, and would rather build them into the executable.
In the other systems
| System | Port | Version |
|---|---|---|
| MidnightBSD | converters/xml2c | 20151019_1 |
| FreeBSD | converters/xml2c | 20151019_3 |
| DragonFly | converters/xml2c | 20151019_2 |
| HardenedBSD | converters/xml2c | 20151019_3 |
| GhostBSD | converters/xml2c | 20151019_3 |
Install
Binary package:
mport install xml2c
From mports:
cd /usr/mports/converters/xml2c && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= xml2c>0:converters/xml2c
Dependencies
No port depends on this one.
Configuration
No options to configure.
- USES
- gnome
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| xml2c_19Oct2015.tar.gz | 6716 | 29129966413119e1a070ac3495368e992eb2f99dda6be9143fd96265a6ac183d |
Master sites 1
- https://acme.com/software/xml2c/