aboutsummaryrefslogtreecommitdiffstats
path: root/devel/avro-cpp/Makefile
blob: 0e474899324c2d15cfb363f4faa035d986229565 (plain) (blame)
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
# Created by: Veniamin Gvozdikov <vg@FreeBSD.org>
# $FreeBSD$

PORTNAME=   avro
PORTVERSION=    1.8.2
DISTVERSIONPREFIX=  release-
PORTREVISION=   2
CATEGORIES= devel
PKGNAMESUFFIX=  -cpp

MAINTAINER= sunpoet@FreeBSD.org
COMMENT=    C++ library for Apache Avro

LICENSE=    APACHE20
LICENSE_FILE=   ${WRKSRC}/LICENSE

LIB_DEPENDS=    libboost_regex.so:devel/boost-libs

USES=       cmake compiler:c++11-lang

USE_CXXSTD= c++11
USE_LDCONFIG=   yes
WRKSRC_SUBDIR=  lang/c++

GH_ACCOUNT= apache
USE_GITHUB= yes

post-patch:
    @${REINPLACE_CMD} -e 's|$${AVRO_VERSION_MAJOR}.\($${AVRO_VERSION_MINOR}\)|\1|' ${WRKSRC}/CMakeLists.txt

.include <bsd.port.mk>