# Created by: Yen-Ming Lee # $FreeBSD$ PORTNAME= gflags PORTVERSION= 2.0 PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= GOOGLE_CODE MAINTAINER= sunpoet@FreeBSD.org COMMENT= Commandline flags module for C++ LICENSE= BSD3CLAUSE OPTIONS_DEFINE= DOCS GNU_CONFIGURE= yes MAKE_ENV= INSTALL_STRIP_FLAG=${STRIP} USE_LDCONFIG= yes USES= libtool pathfix shebangfix PORTDOCS= AUTHORS COPYING ChangeLog INSTALL NEWS README README_windows.txt \ designstyle.css gflags.html SHEBANG_FILES= src/gflags_completions.sh .include post-patch: @${REINPLACE_CMD} -e 's|^\(docdir = \).*|\1${DOCSDIR}|' ${WRKSRC}/Makefile.in .if !${PORT_OPTIONS:MDOCS} @${REINPLACE_CMD} -e '/^install-data-am: / s| install-dist_docDATA||' ${WRKSRC}/Makefile.in .endif .include