aboutsummaryrefslogtreecommitdiff
path: root/devel/objecthash/Makefile
blob: a1c29a230bd6f6ee13191c1d885be44cebd82a7a (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
# Created by: Edward Tomasz Napierala <trasz@FreeBSD.org>
# $FreeBSD$

PORTNAME=	objecthash
PORTVERSION=	20160121
CATEGORIES=	devel

MAINTAINER=	trasz@FreeBSD.org
COMMENT=	Cross-language way to cryptographically hash JSON objects

LICENSE=	APACHE20

LIB_DEPENDS=	libicudata.so:devel/icu \
		libjson-c.so:devel/json-c

BROKEN_FreeBSD_9=	does not build on FreeBSD < 10.x

USES=		pkgconfig
USE_GITHUB=	yes
USE_LDCONFIG=	yes
GH_ACCOUNT=	benlaurie
GH_PROJECT=	objecthash
GH_TAGNAME=	2024cf8

ALL_TARGET=	libobjecthash.so

PLIST_FILES=	include/objecthash.h lib/libobjecthash.so

do-install:
		${INSTALL_LIB} ${WRKSRC}/libobjecthash.so ${STAGEDIR}${PREFIX}/lib
		${INSTALL_DATA} ${WRKSRC}/objecthash.h ${STAGEDIR}${PREFIX}/include

.include <bsd.port.mk>