summaryrefslogtreecommitdiff
path: root/net/nng/Makefile
blob: 5c42013ec7136dc85bd67ef656e44570c4bd5f2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

PORTNAME=	nng
DISTVERSIONPREFIX=	v
DISTVERSION=	1.4.0
CATEGORIES=	net

MAINTAINER=	swills@FreeBSD.org
COMMENT=	Lightweight, broker-less messaging

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE.txt

USES=		cmake compiler:c11
USE_GITHUB=	yes
GH_ACCOUNT=	nanomsg

CMAKE_ARGS+=	-DBUILD_SHARED_LIBS:BOOL=ON
USE_LDCONFIG=	yes

PLIST_SUB=	PORTMAJ=${PORTVERSION:C/\..*//} \
		PORTVERSION=${PORTVERSION}

.include <bsd.port.mk>