Import x11/cinnamon-screensaver version 2.2.4
[dports.git] / devel / gflags / Makefile
1 # Created by: Yen-Ming Lee <leeym@FreeBSD.org>
2 # $FreeBSD$
3
4 PORTNAME=       gflags
5 PORTVERSION=    2.0
6 PORTREVISION=   1
7 CATEGORIES=     devel
8 MASTER_SITES=   GOOGLE_CODE
9
10 MAINTAINER=     sunpoet@FreeBSD.org
11 COMMENT=        Commandline flags module for C++
12
13 LICENSE=        BSD3CLAUSE
14
15 OPTIONS_DEFINE= DOCS
16
17 GNU_CONFIGURE=  yes
18 MAKE_ENV=       INSTALL_STRIP_FLAG=${STRIP}
19 USE_LDCONFIG=   yes
20 USES=           libtool pathfix shebangfix
21
22 PORTDOCS=       AUTHORS COPYING ChangeLog INSTALL NEWS README README_windows.txt \
23                 designstyle.css gflags.html
24
25 SHEBANG_FILES=  src/gflags_completions.sh
26
27 .include <bsd.port.options.mk>
28
29 post-patch:
30         @${REINPLACE_CMD} -e 's|^\(docdir = \).*|\1${DOCSDIR}|' ${WRKSRC}/Makefile.in
31 .if !${PORT_OPTIONS:MDOCS}
32         @${REINPLACE_CMD} -e '/^install-data-am: / s| install-dist_docDATA||' ${WRKSRC}/Makefile.in
33 .endif
34
35 .include <bsd.port.mk>