1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00
freebsd-ports/devel/gflags/Makefile
Dmitry Marakasov 8d0a54d83f - Switch devel/gflags to USES=libtool, drop .la files
- Bump dependent ports as .so version has changed

Approved by:	portmgr blanket
2014-08-18 12:02:07 +00:00

36 lines
807 B
Makefile

# Created by: Yen-Ming Lee <leeym@FreeBSD.org>
# $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 <bsd.port.options.mk>
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 <bsd.port.mk>