summaryrefslogtreecommitdiff
path: root/devel/gflags/Makefile
blob: 738d5cfba669c320c5ac504c642e7a44b4fe9600 (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
# New ports collection makefile for:	gflags
# Date created:				19 December 2006
# Whom:	      				Yen-Ming Lee <leeym@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	gflags
PORTVERSION=	0.1
CATEGORIES=	devel
MASTER_SITES=	http://google-gflags.googlecode.com/files/

MAINTAINER=	leeym@FreeBSD.org
COMMENT=	Commandline flags module for C++

USE_LDCONFIG=	yes
GNU_CONFIGURE=	yes

PORTDOCS=	 AUTHORS COPYING ChangeLog INSTALL NEWS README gflags.html

post-patch:
	${REINPLACE_CMD} -e 's|^docdir.*|docdir = ${DOCSDIR}|' ${WRKSRC}/Makefile.in
.if defined(NOPORTDOCS)
	${REINPLACE_CMD} -e '/^install/s/ install-dist_docDATA//' ${WRKSRC}/Makefile.in
.endif

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 500000
BROKEN=		Do not compile
.endif

.include <bsd.port.post.mk>