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

PORTNAME=	objecthash
PORTVERSION=	20160802
PORTREVISION=	14
CATEGORIES=	devel

MAINTAINER=	ports@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

USES=		pkgconfig ssl
USE_GITHUB=	yes
GH_ACCOUNT=	benlaurie
GH_PROJECT=	objecthash
GH_TAGNAME=	770874c

USE_LDCONFIG=	yes

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>