Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jan 2013 20:32:29 +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: r311273 - head/devel/gflags
Message-ID:  <201301302032.r0UKWTQG080167@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Wed Jan 30 20:32:28 2013
New Revision: 311273
URL: http://svnweb.freebsd.org/changeset/ports/311273

Log:
  - Update to 2.0
  - Add LICENSE
  - Update WWW
  - Reformat pkg-descr
  - Take maintainership [1]
  
  Changes:	http://gflags.googlecode.com/svn/trunk/ChangeLog
  Approved by:	leeym (maintainer) [1]

Modified:
  head/devel/gflags/Makefile   (contents, props changed)
  head/devel/gflags/distinfo   (contents, props changed)
  head/devel/gflags/pkg-descr   (contents, props changed)

Modified: head/devel/gflags/Makefile
==============================================================================
--- head/devel/gflags/Makefile	Wed Jan 30 20:30:01 2013	(r311272)
+++ head/devel/gflags/Makefile	Wed Jan 30 20:32:28 2013	(r311273)
@@ -1,19 +1,22 @@
 # Created by: Yen-Ming Lee <leeym@FreeBSD.org>
 # $FreeBSD$
-#
 
 PORTNAME=	gflags
-PORTVERSION=	1.7
+PORTVERSION=	2.0
 CATEGORIES=	devel
 MASTER_SITES=	GOOGLE_CODE
 
-MAINTAINER=	leeym@FreeBSD.org
+MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Commandline flags module for C++
 
-PROJECTHOST=	google-gflags
+LICENSE=	BSD
+
+OPTIONS_DEFINE=	DOCS
+
+GNU_CONFIGURE=	yes
 USE_AUTOTOOLS=	libtool
+USE_GNOME=	gnomehack
 USE_LDCONFIG=	yes
-GNU_CONFIGURE=	yes
 
 PORTDOCS=	AUTHORS COPYING ChangeLog INSTALL NEWS README README_windows.txt \
 		designstyle.css gflags.html
@@ -21,11 +24,12 @@ PORTDOCS=	AUTHORS COPYING ChangeLog INST
 .include <bsd.port.options.mk>
 
 post-patch:
-	${REINPLACE_CMD} -e 's|\(pkgconfigdir = \).*|\1$$\(DESTDIR\)$$\(prefix\)/libdata/pkgconfig|' \
-		${WRKSRC}/Makefile.in
-	${REINPLACE_CMD} -e 's|^docdir.*|docdir = ${DOCSDIR}|' ${WRKSRC}/Makefile.in
-.if ! ${PORT_OPTIONS:MDOCS}
-	${REINPLACE_CMD} -e '/^install/s/ install-dist_docDATA//' ${WRKSRC}/Makefile.in
+	@${REINPLACE_CMD} \
+		-e 's|^\(docdir = \).*|\1${DOCSDIR}|' \
+		-e 's|^\(pkgconfigdir = \).*|\1$$(DESTDIR)$$(prefix)/libdata/pkgconfig|' \
+			${WRKSRC}/Makefile.in
+.if empty(PORT_OPTIONS:MDOCS)
+	@${REINPLACE_CMD} -e '/^install-data-am: / s| install-dist_docDATA||' ${WRKSRC}/Makefile.in
 .endif
 
 .include <bsd.port.mk>

Modified: head/devel/gflags/distinfo
==============================================================================
--- head/devel/gflags/distinfo	Wed Jan 30 20:30:01 2013	(r311272)
+++ head/devel/gflags/distinfo	Wed Jan 30 20:32:28 2013	(r311273)
@@ -1,2 +1,2 @@
-SHA256 (gflags-1.7.tar.gz) = 136a6bfde3ed4bcee57d31eadc0e4d4324f79a1358aa3b095414d55f71ff3aa6
-SIZE (gflags-1.7.tar.gz) = 512600
+SHA256 (gflags-2.0.tar.gz) = ce4a5d3419f27a080bd68966e5cd9507bfa09d14341e07b78a1778a7a172d7d7
+SIZE (gflags-2.0.tar.gz) = 513739

Modified: head/devel/gflags/pkg-descr
==============================================================================
--- head/devel/gflags/pkg-descr	Wed Jan 30 20:30:01 2013	(r311272)
+++ head/devel/gflags/pkg-descr	Wed Jan 30 20:32:28 2013	(r311273)
@@ -1,9 +1,8 @@
-google-gflags
-Commandline flags module for C++
+gflags - Commandline flags module for C++
 
-The gflags package contains a library that implements command line flags
+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.
 
-WWW: http://code.google.com/p/google-gflags/
+WWW: http://code.google.com/p/gflags/



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