f484b5cb28
- Get rid of most of our patches: all the build fix patches are now unneeded, and the only ones we still have in files/ are there to either rename the xsd binary or install files into the right locations. - Get rid of most bundled dependencies: use devel/build instead of the bundled copy, and libcutl via devel/libcutl. The only exception is libxsd-frontend, simply because its upstream is too horrible: it does not even contain a `make install' target. - Expand the LICENSE part: the port is GPLv2-licensed, but also contains exceptions to allow its use with most free software licenses. - Set CPPFLAGS, not CXXFLAGS, as the former's where we normally pass additional include paths.
78 lines
2.3 KiB
Groff
78 lines
2.3 KiB
Groff
Rename the xsd binary to xsdcxx, as lang/mono already installs an executable
|
|
called `xsd'.
|
|
--- xsd/doc/xsd.1.orig 2014-07-21 06:38:41 UTC
|
|
+++ xsd/doc/xsd.1
|
|
@@ -1,16 +1,16 @@
|
|
.\" Process this file with
|
|
.\" groff -man -Tascii xsd.1
|
|
.\"
|
|
-.TH XSD 1 "July 2014" "XSD 4.0.0"
|
|
+.TH XSDCXX 1 "July 2014" "XSDCXX 4.0.0"
|
|
.SH NAME
|
|
-xsd \- W3C XML Schema to C++ Compiler
|
|
+xsdcxx \- W3C XML Schema to C++ Compiler
|
|
.\"
|
|
.\"
|
|
.\"
|
|
.\"--------------------------------------------------------------------
|
|
.SH SYNOPSIS
|
|
.\"--------------------------------------------------------------------
|
|
-.B xsd
|
|
+.B xsdcxx
|
|
.I command
|
|
.B [
|
|
.I options
|
|
@@ -20,19 +20,19 @@ xsd \- W3C XML Schema to C++ Compiler
|
|
.I file
|
|
.B ...]
|
|
.in
|
|
-.B xsd help
|
|
+.B xsdcxx help
|
|
.B [
|
|
.I command
|
|
.B ]
|
|
.in
|
|
-.B xsd version
|
|
+.B xsdcxx version
|
|
.\"
|
|
.\"
|
|
.\"
|
|
.\"--------------------------------------------------------------------
|
|
.SH DESCRIPTION
|
|
.\"--------------------------------------------------------------------
|
|
-.B xsd
|
|
+.B xsdcxx
|
|
generates vocabulary-specific, statically-typed C++ mapping from W3C XML
|
|
Schema definitions. Particular mapping to produce is selected by a
|
|
.IR command .
|
|
@@ -96,7 +96,7 @@ Print usage information and exit. Use
|
|
.PP
|
|
.RS
|
|
.RS 3
|
|
-.B xsd help
|
|
+.B xsdcxx help
|
|
.I command
|
|
.RE
|
|
.PP
|
|
@@ -133,9 +133,9 @@ semantics and uses \fBstd::unique_ptr\fP
|
|
|
|
When the C++11 mode is selected, you normally don't need to perform any
|
|
extra steps other than enable C++11 in your C++ compiler, if required\. The
|
|
-XSD compiler will automatically add the necessary macro defines to the
|
|
-generated header files that will switch the header-only XSD runtime library
|
|
-(\fBlibxsd\fP) to the C++11 mode\. However, if you include any of the XSD
|
|
+XSDCXX compiler will automatically add the necessary macro defines to the
|
|
+generated header files that will switch the header-only XSDCXX runtime library
|
|
+(\fBlibxsd\fP) to the C++11 mode\. However, if you include any of the XSDCXX
|
|
runtime headers directly in your application (normally you just include the
|
|
generated headers), then you will need to define the \fBXSD_CXX11\fP macro
|
|
for your entire project\.
|
|
@@ -1632,7 +1632,7 @@ option. With this approach you don't nee
|
|
.\"
|
|
.SH DIAGNOSTICS
|
|
If the input file is not a valid W3C XML Schema definition,
|
|
-.B xsd
|
|
+.B xsdcxx
|
|
will issue diagnostic messages to
|
|
.B STDERR
|
|
and exit with non-zero exit code.
|