summaryrefslogtreecommitdiffstats
path: root/textproc/jshon/Makefile
blob: 71ce4a02d758c2de4baecd25cef7a7972ddd71af (plain)
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
# $FreeBSD$

PORTNAME=	jshon
PORTVERSION=	20131105
CATEGORIES=	textproc

MAINTAINER=	ports@FreeBSD.org
COMMENT=	JSON parser for the shell

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

LIB_DEPENDS=	libjansson.so:devel/jansson

USE_GITHUB=	yes
GH_ACCOUNT=	keenerd

USES=		gmake

CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib

PLIST_FILES=	bin/jshon man/man1/jshon.1.gz

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1

.include <bsd.port.mk>
OpenPOWER on IntegriCloud