[136206] trunk/dports/devel/cableswig/Portfile
larryv at macports.org
larryv at macports.org
Mon May 11 16:48:19 PDT 2015
Revision: 136206
https://trac.macports.org/changeset/136206
Author: larryv at macports.org
Date: 2015-05-11 16:48:18 -0700 (Mon, 11 May 2015)
Log Message:
-----------
cableswig: Revise long_description
Modified Paths:
--------------
trunk/dports/devel/cableswig/Portfile
Modified: trunk/dports/devel/cableswig/Portfile
===================================================================
--- trunk/dports/devel/cableswig/Portfile 2015-05-11 23:48:16 UTC (rev 136205)
+++ trunk/dports/devel/cableswig/Portfile 2015-05-11 23:48:18 UTC (rev 136206)
@@ -12,48 +12,23 @@
platforms darwin
maintainers nomaintainer
-description CableSwig creates interfaces to interpreted \
- languages such as Tcl and Python.
+description Create wrappers to interpreted languages
long_description CableSwig is used to create interfaces (i.e. \
- wrappers) to interpreted languages such as Tcl and \
- Python. It was created to produce wrappers for ITK \
- because the toolkit uses C++ structures that SWIG \
- cannot parse (deeply nested template \
+ 'wrappers') to interpreted languages such as Tcl \
+ and Python. It was created to produce wrappers for \
+ ITK because the toolkit uses C++ structures that \
+ SWIG cannot parse (deeply nested template \
instantiations). CableSwig is a combination tool \
that uses GCC_XML as the C++ parser. The input \
- files are Cable style input files. The XML \
+ files are Cable style input files. The XML \
produced from the Cable/GCC_XML input files are \
then parsed and fed into a modified version of \
SWIG. SWIG is a software development tool that \
connects programs written in C and C++ with \
a variety of high-level programming languages. It \
is used to generate the language bindings to the \
- target language. Currently, Tcl and Python are \
- supported. CableSwig consists of four executables: \
- 1) cswig - the main cable swig executable, that \
- takes an xml file from gccxml as input. The xml \
- file should be created from a cable config input \
- file. This program is a modified version of the \
- standard SWIG main. It uses CABLE libraries to \
- parse the input XML from gccxml to create SWIG \
- data structures describing the C++ code to be \
- wrapped. 2) cableidx - a program to generate \
- index files from gccxml xml files. The index files \
- tell cswig what classes are wrapped in which \
- libraries. This is important because swig needs \
- to know if a class is not wrapped or wrapped \
- in another module, and if it is wrapped which module \
- it is wrapped in. 3) gccxml_cc1plus - A patched \
- version of gcc that has the -fxml option to convert \
- c++ into xml. 4) gccxml - ( www.gccxml.org) the \
- front end program to gccxml_cc1plus. CableSwig was \
- developed to support ITK, and has not been widely \
- used elsewhere. Not all features of SWIG are \
- currently accessible through CableSwig. Features \
- known to be missing are: * Wrapping of public data \
- members in structs and classes, no accessor routines \
- are created, the original source must provide access \
- methods.
+ target language. Currently, Tcl and Python are \
+ supported.
homepage http://www.itk.org/ITK/resources/CableSwig.html
depends_build port:bison \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150511/590f587b/attachment.html>
More information about the macports-changes
mailing list