summaryrefslogtreecommitdiff
path: root/devel/yajl-tcl/Makefile
blob: 467d1311ab3a4eae2c4bfe385e056ee42eb29061 (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
30
31
32
# Created by: gahr
# $FreeBSD$

PORTNAME=	yajl-tcl
PORTVERSION=	1.6
DISTVERSIONPREFIX=	v
CATEGORIES=	devel

MAINTAINER=	tcltk@FreeBSD.org
COMMENT=	Tcl bindings for Yet Another JSON Library

LICENSE=	BSD3CLAUSE

LIB_DEPENDS=	libyajl.so:${PORTSDIR}/devel/yajl

USE_GITHUB=	yes
GH_ACCOUNT=	flightaware

USES+=		pkgconfig tcl:85+
USE_AUTOTOOLS=	autoconf
CONFIGURE_ARGS+=--with-tcl=${TCL_LIBDIR} \
		--exec-prefix=${PREFIX}

PLIST_FILES=	lib/yajltcl${PORTVERSION}/libyajltcl.so.1 \
		lib/yajltcl${PORTVERSION}/pkgIndex.tcl \
		lib/yajltcl${PORTVERSION}/yajl.tcl

regression-test: build
#	Requires devel/tcllib
	cd ${WRKSRC} && ${MAKE} test

.include <bsd.port.mk>