Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Mar 2015 19:20:00 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r381818 - head/devel/gflags
Message-ID:  <201503211920.t2LJK0WC073613@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sat Mar 21 19:19:59 2015
New Revision: 381818
URL: https://svnweb.freebsd.org/changeset/ports/381818
QAT: https://qat.redports.org/buildarchive/r381818/

Log:
  - Update to 2.1.1
  - Update WWW
  
  Changes:	https://github.com/schuhschuh/gflags/releases

Modified:
  head/devel/gflags/Makefile
  head/devel/gflags/distinfo
  head/devel/gflags/pkg-descr
  head/devel/gflags/pkg-plist

Modified: head/devel/gflags/Makefile
==============================================================================
--- head/devel/gflags/Makefile	Sat Mar 21 19:06:55 2015	(r381817)
+++ head/devel/gflags/Makefile	Sat Mar 21 19:19:59 2015	(r381818)
@@ -2,32 +2,31 @@
 # $FreeBSD$
 
 PORTNAME=	gflags
-PORTVERSION=	2.0
-PORTREVISION=	1
+PORTVERSION=	2.1.1
 CATEGORIES=	devel
-MASTER_SITES=	GOOGLE_CODE
 
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Commandline flags module for C++
 
 LICENSE=	BSD3CLAUSE
 
-OPTIONS_DEFINE=	DOCS
-
-GNU_CONFIGURE=	yes
-INSTALL_TARGET=	install-strip
+CMAKE_ARGS=	-DBUILD_SHARED_LIBS=ON -DBUILD_TESTING=ON
 USE_LDCONFIG=	yes
-USES=		libtool pathfix shebangfix
+USES=		cmake shebangfix
+WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 
-PORTDOCS=	AUTHORS COPYING ChangeLog INSTALL NEWS README README_windows.txt \
-		designstyle.css gflags.html
+GH_ACCOUNT=	schuhschuh
+GH_PROJECT=	${PORTNAME}
+GH_TAGNAME=	v${PORTVERSION}
+USE_GITHUB=	yes
 
 SHEBANG_FILES=	src/gflags_completions.sh
 
-post-patch:
-	@${REINPLACE_CMD} -e '/^docdir = / s| = .*| = ${DOCSDIR}|' ${WRKSRC}/Makefile.in
+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} check
+	cd ${WRKSRC}/ && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} test
 
 .include <bsd.port.mk>

Modified: head/devel/gflags/distinfo
==============================================================================
--- head/devel/gflags/distinfo	Sat Mar 21 19:06:55 2015	(r381817)
+++ head/devel/gflags/distinfo	Sat Mar 21 19:19:59 2015	(r381818)
@@ -1,2 +1,2 @@
-SHA256 (gflags-2.0.tar.gz) = ce4a5d3419f27a080bd68966e5cd9507bfa09d14341e07b78a1778a7a172d7d7
-SIZE (gflags-2.0.tar.gz) = 513739
+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

Modified: head/devel/gflags/pkg-descr
==============================================================================
--- head/devel/gflags/pkg-descr	Sat Mar 21 19:06:55 2015	(r381817)
+++ head/devel/gflags/pkg-descr	Sat Mar 21 19:19:59 2015	(r381818)
@@ -5,4 +5,4 @@ processing. As such it's a replacement f
 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: http://code.google.com/p/gflags/
+WWW: https://github.com/schuhschuh/gflags

Modified: head/devel/gflags/pkg-plist
==============================================================================
--- head/devel/gflags/pkg-plist	Sat Mar 21 19:06:55 2015	(r381817)
+++ head/devel/gflags/pkg-plist	Sat Mar 21 19:19:59 2015	(r381818)
@@ -2,15 +2,11 @@ bin/gflags_completions.sh
 include/gflags/gflags.h
 include/gflags/gflags_completions.h
 include/gflags/gflags_declare.h
-include/google/gflags.h
-include/google/gflags_completions.h
-lib/libgflags.a
+lib/cmake/gflags/gflags-config-version.cmake
+lib/cmake/gflags/gflags-config.cmake
+lib/cmake/gflags/gflags-export-%%CMAKE_BUILD_TYPE%%.cmake
+lib/cmake/gflags/gflags-export.cmake
 lib/libgflags.so
 lib/libgflags.so.2
-lib/libgflags.so.2.1.0
-lib/libgflags_nothreads.a
 lib/libgflags_nothreads.so
 lib/libgflags_nothreads.so.2
-lib/libgflags_nothreads.so.2.1.0
-libdata/pkgconfig/libgflags.pc
-libdata/pkgconfig/libgflags_nothreads.pc



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