summaryrefslogtreecommitdiff
path: root/textproc/json-yaml/Makefile
blob: c8bd065d1490685b5c90db82f345c2208ddb0999 (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
PORTNAME=	json-yaml
DISTVERSION=	1.2.1
CATEGORIES=	textproc

MAINTAINER=	ik@sjmulder.nl
COMMENT=	Convert JSON to YAML

LICENSE=	BSD2CLAUSE
LICENSE_FILE=	${WRKSRC}/LICENSE.md

LIB_DEPENDS=	libyajl.so:devel/yajl \
		libyaml.so:textproc/libyaml

USE_GITHUB=	yes
GH_ACCOUNT=	sjmulder

MAKE_ARGS+=	MANPREFIX=${PREFIX}/man CFLAGS=-I${PREFIX}/include\ -L${PREFIX}/lib

PLIST_FILES=	bin/json-yaml \
		bin/yaml-json \
		man/man1/json-yaml.1.gz \
		man/man1/yaml-json.1.gz

.include <bsd.port.mk>