Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jun 2019 00:38:25 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r505062 - in head/devel: . args
Message-ID:  <201906250038.x5P0cPrf084864@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Tue Jun 25 00:38:25 2019
New Revision: 505062
URL: https://svnweb.freebsd.org/changeset/ports/505062

Log:
  New port: devel/args: Header-only C++ argument parser library

Added:
  head/devel/args/
  head/devel/args/Makefile   (contents, props changed)
  head/devel/args/distinfo   (contents, props changed)
  head/devel/args/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Mon Jun 24 21:47:34 2019	(r505061)
+++ head/devel/Makefile	Tue Jun 25 00:38:25 2019	(r505062)
@@ -147,6 +147,7 @@
     SUBDIR += argdata
     SUBDIR += argouml
     SUBDIR += argp-standalone
+    SUBDIR += args
     SUBDIR += argtable
     SUBDIR += arm-elf-binutils
     SUBDIR += arm-gnueabi-binutils

Added: head/devel/args/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/args/Makefile	Tue Jun 25 00:38:25 2019	(r505062)
@@ -0,0 +1,33 @@
+# $FreeBSD$
+
+PORTNAME=	args
+DISTVERSION=	6.2.2
+CATEGORIES=	devel
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Header-only C++ argument parser library
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		cmake
+USE_GITHUB=	yes
+GH_ACCOUNT=	Taywee
+
+CMAKE_OFF=	ARGS_BUILD_EXAMPLE ARGS_BUILD_UNITTESTS
+
+NO_BUILD=	yes
+NO_ARCH=	yes
+
+PLIST_FILES=	include/args.hxx
+
+do-install: # https://github.com/reconquest/args/issues/1
+	${INSTALL_DATA} ${WRKSRC}/args.hxx ${STAGEDIR}${PREFIX}/include
+
+do-test:
+	@cd ${BUILD_WRKSRC} && \
+		${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DARGS_BUILD_UNITTESTS:BOOL=ON ${CMAKE_SOURCE_PATH} && \
+		${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \
+		${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} test
+
+.include <bsd.port.mk>

Added: head/devel/args/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/args/distinfo	Tue Jun 25 00:38:25 2019	(r505062)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1561420743
+SHA256 (Taywee-args-6.2.2_GH0.tar.gz) = 8016fb0fc079d746433be3df9cf662e3e931e730aaf9f69f2287eac79ac643c1
+SIZE (Taywee-args-6.2.2_GH0.tar.gz) = 153672

Added: head/devel/args/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/args/pkg-descr	Tue Jun 25 00:38:25 2019	(r505062)
@@ -0,0 +1,5 @@
+A simple header-only C++ argument parser library. Supposed to be flexible and
+powerful, and attempts to be compatible with the functionality of the Python
+standard argparse library (though not necessarily the API).
+
+WWW: https://github.com/Taywee/args



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201906250038.x5P0cPrf084864>