converters/xml2c 20151019_3 FreeBSD
Convert an XML file into C struct/string declarations
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- BSD2CLAUSE
- Categories
- converters
- Package size
- 8.2 KiB, 13.8 KiB installed
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 |
|---|---|---|
| FreeBSD | converters/xml2c | 20151019_3 |
| DragonFly | converters/xml2c | 20151019_2 |
| MidnightBSD | converters/xml2c | 20151019_1 |
| HardenedBSD | converters/xml2c | 20151019_3 |
| GhostBSD | converters/xml2c | 20151019_3 |
Install
Binary package:
pkg install xml2c
From the ports tree:
cd /usr/ports/converters/xml2c/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= xml2c>0:converters/xml2c
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 20151019_3 | 20151019_3 | 20151019_2 | 20151019_3 | 20151019_3 |
| FreeBSD:14:quarterly | 20151019_3 | 20151019_3 | n/a | 20151019_3 | 20151019_3 |
| FreeBSD:15:latest | 20151019_3 | 20151019_3 | n/a | 20151019_3 | 20151019_3 |
| FreeBSD:15:quarterly | 20151019_3 | 20151019_3 | n/a | n/a | n/a |
| FreeBSD:16:latest | 20151019_3 | 20151019_3 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Build dependencies 3
Run dependencies 3
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/
Commit history 0
No commits in the history this site was built from.