git: ee3f98fccaf6 - main - devel/tclap12: new port had been copied from `devel/tclap'
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 09 Jun 2023 08:14:08 UTC
The branch main has been updated by danfe:
URL: https://cgit.FreeBSD.org/ports/commit/?id=ee3f98fccaf66f631e1f733a0f7b63f9aadbfc8e
commit ee3f98fccaf66f631e1f733a0f7b63f9aadbfc8e
Author: Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2023-06-09 08:12:50 +0000
Commit: Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2023-06-09 08:12:50 +0000
devel/tclap12: new port had been copied from `devel/tclap'
Development version of TCLAP (1.4) had broken the API against current
stable version 1.2, particularly, the CmdLine::getOutput() method had
been removed.
---
devel/Makefile | 1 +
devel/tclap12/Makefile | 30 ++++++++++++++++++++++++++++++
devel/tclap12/distinfo | 3 +++
devel/tclap12/pkg-descr | 5 +++++
devel/tclap12/pkg-plist | 26 ++++++++++++++++++++++++++
5 files changed, 65 insertions(+)
diff --git a/devel/Makefile b/devel/Makefile
index c6fd4027e3db..a88a031f68e0 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -7590,6 +7590,7 @@
SUBDIR += tcl-signal
SUBDIR += tcl-trf
SUBDIR += tclap
+ SUBDIR += tclap12
SUBDIR += tclbsd
SUBDIR += tclcheck
SUBDIR += tcllauncher
diff --git a/devel/tclap12/Makefile b/devel/tclap12/Makefile
new file mode 100644
index 000000000000..ce9395de7dda
--- /dev/null
+++ b/devel/tclap12/Makefile
@@ -0,0 +1,30 @@
+PORTNAME= tclap
+PORTVERSION= 1.2.5
+CATEGORIES= devel
+MASTER_SITES= SF/${PORTNAME}
+PKGNAMESUFFIX= 12
+
+MAINTAINER= danfe@FreeBSD.org
+COMMENT= Verbose replacement for getopt (stable version)
+WWW= https://tclap.sourceforge.net/
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+USES= cpe
+CPE_VENDOR= ${PORTNAME}_project
+GNU_CONFIGURE= yes
+TEST_TARGET= check
+
+CONFLICTS_INSTALL= tclap
+
+PORTDOCS= *
+
+OPTIONS_DEFINE= DOCS
+
+post-patch:
+ @${REINPLACE_CMD} -e '1s,/bin/bash,/bin/sh,' \
+ ${WRKSRC}/tests/test88.sh ${WRKSRC}/tests/test89.sh \
+ ${WRKSRC}/tests/test90.sh ${WRKSRC}/tests/test91.sh
+
+.include <bsd.port.mk>
diff --git a/devel/tclap12/distinfo b/devel/tclap12/distinfo
new file mode 100644
index 000000000000..b6a85085bf9a
--- /dev/null
+++ b/devel/tclap12/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1635778580
+SHA256 (tclap-1.2.5.tar.gz) = bb649f76dae35e8d0dcba4b52acfd4e062d787e6a81b43f7a4b01275153165a6
+SIZE (tclap-1.2.5.tar.gz) = 4140723
diff --git a/devel/tclap12/pkg-descr b/devel/tclap12/pkg-descr
new file mode 100644
index 000000000000..51c4a8c072dc
--- /dev/null
+++ b/devel/tclap12/pkg-descr
@@ -0,0 +1,5 @@
+TCLAP is a small, flexible library that provides a simple interface for
+defining and accessing command line arguments.
+
+It seems to do everything that getopt(3) can do. It is needed here as
+a dependency for `www/envoy'.
diff --git a/devel/tclap12/pkg-plist b/devel/tclap12/pkg-plist
new file mode 100644
index 000000000000..75e45d6f0964
--- /dev/null
+++ b/devel/tclap12/pkg-plist
@@ -0,0 +1,26 @@
+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
+include/tclap/sstream.h
+libdata/pkgconfig/tclap.pc