aboutsummaryrefslogtreecommitdiffstats
path: root/devel/avro/Makefile
blob: 24bb91d9494d3032f579b34731538a7afdaaf829 (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
32
33
34
35
36
37
38
39
# Created by: Veniamin Gvozdikov <vg@FreeBSD.org>
# $FreeBSD$

PORTNAME=   avro
PORTVERSION=    1.7.3
CATEGORIES= devel
MASTER_SITES=   # none
DISTFILES=  # none
EXTRACT_ONLY=   # none

MAINTAINER= vg@FreeBSD.org
COMMENT=    Data serialization system

NO_BUILD=   yes

OPTIONS_DEFINE= C CPP PYTHON
C_DESC=     Install ANSI C library
CPP_DESC=   Install C++ library
PYTHON_DESC=    Install Python library

OPTIONS_DEFAULT=C CPP PYTHON

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MC}
LIB_DEPENDS+=   avro:${PORTSDIR}/devel/avro-c
.endif

.if ${PORT_OPTIONS:MCPP}
LIB_DEPENDS+=   avrocpp:${PORTSDIR}/devel/avro-cpp
.endif

.if ${PORT_OPTIONS:MPYTHON}
BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}avro:${PORTSDIR}/devel/py-avro
.endif

do-install: # empty

.include <bsd.port.mk>