aboutsummaryrefslogtreecommitdiff
path: root/net/libstorj/Makefile
blob: 9264a6f3a970a7290e54352f6b7f2a77254da2d3 (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

PORTNAME=	libstorj
PORTVERSION=	1.0.3
DISTVERSIONPREFIX=	v
PORTREVISION=	4
CATEGORIES=	net

MAINTAINER=	jhixson@FreeBSD.org
COMMENT=	C library and CLI for encrypted file transfer on the Storj network

LICENSE=	LGPL21+

LIB_DEPENDS=	libjson-c.so:devel/json-c \
		libuv.so:devel/libuv \
		libcurl.so:ftp/curl \
		libnettle.so:security/nettle \
		libmicrohttpd.so:www/libmicrohttpd

USES=		autoreconf gmake libtool localbase pkgconfig
USE_CSTD=	gnu99

USE_GITHUB=	yes
GH_ACCOUNT=	Storj

GNU_CONFIGURE=	yes
USE_LDCONFIG=	yes
MAKE_JOBS_UNSAFE=	yes  # ./storjtests.h:10:10: fatal error: 'mockbridgeinfo.json.h' file not found

#CFLAGS+=	-I. -I${LOCALBASE}/include
#LDFLAGS+=	-L. -L${LOCALBASE}/lib

.include <bsd.port.options.mk>

.if ${ARCH} != amd64 && ${ARCH} != i386
USE_GCC=	yes
.endif

.include <bsd.port.mk>