freebsd-ports/devel/gflags/Makefile
Sunpoet Po-Chuan Hsieh b39cd49c36 - Update to 2.1.2
- Use gflags namespace and disable google namespace
- Cleanup GH_* knobs:
  - Use DISTVERSIONPREFIX
  - Remove GH_ACCOUNT and GH_PROJECT
- Sort CMAKE_ARGS
- Update WWW

Changes:	https://github.com/gflags/gflags/releases
2015-05-15 18:04:35 +00:00

28 lines
558 B
Makefile

# Created by: Yen-Ming Lee <leeym@FreeBSD.org>
# $FreeBSD$
PORTNAME= gflags
PORTVERSION= 2.1.2
DISTVERSIONPREFIX= v
CATEGORIES= devel
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Commandline flags module for C++
LICENSE= BSD3CLAUSE
CMAKE_ARGS= -DBUILD_SHARED_LIBS=ON \
-DBUILD_STATIC_LIBS=ON \
-DBUILD_TESTING=ON \
-DGFLAGS_NAMESPACE=gflags
USE_LDCONFIG= yes
USES= cmake shebangfix
USE_GITHUB= yes
SHEBANG_FILES= src/gflags_completions.sh
regression-test test: build
cd ${WRKSRC}/ && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} test
.include <bsd.port.mk>