blob: 732e7aa5ceda6f0acad4b8aae0bdba7eb5a2ca41 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# 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>
|