diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2013-01-30 20:32:28 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2013-01-30 20:32:28 +0000 |
commit | dc95e04c7ed209963fa40857a87182a5e81c35de (patch) | |
tree | 9360062e4658386a742dc975a16b5f1f88bd569f /devel/gflags | |
parent | 555e781e189420baacb50b6e95535ca54bae0922 (diff) | |
download | ports-dc95e04c7ed209963fa40857a87182a5e81c35de.tar.gz ports-dc95e04c7ed209963fa40857a87182a5e81c35de.zip |
- 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]
Notes
Notes:
svn path=/head/; revision=311273
Diffstat (limited to 'devel/gflags')
-rw-r--r-- | devel/gflags/Makefile | 24 | ||||
-rw-r--r-- | devel/gflags/distinfo | 4 | ||||
-rw-r--r-- | devel/gflags/pkg-descr | 7 |
3 files changed, 19 insertions, 16 deletions
diff --git a/devel/gflags/Makefile b/devel/gflags/Makefile index d6139dd60a85..6561f6eeb5ac 100644 --- a/devel/gflags/Makefile +++ b/devel/gflags/Makefile @@ -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 INSTALL NEWS README README_windows.txt \ .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> diff --git a/devel/gflags/distinfo b/devel/gflags/distinfo index 5e454cc9979f..b4e9bce53307 100644 --- a/devel/gflags/distinfo +++ b/devel/gflags/distinfo @@ -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 diff --git a/devel/gflags/pkg-descr b/devel/gflags/pkg-descr index d421442eac49..201f032ee7f1 100644 --- a/devel/gflags/pkg-descr +++ b/devel/gflags/pkg-descr @@ -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/ |