1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00
freebsd-ports/devel/gflags/Makefile
Sunpoet Po-Chuan Hsieh c226d848e1 - Add missing tab in USES=pathfix
- Use !${PORT_OPTIONS:Mfoo} instead of empty(PORT_OPTIONS:Mfoo)
2013-08-24 18:30:36 +00:00

36 lines
794 B
Makefile

# Created by: Yen-Ming Lee <leeym@FreeBSD.org>
# $FreeBSD$
PORTNAME= gflags
PORTVERSION= 2.0
CATEGORIES= devel
MASTER_SITES= GOOGLE_CODE
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Commandline flags module for C++
LICENSE= BSD
OPTIONS_DEFINE= DOCS
GNU_CONFIGURE= yes
USE_AUTOTOOLS= libtool
USE_LDCONFIG= yes
USES= pathfix
PORTDOCS= AUTHORS COPYING ChangeLog INSTALL NEWS README README_windows.txt \
designstyle.css gflags.html
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} \
-e 's|^\(docdir = \).*|\1${DOCSDIR}|' \
-e 's|^\(pkgconfigdir = \).*|\1$$(DESTDIR)$$(prefix)/libdata/pkgconfig|' \
${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>