mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-17 08:01:36 +00:00
- 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]
This commit is contained in:
parent
555e781e18
commit
dc95e04c7e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=311273
@ -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
|
||||
USE_AUTOTOOLS= libtool
|
||||
USE_LDCONFIG= yes
|
||||
LICENSE= BSD
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USE_AUTOTOOLS= libtool
|
||||
USE_GNOME= gnomehack
|
||||
USE_LDCONFIG= 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>
|
||||
|
@ -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
|
||||
|
@ -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/
|
||||
|
Loading…
Reference in New Issue
Block a user