pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel Import gflags-2.1.2 as devel/gflags.
details: https://anonhg.NetBSD.org/pkgsrc/rev/4a98b0c1b908
branches: trunk
changeset: 355608:4a98b0c1b908
user: rodent <rodent%pkgsrc.org@localhost>
date: Tue Dec 06 00:34:18 2016 +0000
description:
Import gflags-2.1.2 as devel/gflags.
The gflags package contains a library that implements commandline flags
processing. As such it's a replacement for getopt(). It has increased
flexibility, including built-in support for C++ types like string, and the
ability to define flags in the source file in which they're used.
Package from pkgsrc-wip with bacon4000%gmail.com@localhost as the MAINTAINER.
devel/snappy can use this along with other packages in the dependency chain
for caffe.
diffstat:
devel/Makefile | 3 ++-
devel/gflags/DESCR | 4 ++++
devel/gflags/Makefile | 28 ++++++++++++++++++++++++++++
devel/gflags/PLIST | 17 +++++++++++++++++
devel/gflags/buildlink3.mk | 12 ++++++++++++
devel/gflags/distinfo | 6 ++++++
6 files changed, 69 insertions(+), 1 deletions(-)
diffs (104 lines):
diff -r 19b6327f76cd -r 4a98b0c1b908 devel/Makefile
--- a/devel/Makefile Tue Dec 06 00:12:35 2016 +0000
+++ b/devel/Makefile Tue Dec 06 00:34:18 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2340 2016/12/04 21:12:58 rodent Exp $
+# $NetBSD: Makefile,v 1.2341 2016/12/06 00:34:18 rodent Exp $
#
COMMENT= Development utilities
@@ -267,6 +267,7 @@
SUBDIR+= gettext-lib
SUBDIR+= gettext-m4
SUBDIR+= gettext-tools
+SUBDIR+= gflags
SUBDIR+= gflib
SUBDIR+= giblib
SUBDIR+= gindent
diff -r 19b6327f76cd -r 4a98b0c1b908 devel/gflags/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/gflags/DESCR Tue Dec 06 00:34:18 2016 +0000
@@ -0,0 +1,4 @@
+The gflags package contains a library that implements commandline flags
+processing. As such it's a replacement for getopt(). It has increased
+flexibility, including built-in support for C++ types like string, and the
+ability to define flags in the source file in which they're used.
diff -r 19b6327f76cd -r 4a98b0c1b908 devel/gflags/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/gflags/Makefile Tue Dec 06 00:34:18 2016 +0000
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1 2016/12/06 00:34:18 rodent Exp $
+
+DISTNAME= gflags-${PORTVERSION}
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GITHUB:=gflags/}
+GITHUB_PROJECT= gflags
+GITHUB_TAG= v${PORTVERSION}
+
+MAINTAINER= bacon4000%gmail.com@localhost
+HOMEPAGE= https://github.com/gflags/gflags
+COMMENT= Commandline flags module for C++
+LICENSE= modified-bsd
+
+USE_LANGUAGES= c c++
+USE_TOOLS+= bash:run
+REPLACE_BASH= src/gflags_completions.sh
+USE_CMAKE= yes
+CMAKE_ARGS+= -DCMAKE_BUILD_TYPE:STRING=Release -DBUILD_SHARED_LIBS:BOOL=ON
+CMAKE_ARGS+= -DBUILD_STATIC_LIBS:BOOL=ON -DBUILD_TESTING:BOOL=ON
+CMAKE_ARGS+= -DGFLAGS_NAMESPACE:STRING=gflags
+PTHREAD_OPTS+= require
+
+TEST_TARGET= test
+
+PORTVERSION= 2.1.2
+
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 19b6327f76cd -r 4a98b0c1b908 devel/gflags/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/gflags/PLIST Tue Dec 06 00:34:18 2016 +0000
@@ -0,0 +1,17 @@
+@comment $NetBSD: PLIST,v 1.1 2016/12/06 00:34:18 rodent Exp $
+bin/gflags_completions.sh
+include/gflags/gflags_completions.h
+include/gflags/gflags_declare.h
+include/gflags/gflags.h
+lib/cmake/gflags/gflags-config.cmake
+lib/cmake/gflags/gflags-config-version.cmake
+lib/cmake/gflags/gflags-export.cmake
+lib/cmake/gflags/gflags-export-release.cmake
+lib/libgflags.a
+lib/libgflags_nothreads.a
+lib/libgflags_nothreads.so
+lib/libgflags_nothreads.so.2
+lib/libgflags_nothreads.so.${PKGVERSION}
+lib/libgflags.so
+lib/libgflags.so.2
+lib/libgflags.so.${PKGVERSION}
diff -r 19b6327f76cd -r 4a98b0c1b908 devel/gflags/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/gflags/buildlink3.mk Tue Dec 06 00:34:18 2016 +0000
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1 2016/12/06 00:34:18 rodent Exp $
+
+BUILDLINK_TREE+= gflags
+
+.if !defined(GFLAGS_BUILDLINK3_MK)
+GFLAGS_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.gflags+= gflags>=2.1.2
+BUILDLINK_PKGSRCDIR.gflags?= ../../devel/gflags
+.endif # GFLAGS_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -gflags
diff -r 19b6327f76cd -r 4a98b0c1b908 devel/gflags/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/gflags/distinfo Tue Dec 06 00:34:18 2016 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2016/12/06 00:34:18 rodent Exp $
+
+SHA1 (gflags-2.1.2.tar.gz) = 8bdbade9d041339dc14b4ab426e2354a5af38478
+RMD160 (gflags-2.1.2.tar.gz) = c43a4b98d72f3093e4a6268c6a656667856d2401
+SHA512 (gflags-2.1.2.tar.gz) = f636023c1150e4d536d2d472e40d643ff0b02d3c96d8cb7f31544df23e6255fa6c4fd927ef94a3660c250d3faeae7d8d78519fc5e856749a577347a78d9d9ab5
+Size (gflags-2.1.2.tar.gz) = 95716 bytes
Home |
Main Index |
Thread Index |
Old Index