mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-15 03:14:23 +00:00
5a87798706
Changes: * add json2huddle parser - Add a regression-test target
34 lines
685 B
Makefile
34 lines
685 B
Makefile
# Created by: gahr
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= yajl-tcl
|
|
PORTVERSION= 1.6
|
|
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
|
|
GH_TAGNAME= v${PORTVERSION}
|
|
GH_COMMIT= 002cd30
|
|
|
|
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>
|