aboutsummaryrefslogblamecommitdiff
path: root/devel/abseil/Makefile
blob: 2c89a3e7766c959a783ddeb2dd2229569baa58eb (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
                                                  

                      
                          






                                             


                                         
 

                                                                                                                                                             
 
                                                          
 
                      
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>

PORTNAME=	abseil
PORTVERSION=	20210324.1
CATEGORIES=	devel

MAINTAINER=	danfe@FreeBSD.org
COMMENT=	Abseil Common Libraries (C++)

LICENSE=	APACHE20

USES=		cmake compiler:c++11-lang
USE_GITHUB=	yes
GH_PROJECT=	${PORTNAME}-cpp

CMAKE_ARGS=	-DBUILD_SHARED_LIBS:BOOL=ON \
		-DCMAKE_CXX_STANDARD=17 # force the same highest C++ standard because of ABI differences: see https://github.com/abseil/abseil-cpp/issues/819

PLIST_SUB+=	LIBSUFX=${PORTVERSION:C/^..(....)../\1.0/}

.include <bsd.port.mk>