From 9bf5a669ab6d81426c69fedef04fe02a92a4f106 Mon Sep 17 00:00:00 2001 From: Yen-Ming Lee Date: Tue, 19 Dec 2006 07:28:37 +0000 Subject: - 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/ --- devel/gflags/Makefile | 33 +++++++++++++++++++++++++++++++++ devel/gflags/distinfo | 3 +++ devel/gflags/pkg-descr | 9 +++++++++ devel/gflags/pkg-plist | 6 ++++++ 4 files changed, 51 insertions(+) create mode 100644 devel/gflags/Makefile create mode 100644 devel/gflags/distinfo create mode 100644 devel/gflags/pkg-descr create mode 100644 devel/gflags/pkg-plist (limited to 'devel/gflags') diff --git a/devel/gflags/Makefile b/devel/gflags/Makefile new file mode 100644 index 000000000000..738d5cfba669 --- /dev/null +++ b/devel/gflags/Makefile @@ -0,0 +1,33 @@ +# New ports collection makefile for: gflags +# Date created: 19 December 2006 +# Whom: Yen-Ming Lee +# +# $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 + +.if ${OSVERSION} < 500000 +BROKEN= Do not compile +.endif + +.include diff --git a/devel/gflags/distinfo b/devel/gflags/distinfo new file mode 100644 index 000000000000..fffa2313305e --- /dev/null +++ b/devel/gflags/distinfo @@ -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 diff --git a/devel/gflags/pkg-descr b/devel/gflags/pkg-descr new file mode 100644 index 000000000000..48779c916f27 --- /dev/null +++ b/devel/gflags/pkg-descr @@ -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/ diff --git a/devel/gflags/pkg-plist b/devel/gflags/pkg-plist new file mode 100644 index 000000000000..1c77442b1d2b --- /dev/null +++ b/devel/gflags/pkg-plist @@ -0,0 +1,6 @@ +include/google/gflags.h +lib/libgflags.a +lib/libgflags.la +lib/libgflags.so +lib/libgflags.so.0 +@dirrm include/google -- cgit v1.2.3