blob: 90997ece610bf91ac8a292df195ec6d8350d8d23 (
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
36
|
# Created by: Cheng-Lung Sung <clsung@FreeBSD.org>
# $FreeBSD$
PORTNAME= glog
PORTVERSION= 0.3.3
PORTREVISION= 3
CATEGORIES= devel
MASTER_SITES= GOOGLE_CODE
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Library of C++ classes for flexible logging
LICENSE= BSD3CLAUSE
LIB_DEPENDS= libgflags.so:${PORTSDIR}/devel/gflags
OPTIONS_DEFINE= DOCS
CPPFLAGS+= -I${LOCALBASE}/include
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
LDFLAGS+= -L${LOCALBASE}/lib -lexecinfo
USE_LDCONFIG= yes
USES= execinfo libtool pathfix
PORTDOCS= *
PROJECTHOST= google-glog
post-patch:
@${REINPLACE_CMD} -e '/^docdir = / s| = .*| = ${DOCSDIR}|' ${WRKSRC}/Makefile.in
regression-test test: build
cd ${WRKSRC}/ && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} check
.include <bsd.port.mk>
|