summaryrefslogtreecommitdiff
path: root/devel/tclap
diff options
context:
space:
mode:
authoradam <adam>2011-10-10 13:15:31 +0000
committeradam <adam>2011-10-10 13:15:31 +0000
commit75fb7328db170ff7cd18059fc88800b9720d2641 (patch)
tree105cf0a4cbdfec6afc16eed6afdde6f4e42cb1b5 /devel/tclap
parent3407361347ac30c8235fa5ff50f3e79a8ebd5a31 (diff)
downloadpkgsrc-75fb7328db170ff7cd18059fc88800b9720d2641.tar.gz
TCLAP is a small, flexible library that provides a simple interface for defining
and accessing command line arguments. It was intially 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. TCLAP is now a mature, stable, and feature rich package. Unless I get really bored, it probably won't see much further development aside from bug fixes and compatibility updates. Please don't let any apparent project inactivity discourage you from using the software!
Diffstat (limited to 'devel/tclap')
-rw-r--r--devel/tclap/DESCR18
-rw-r--r--devel/tclap/Makefile21
-rw-r--r--devel/tclap/PLIST259
-rw-r--r--devel/tclap/buildlink3.mk12
-rw-r--r--devel/tclap/distinfo5
5 files changed, 315 insertions, 0 deletions
diff --git a/devel/tclap/DESCR b/devel/tclap/DESCR
new file mode 100644
index 00000000000..e00ef8f6554
--- /dev/null
+++ b/devel/tclap/DESCR
@@ -0,0 +1,18 @@
+TCLAP is a small, flexible library that provides a simple interface for defining
+and accessing command line arguments. It was intially 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.
+
+TCLAP is now a mature, stable, and feature rich package. Unless I get really
+bored, it probably won't see much further development aside from bug fixes and
+compatibility updates. Please don't let any apparent project inactivity
+discourage you from using the software!
diff --git a/devel/tclap/Makefile b/devel/tclap/Makefile
new file mode 100644
index 00000000000..24b3a1d78f8
--- /dev/null
+++ b/devel/tclap/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1.1.1 2011/10/10 13:15:31 adam Exp $
+
+DISTNAME= tclap-1.2.1
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tclap/}
+
+MAINTAINER= adam@NetBSD.org
+HOMEPAGE= http://tclap.sourceforge.net/
+COMMENT= Templatized C++ Command Line Parser Library
+LICENSE= mit
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+USE_LANGUAGES= c c++
+USE_LIBTOOL= yes
+GNU_CONFIGURE= yes
+
+pre-configure:
+ rm -fr ${WRKSRC}/docs/html/CVS
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/tclap/PLIST b/devel/tclap/PLIST
new file mode 100644
index 00000000000..d35e94f05ab
--- /dev/null
+++ b/devel/tclap/PLIST
@@ -0,0 +1,259 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2011/10/10 13:15:31 adam Exp $
+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/tclap.pc
+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/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
diff --git a/devel/tclap/buildlink3.mk b/devel/tclap/buildlink3.mk
new file mode 100644
index 00000000000..968748e3755
--- /dev/null
+++ b/devel/tclap/buildlink3.mk
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2011/10/10 13:15:31 adam Exp $
+
+BUILDLINK_TREE+= tclap
+
+.if !defined(TCLAP_BUILDLINK3_MK)
+TCLAP_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.tclap+= tclap>=1.2.1
+BUILDLINK_PKGSRCDIR.tclap?= ../../devel/tclap
+.endif # TCLAP_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -tclap
diff --git a/devel/tclap/distinfo b/devel/tclap/distinfo
new file mode 100644
index 00000000000..558e1afbfb6
--- /dev/null
+++ b/devel/tclap/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2011/10/10 13:15:31 adam Exp $
+
+SHA1 (tclap-1.2.1.tar.gz) = 4f124216dd6e6936f5af6372d921a6c51563f8fd
+RMD160 (tclap-1.2.1.tar.gz) = 96e424af115ffd27cea4ee1eb08f38e2f34d253e
+Size (tclap-1.2.1.tar.gz) = 442387 bytes