2017-05-03 10:38:38 +02:00
|
|
|
# $NetBSD: Makefile,v 1.8 2017/05/03 08:38:40 jperkin Exp $
|
2013-02-08 23:06:37 +01:00
|
|
|
|
2016-11-01 16:22:26 +01:00
|
|
|
DISTNAME= glog-0.3.4
|
2013-02-08 23:06:37 +01:00
|
|
|
PKGNAME= google-${DISTNAME}
|
|
|
|
CATEGORIES= devel
|
2016-11-01 16:22:26 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=google/}
|
|
|
|
GITHUB_PROJECT= glog
|
|
|
|
GITHUB_TAG= v${PKGVERSION_NOREV}
|
2013-02-08 23:06:37 +01:00
|
|
|
|
2017-04-19 13:24:36 +02:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2016-11-01 16:22:26 +01:00
|
|
|
HOMEPAGE= https://github.com/google/glog/
|
2013-02-08 23:06:37 +01:00
|
|
|
COMMENT= Application Level Logging library for C++
|
|
|
|
LICENSE= modified-bsd
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_LIBTOOL= yes
|
|
|
|
USE_TOOLS+= pkg-config
|
2017-05-03 10:38:38 +02:00
|
|
|
USE_LANGUAGES= c c++11
|
2013-02-08 23:06:37 +01:00
|
|
|
|
|
|
|
PKGCONFIG_OVERRIDE+= libglog.pc.in
|
|
|
|
|
2013-02-26 11:24:50 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2016-11-16 10:40:24 +01:00
|
|
|
.if (${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD") && exists(/usr/include/execinfo.h)
|
2013-02-26 11:24:50 +01:00
|
|
|
LIBS+= -lexecinfo
|
|
|
|
.endif
|
|
|
|
|
2013-02-08 23:06:37 +01:00
|
|
|
.include "../../devel/googletest/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|