1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00

- add google-gflags-0.1

google-gflags
Commandline flags module for C++

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/
This commit is contained in:
Yen-Ming Lee 2006-12-19 07:28:37 +00:00
parent 0ce5ab7b9a
commit 9bf5a669ab
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=180126
5 changed files with 52 additions and 0 deletions

View File

@ -349,6 +349,7 @@
SUBDIR += gettext
SUBDIR += gettext-lint
SUBDIR += getxml
SUBDIR += gflags
SUBDIR += gindent
SUBDIR += git
SUBDIR += glade2

33
devel/gflags/Makefile Normal file
View File

@ -0,0 +1,33 @@
# New ports collection makefile for: gflags
# Date created: 19 December 2006
# Whom: Yen-Ming Lee <leeym@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= gflags
PORTVERSION= 0.1
CATEGORIES= devel
MASTER_SITES= http://google-gflags.googlecode.com/files/
MAINTAINER= leeym@FreeBSD.org
COMMENT= Commandline flags module for C++
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
PORTDOCS= AUTHORS COPYING ChangeLog INSTALL NEWS README gflags.html
post-patch:
${REINPLACE_CMD} -e 's|^docdir.*|docdir = ${DOCSDIR}|' ${WRKSRC}/Makefile.in
.if defined(NOPORTDOCS)
${REINPLACE_CMD} -e '/^install/s/ install-dist_docDATA//' ${WRKSRC}/Makefile.in
.endif
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
BROKEN= Do not compile
.endif
.include <bsd.port.post.mk>

3
devel/gflags/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (gflags-0.1.tar.gz) = 7c54095fdc8a5a0efad209e619d5aa2c
SHA256 (gflags-0.1.tar.gz) = a2dd3ca9cdc50e98e3230bd9a0c92c0aae9ecd71513613acfa1104c3790849fd
SIZE (gflags-0.1.tar.gz) = 387517

9
devel/gflags/pkg-descr Normal file
View File

@ -0,0 +1,9 @@
google-gflags
Commandline flags module for C++
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/

6
devel/gflags/pkg-plist Normal file
View File

@ -0,0 +1,6 @@
include/google/gflags.h
lib/libgflags.a
lib/libgflags.la
lib/libgflags.so
lib/libgflags.so.0
@dirrm include/google