summaryrefslogtreecommitdiff
path: root/lang/fennel/Makefile
blob: eb6aa9c6df13140126a4b560c04f492f0484be7d (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
PORTNAME=	fennel
DISTVERSION=	1.1.0
CATEGORIES=	lang
MASTER_SITES=	https://git.sr.ht/~technomancy/${PORTNAME}/archive/${DISTVERSION}${EXTRACT_SUFX}?dummy=/

MAINTAINER=	jrm@FreeBSD.org
COMMENT=	Lisp that compiles to Lua

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		gmake lua:build

MAKE_ENV=	DESTDIR=${STAGEDIR} \
		LUA=${LUA_CMD} \
		LUA_DIR=${LOCALBASE} \
		LUA_INCLUDE_DIR=${LUA_INCDIR} \
		LUA_VERSION=${LUA_VER} \
		NATIVE_LUA_LIB=${LUA_LIBDIR}/liblua-${LUA_VER}.a \
		STATIC_LUA_LIB=${LUA_LIBDIR}/liblua-${LUA_VER}.a

ALL_TARGET=	build
TEST_TARGET=	test

NO_ARCH=	yes

.include <bsd.port.mk>