pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel
Module Name: pkgsrc
Committed By: rodent
Date: Tue Dec 6 00:34:18 UTC 2016
Modified Files:
pkgsrc/devel: Makefile
Added Files:
pkgsrc/devel/gflags: DESCR Makefile PLIST buildlink3.mk distinfo
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.2340 -r1.2341 pkgsrc/devel/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/gflags/DESCR pkgsrc/devel/gflags/Makefile \
pkgsrc/devel/gflags/PLIST pkgsrc/devel/gflags/buildlink3.mk \
pkgsrc/devel/gflags/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/Makefile
diff -u pkgsrc/devel/Makefile:1.2340 pkgsrc/devel/Makefile:1.2341
--- pkgsrc/devel/Makefile:1.2340 Sun Dec 4 21:12:58 2016
+++ pkgsrc/devel/Makefile Tue Dec 6 00:34:18 2016
@@ -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-asprintf
SUBDIR+= gettext-lib
SUBDIR+= gettext-m4
SUBDIR+= gettext-tools
+SUBDIR+= gflags
SUBDIR+= gflib
SUBDIR+= giblib
SUBDIR+= gindent
Added files:
Index: pkgsrc/devel/gflags/DESCR
diff -u /dev/null pkgsrc/devel/gflags/DESCR:1.1
--- /dev/null Tue Dec 6 00:34:18 2016
+++ pkgsrc/devel/gflags/DESCR Tue Dec 6 00:34:18 2016
@@ -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.
Index: pkgsrc/devel/gflags/Makefile
diff -u /dev/null pkgsrc/devel/gflags/Makefile:1.1
--- /dev/null Tue Dec 6 00:34:18 2016
+++ pkgsrc/devel/gflags/Makefile Tue Dec 6 00:34:18 2016
@@ -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"
Index: pkgsrc/devel/gflags/PLIST
diff -u /dev/null pkgsrc/devel/gflags/PLIST:1.1
--- /dev/null Tue Dec 6 00:34:18 2016
+++ pkgsrc/devel/gflags/PLIST Tue Dec 6 00:34:18 2016
@@ -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}
Index: pkgsrc/devel/gflags/buildlink3.mk
diff -u /dev/null pkgsrc/devel/gflags/buildlink3.mk:1.1
--- /dev/null Tue Dec 6 00:34:18 2016
+++ pkgsrc/devel/gflags/buildlink3.mk Tue Dec 6 00:34:18 2016
@@ -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
Index: pkgsrc/devel/gflags/distinfo
diff -u /dev/null pkgsrc/devel/gflags/distinfo:1.1
--- /dev/null Tue Dec 6 00:34:18 2016
+++ pkgsrc/devel/gflags/distinfo Tue Dec 6 00:34:18 2016
@@ -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