import ports/devel/tclap, feedback kirby@, feedback/ok dcoppa@

TCLAP is a small, flexible library that provides a simple interface
for defining and accessing command line arguments. It was initially
inspired by the user friendly CLAP libary. The difference is that
this library is templatized, so the argument class is type independent.
Type independence avoids identical-except-for-type objects, such
as IntArg, FloatArg, and StringArg. While the library is not strictly
compliant with the GNU or POSIX standards, it is close.

TCLAP is written in ANSI C++ and is meant to be compatible with any
standards-compliant C++ compiler. It is known to work on Linux,
MacOS X, Windows, and Solaris platforms. The library is implemented
entirely in header files making it easy to use and distribute with
other software. It is licensed under the MIT License for worry free
distribution.
This commit is contained in:
sthen 2012-10-10 11:38:17 +00:00
parent 3329866379
commit 2ef6851151
4 changed files with 311 additions and 0 deletions

28
devel/tclap/Makefile Normal file
View File

@ -0,0 +1,28 @@
# $OpenBSD: Makefile,v 1.1.1.1 2012/10/10 11:38:17 sthen Exp $
COMMENT= templatized C++ command line parser
DISTNAME= tclap-1.2.1
CATEGORIES= devel
HOMEPAGE= http://tclap.sourceforge.net/
# MIT
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tclap/}
# tclap is implemented using only header files
PKG_ARCH= *
BUILD_DEPENDS= devel/doxygen \
math/graphviz
SEPARATE_BUILD= Yes
CONFIGURE_STYLE= gnu
.include <bsd.port.mk>

2
devel/tclap/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (tclap-1.2.1.tar.gz) = n58P43GeionXm2yjDPLRZiD7o9tblhD5tR3SzQM97rs=
SIZE (tclap-1.2.1.tar.gz) = 442387

14
devel/tclap/pkg/DESCR Normal file
View File

@ -0,0 +1,14 @@
TCLAP is a small, flexible library that provides a simple interface
for defining and accessing command line arguments. It was initially
inspired by the user friendly CLAP libary. The difference is that
this library is templatized, so the argument class is type independent.
Type independence avoids identical-except-for-type objects, such
as IntArg, FloatArg, and StringArg. While the library is not strictly
compliant with the GNU or POSIX standards, it is close.
TCLAP is written in ANSI C++ and is meant to be compatible with any
standards-compliant C++ compiler. It is known to work on Linux,
MacOS X, Windows, and Solaris platforms. The library is implemented
entirely in header files making it easy to use and distribute with
other software. It is licensed under the MIT License for worry free
distribution.

267
devel/tclap/pkg/PLIST Normal file
View File

@ -0,0 +1,267 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2012/10/10 11:38:17 sthen Exp $
include/tclap/
include/tclap/Arg.h
include/tclap/ArgException.h
include/tclap/ArgTraits.h
include/tclap/CmdLine.h
include/tclap/CmdLineInterface.h
include/tclap/CmdLineOutput.h
include/tclap/Constraint.h
include/tclap/DocBookOutput.h
include/tclap/HelpVisitor.h
include/tclap/IgnoreRestVisitor.h
include/tclap/MultiArg.h
include/tclap/MultiSwitchArg.h
include/tclap/OptionalUnlabeledTracker.h
include/tclap/StandardTraits.h
include/tclap/StdOutput.h
include/tclap/SwitchArg.h
include/tclap/UnlabeledMultiArg.h
include/tclap/UnlabeledValueArg.h
include/tclap/ValueArg.h
include/tclap/ValuesConstraint.h
include/tclap/VersionVisitor.h
include/tclap/Visitor.h
include/tclap/XorHandler.h
include/tclap/ZshCompletionOutput.h
lib/pkgconfig/
lib/pkgconfig/tclap.pc
share/doc/tclap/
share/doc/tclap/html/
share/doc/tclap/html/ArgException_8h.html
share/doc/tclap/html/ArgException_8h_source.html
share/doc/tclap/html/ArgTraits_8h.html
share/doc/tclap/html/ArgTraits_8h_source.html
share/doc/tclap/html/Arg_8h.html
share/doc/tclap/html/Arg_8h_source.html
share/doc/tclap/html/CVS/
share/doc/tclap/html/CVS/Entries
share/doc/tclap/html/CVS/Repository
share/doc/tclap/html/CVS/Root
share/doc/tclap/html/CmdLineInterface_8h.html
share/doc/tclap/html/CmdLineInterface_8h_source.html
share/doc/tclap/html/CmdLineOutput_8h.html
share/doc/tclap/html/CmdLineOutput_8h_source.html
share/doc/tclap/html/CmdLine_8h.html
share/doc/tclap/html/CmdLine_8h_source.html
share/doc/tclap/html/Constraint_8h.html
share/doc/tclap/html/Constraint_8h_source.html
share/doc/tclap/html/DocBookOutput_8h.html
share/doc/tclap/html/DocBookOutput_8h_source.html
share/doc/tclap/html/HelpVisitor_8h.html
share/doc/tclap/html/HelpVisitor_8h_source.html
share/doc/tclap/html/IgnoreRestVisitor_8h.html
share/doc/tclap/html/IgnoreRestVisitor_8h_source.html
share/doc/tclap/html/MultiArg_8h.html
share/doc/tclap/html/MultiArg_8h_source.html
share/doc/tclap/html/MultiSwitchArg_8h.html
share/doc/tclap/html/MultiSwitchArg_8h_source.html
share/doc/tclap/html/OptionalUnlabeledTracker_8h.html
share/doc/tclap/html/OptionalUnlabeledTracker_8h_source.html
share/doc/tclap/html/StandardTraits_8h.html
share/doc/tclap/html/StandardTraits_8h_source.html
share/doc/tclap/html/StdOutput_8h.html
share/doc/tclap/html/StdOutput_8h_source.html
share/doc/tclap/html/SwitchArg_8h.html
share/doc/tclap/html/SwitchArg_8h_source.html
share/doc/tclap/html/UnlabeledMultiArg_8h.html
share/doc/tclap/html/UnlabeledMultiArg_8h_source.html
share/doc/tclap/html/UnlabeledValueArg_8h.html
share/doc/tclap/html/UnlabeledValueArg_8h_source.html
share/doc/tclap/html/ValueArg_8h.html
share/doc/tclap/html/ValueArg_8h_source.html
share/doc/tclap/html/ValuesConstraint_8h.html
share/doc/tclap/html/ValuesConstraint_8h_source.html
share/doc/tclap/html/VersionVisitor_8h.html
share/doc/tclap/html/VersionVisitor_8h_source.html
share/doc/tclap/html/Visitor_8h.html
share/doc/tclap/html/Visitor_8h_source.html
share/doc/tclap/html/XorHandler_8h.html
share/doc/tclap/html/XorHandler_8h_source.html
share/doc/tclap/html/ZshCompletionOutput_8h.html
share/doc/tclap/html/ZshCompletionOutput_8h_source.html
share/doc/tclap/html/annotated.html
share/doc/tclap/html/classTCLAP_1_1Arg-members.html
share/doc/tclap/html/classTCLAP_1_1Arg.gif
share/doc/tclap/html/classTCLAP_1_1Arg.html
share/doc/tclap/html/classTCLAP_1_1ArgException-members.html
share/doc/tclap/html/classTCLAP_1_1ArgException.gif
share/doc/tclap/html/classTCLAP_1_1ArgException.html
share/doc/tclap/html/classTCLAP_1_1ArgParseException-members.html
share/doc/tclap/html/classTCLAP_1_1ArgParseException.gif
share/doc/tclap/html/classTCLAP_1_1ArgParseException.html
share/doc/tclap/html/classTCLAP_1_1CmdLine-members.html
share/doc/tclap/html/classTCLAP_1_1CmdLine.gif
share/doc/tclap/html/classTCLAP_1_1CmdLine.html
share/doc/tclap/html/classTCLAP_1_1CmdLineInterface-members.html
share/doc/tclap/html/classTCLAP_1_1CmdLineInterface.gif
share/doc/tclap/html/classTCLAP_1_1CmdLineInterface.html
share/doc/tclap/html/classTCLAP_1_1CmdLineOutput-members.html
share/doc/tclap/html/classTCLAP_1_1CmdLineOutput.gif
share/doc/tclap/html/classTCLAP_1_1CmdLineOutput.html
share/doc/tclap/html/classTCLAP_1_1CmdLineParseException-members.html
share/doc/tclap/html/classTCLAP_1_1CmdLineParseException.gif
share/doc/tclap/html/classTCLAP_1_1CmdLineParseException.html
share/doc/tclap/html/classTCLAP_1_1Constraint-members.html
share/doc/tclap/html/classTCLAP_1_1Constraint.gif
share/doc/tclap/html/classTCLAP_1_1Constraint.html
share/doc/tclap/html/classTCLAP_1_1DocBookOutput-members.html
share/doc/tclap/html/classTCLAP_1_1DocBookOutput.gif
share/doc/tclap/html/classTCLAP_1_1DocBookOutput.html
share/doc/tclap/html/classTCLAP_1_1ExitException-members.html
share/doc/tclap/html/classTCLAP_1_1ExitException.html
share/doc/tclap/html/classTCLAP_1_1HelpVisitor-members.html
share/doc/tclap/html/classTCLAP_1_1HelpVisitor.gif
share/doc/tclap/html/classTCLAP_1_1HelpVisitor.html
share/doc/tclap/html/classTCLAP_1_1IgnoreRestVisitor-members.html
share/doc/tclap/html/classTCLAP_1_1IgnoreRestVisitor.gif
share/doc/tclap/html/classTCLAP_1_1IgnoreRestVisitor.html
share/doc/tclap/html/classTCLAP_1_1MultiArg-members.html
share/doc/tclap/html/classTCLAP_1_1MultiArg.gif
share/doc/tclap/html/classTCLAP_1_1MultiArg.html
share/doc/tclap/html/classTCLAP_1_1MultiSwitchArg-members.html
share/doc/tclap/html/classTCLAP_1_1MultiSwitchArg.gif
share/doc/tclap/html/classTCLAP_1_1MultiSwitchArg.html
share/doc/tclap/html/classTCLAP_1_1OptionalUnlabeledTracker-members.html
share/doc/tclap/html/classTCLAP_1_1OptionalUnlabeledTracker.html
share/doc/tclap/html/classTCLAP_1_1SpecificationException-members.html
share/doc/tclap/html/classTCLAP_1_1SpecificationException.gif
share/doc/tclap/html/classTCLAP_1_1SpecificationException.html
share/doc/tclap/html/classTCLAP_1_1StdOutput-members.html
share/doc/tclap/html/classTCLAP_1_1StdOutput.gif
share/doc/tclap/html/classTCLAP_1_1StdOutput.html
share/doc/tclap/html/classTCLAP_1_1SwitchArg-members.html
share/doc/tclap/html/classTCLAP_1_1SwitchArg.gif
share/doc/tclap/html/classTCLAP_1_1SwitchArg.html
share/doc/tclap/html/classTCLAP_1_1UnlabeledMultiArg-members.html
share/doc/tclap/html/classTCLAP_1_1UnlabeledMultiArg.gif
share/doc/tclap/html/classTCLAP_1_1UnlabeledMultiArg.html
share/doc/tclap/html/classTCLAP_1_1UnlabeledValueArg-members.html
share/doc/tclap/html/classTCLAP_1_1UnlabeledValueArg.gif
share/doc/tclap/html/classTCLAP_1_1UnlabeledValueArg.html
share/doc/tclap/html/classTCLAP_1_1ValueArg-members.html
share/doc/tclap/html/classTCLAP_1_1ValueArg.gif
share/doc/tclap/html/classTCLAP_1_1ValueArg.html
share/doc/tclap/html/classTCLAP_1_1ValuesConstraint-members.html
share/doc/tclap/html/classTCLAP_1_1ValuesConstraint.gif
share/doc/tclap/html/classTCLAP_1_1ValuesConstraint.html
share/doc/tclap/html/classTCLAP_1_1VersionVisitor-members.html
share/doc/tclap/html/classTCLAP_1_1VersionVisitor.gif
share/doc/tclap/html/classTCLAP_1_1VersionVisitor.html
share/doc/tclap/html/classTCLAP_1_1Visitor-members.html
share/doc/tclap/html/classTCLAP_1_1Visitor.gif
share/doc/tclap/html/classTCLAP_1_1Visitor.html
share/doc/tclap/html/classTCLAP_1_1XorHandler-members.html
share/doc/tclap/html/classTCLAP_1_1XorHandler.html
share/doc/tclap/html/classTCLAP_1_1ZshCompletionOutput-members.html
share/doc/tclap/html/classTCLAP_1_1ZshCompletionOutput.gif
share/doc/tclap/html/classTCLAP_1_1ZshCompletionOutput.html
share/doc/tclap/html/classes.html
share/doc/tclap/html/doxygen.css
share/doc/tclap/html/doxygen.png
share/doc/tclap/html/files.html
share/doc/tclap/html/functions.html
share/doc/tclap/html/functions_0x61.html
share/doc/tclap/html/functions_0x62.html
share/doc/tclap/html/functions_0x63.html
share/doc/tclap/html/functions_0x64.html
share/doc/tclap/html/functions_0x65.html
share/doc/tclap/html/functions_0x66.html
share/doc/tclap/html/functions_0x67.html
share/doc/tclap/html/functions_0x68.html
share/doc/tclap/html/functions_0x69.html
share/doc/tclap/html/functions_0x6c.html
share/doc/tclap/html/functions_0x6d.html
share/doc/tclap/html/functions_0x6e.html
share/doc/tclap/html/functions_0x6f.html
share/doc/tclap/html/functions_0x70.html
share/doc/tclap/html/functions_0x71.html
share/doc/tclap/html/functions_0x72.html
share/doc/tclap/html/functions_0x73.html
share/doc/tclap/html/functions_0x74.html
share/doc/tclap/html/functions_0x75.html
share/doc/tclap/html/functions_0x76.html
share/doc/tclap/html/functions_0x77.html
share/doc/tclap/html/functions_0x78.html
share/doc/tclap/html/functions_0x7a.html
share/doc/tclap/html/functions_0x7e.html
share/doc/tclap/html/functions_func.html
share/doc/tclap/html/functions_func_0x61.html
share/doc/tclap/html/functions_func_0x62.html
share/doc/tclap/html/functions_func_0x63.html
share/doc/tclap/html/functions_func_0x64.html
share/doc/tclap/html/functions_func_0x65.html
share/doc/tclap/html/functions_func_0x66.html
share/doc/tclap/html/functions_func_0x67.html
share/doc/tclap/html/functions_func_0x68.html
share/doc/tclap/html/functions_func_0x69.html
share/doc/tclap/html/functions_func_0x6c.html
share/doc/tclap/html/functions_func_0x6d.html
share/doc/tclap/html/functions_func_0x6e.html
share/doc/tclap/html/functions_func_0x6f.html
share/doc/tclap/html/functions_func_0x70.html
share/doc/tclap/html/functions_func_0x71.html
share/doc/tclap/html/functions_func_0x72.html
share/doc/tclap/html/functions_func_0x73.html
share/doc/tclap/html/functions_func_0x74.html
share/doc/tclap/html/functions_func_0x75.html
share/doc/tclap/html/functions_func_0x76.html
share/doc/tclap/html/functions_func_0x77.html
share/doc/tclap/html/functions_func_0x78.html
share/doc/tclap/html/functions_func_0x7a.html
share/doc/tclap/html/functions_func_0x7e.html
share/doc/tclap/html/functions_type.html
share/doc/tclap/html/functions_vars.html
share/doc/tclap/html/globals.html
share/doc/tclap/html/globals_defs.html
share/doc/tclap/html/globals_type.html
share/doc/tclap/html/hierarchy.html
share/doc/tclap/html/index.html
share/doc/tclap/html/namespaceTCLAP.html
share/doc/tclap/html/namespacemembers.html
share/doc/tclap/html/namespacemembers_func.html
share/doc/tclap/html/namespacemembers_type.html
share/doc/tclap/html/namespaces.html
share/doc/tclap/html/structTCLAP_1_1ArgTraits-members.html
share/doc/tclap/html/structTCLAP_1_1ArgTraits.html
share/doc/tclap/html/structTCLAP_1_1ArgTraits_3_01bool_01_4-members.html
share/doc/tclap/html/structTCLAP_1_1ArgTraits_3_01bool_01_4.html
share/doc/tclap/html/structTCLAP_1_1ArgTraits_3_01char_01_4-members.html
share/doc/tclap/html/structTCLAP_1_1ArgTraits_3_01char_01_4.html
share/doc/tclap/html/structTCLAP_1_1ArgTraits_3_01double_01_4-members.html
share/doc/tclap/html/structTCLAP_1_1ArgTraits_3_01double_01_4.html
share/doc/tclap/html/structTCLAP_1_1ArgTraits_3_01float_01_4-members.html
share/doc/tclap/html/structTCLAP_1_1ArgTraits_3_01float_01_4.html
share/doc/tclap/html/structTCLAP_1_1ArgTraits_3_01int_01_4-members.html
share/doc/tclap/html/structTCLAP_1_1ArgTraits_3_01int_01_4.html
share/doc/tclap/html/structTCLAP_1_1ArgTraits_3_01long_01_4-members.html
share/doc/tclap/html/structTCLAP_1_1ArgTraits_3_01long_01_4.html
share/doc/tclap/html/structTCLAP_1_1ArgTraits_3_01short_01_4-members.html
share/doc/tclap/html/structTCLAP_1_1ArgTraits_3_01short_01_4.html
share/doc/tclap/html/structTCLAP_1_1ArgTraits_3_01std_1_1string_01_4-members.html
share/doc/tclap/html/structTCLAP_1_1ArgTraits_3_01std_1_1string_01_4.html
share/doc/tclap/html/structTCLAP_1_1ArgTraits_3_01unsigned_01char_01_4-members.html
share/doc/tclap/html/structTCLAP_1_1ArgTraits_3_01unsigned_01char_01_4.html
share/doc/tclap/html/structTCLAP_1_1ArgTraits_3_01unsigned_01int_01_4-members.html
share/doc/tclap/html/structTCLAP_1_1ArgTraits_3_01unsigned_01int_01_4.html
share/doc/tclap/html/structTCLAP_1_1ArgTraits_3_01unsigned_01long_01_4-members.html
share/doc/tclap/html/structTCLAP_1_1ArgTraits_3_01unsigned_01long_01_4.html
share/doc/tclap/html/structTCLAP_1_1ArgTraits_3_01unsigned_01short_01_4-members.html
share/doc/tclap/html/structTCLAP_1_1ArgTraits_3_01unsigned_01short_01_4.html
share/doc/tclap/html/structTCLAP_1_1ArgTraits_3_01wchar__t_01_4-members.html
share/doc/tclap/html/structTCLAP_1_1ArgTraits_3_01wchar__t_01_4.html
share/doc/tclap/html/structTCLAP_1_1StringLike-members.html
share/doc/tclap/html/structTCLAP_1_1StringLike.html
share/doc/tclap/html/structTCLAP_1_1StringLikeTrait-members.html
share/doc/tclap/html/structTCLAP_1_1StringLikeTrait.html
share/doc/tclap/html/structTCLAP_1_1ValueLike-members.html
share/doc/tclap/html/structTCLAP_1_1ValueLike.html
share/doc/tclap/html/structTCLAP_1_1ValueLikeTrait-members.html
share/doc/tclap/html/structTCLAP_1_1ValueLikeTrait.html
share/doc/tclap/html/tab_b.gif
share/doc/tclap/html/tab_l.gif
share/doc/tclap/html/tab_r.gif
share/doc/tclap/html/tabs.css
share/doc/tclap/index.html
share/doc/tclap/manual.html
share/doc/tclap/style.css