ae37f26f9e
Port changes: Respect upstream's default behavior and install the fennel script rather than fennel-bin, the native binary. Upstream changes: https://git.sr.ht/~technomancy/fennel/tree/main/item/changelog.md#100--2021-11-14 Sponsored by: The FreeBSD Foundation
27 lines
607 B
Makefile
27 lines
607 B
Makefile
PORTNAME= fennel
|
|
DISTVERSION= 1.0.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>
|