From b39cd49c36e9bd5e3ae9e6e8a9bb7e1f33c11e78 Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Fri, 15 May 2015 18:04:35 +0000 Subject: [PATCH] - Update to 2.1.2 - Use gflags namespace and disable google namespace - Cleanup GH_* knobs: - Use DISTVERSIONPREFIX - Remove GH_ACCOUNT and GH_PROJECT - Sort CMAKE_ARGS - Update WWW Changes: https://github.com/gflags/gflags/releases --- devel/gflags/Makefile | 16 ++++++---------- devel/gflags/distinfo | 4 ++-- devel/gflags/pkg-descr | 2 +- devel/gflags/pkg-plist | 2 ++ 4 files changed, 11 insertions(+), 13 deletions(-) diff --git a/devel/gflags/Makefile b/devel/gflags/Makefile index c484168e5651..59a30cff7c78 100644 --- a/devel/gflags/Makefile +++ b/devel/gflags/Makefile @@ -2,8 +2,8 @@ # $FreeBSD$ PORTNAME= gflags -PORTVERSION= 2.1.1 -PORTREVISION= 1 +PORTVERSION= 2.1.2 +DISTVERSIONPREFIX= v CATEGORIES= devel MAINTAINER= sunpoet@FreeBSD.org @@ -11,21 +11,17 @@ COMMENT= Commandline flags module for C++ LICENSE= BSD3CLAUSE -CMAKE_ARGS= -DBUILD_STATIC_LIBS=ON -DBUILD_SHARED_LIBS=ON -DBUILD_TESTING=ON +CMAKE_ARGS= -DBUILD_SHARED_LIBS=ON \ + -DBUILD_STATIC_LIBS=ON \ + -DBUILD_TESTING=ON \ + -DGFLAGS_NAMESPACE=gflags USE_LDCONFIG= yes USES= cmake shebangfix -GH_ACCOUNT= schuhschuh -GH_PROJECT= ${PORTNAME} -GH_TAGNAME= v${PORTVERSION} USE_GITHUB= yes SHEBANG_FILES= src/gflags_completions.sh -post-install: - ${LN} -s libgflags.so ${STAGEDIR}${PREFIX}/lib/libgflags.so.2 - ${LN} -s libgflags_nothreads.so ${STAGEDIR}${PREFIX}/lib/libgflags_nothreads.so.2 - regression-test test: build cd ${WRKSRC}/ && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} test diff --git a/devel/gflags/distinfo b/devel/gflags/distinfo index 2ae293841a7d..c346d5f638be 100644 --- a/devel/gflags/distinfo +++ b/devel/gflags/distinfo @@ -1,2 +1,2 @@ -SHA256 (schuhschuh-gflags-2.1.1-v2.1.1_GH0.tar.gz) = 432edece8102fc141c2e3381e2eb5eabb1ce7614851cc96bdec4715105086238 -SIZE (schuhschuh-gflags-2.1.1-v2.1.1_GH0.tar.gz) = 102015 +SHA256 (gflags-gflags-v2.1.2_GH0.tar.gz) = d8331bd0f7367c8afd5fcb5f5e85e96868a00fd24b7276fa5fcee1e5575c2662 +SIZE (gflags-gflags-v2.1.2_GH0.tar.gz) = 95716 diff --git a/devel/gflags/pkg-descr b/devel/gflags/pkg-descr index 6590f2e92e53..91d967a88724 100644 --- a/devel/gflags/pkg-descr +++ b/devel/gflags/pkg-descr @@ -5,4 +5,4 @@ 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. -WWW: https://github.com/schuhschuh/gflags +WWW: https://github.com/gflags/gflags diff --git a/devel/gflags/pkg-plist b/devel/gflags/pkg-plist index ce4de1ac03e5..95d8838e7a60 100644 --- a/devel/gflags/pkg-plist +++ b/devel/gflags/pkg-plist @@ -9,6 +9,8 @@ lib/cmake/gflags/gflags-export.cmake lib/libgflags.a lib/libgflags.so lib/libgflags.so.2 +lib/libgflags.so.2.1.2 lib/libgflags_nothreads.a lib/libgflags_nothreads.so lib/libgflags_nothreads.so.2 +lib/libgflags_nothreads.so.2.1.2