1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00

- 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
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2015-05-15 18:04:35 +00:00
parent 6d5b6b77ba
commit b39cd49c36
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=386450
4 changed files with 11 additions and 13 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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