lang/fennel: Also install fennel library

This commit is contained in:
Joseph Mingrone 2021-08-20 12:57:47 -03:00
parent 49fb6c3662
commit d27c45ee2f
No known key found for this signature in database
GPG key ID: 36A40C83B0D6EF9E
2 changed files with 4 additions and 1 deletions

View file

@ -1,5 +1,6 @@
PORTNAME= fennel
DISTVERSION= 0.10.0
PORTREVISION= 1
CATEGORIES= lang
MASTER_SITES= https://git.sr.ht/~technomancy/${PORTNAME}/archive/${DISTVERSION}${EXTRACT_SUFX}?dummy=/
@ -16,9 +17,10 @@ MAKE_ENV= LUA=${LUA_CMD} \
LUA_INCLUDE_DIR=${LUA_INCDIR} \
STATIC_LUA_LIB=${LUA_LIBDIR}/liblua-${LUA_VER}.a
ALL_TARGET= ${PORTNAME}-bin
ALL_TARGET= ${PORTNAME}-bin ${PORTNAME}.lua
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.lua ${STAGEDIR}${LUA_LIBDIR}
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}view.lua ${STAGEDIR}${LUA_LIBDIR}
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}-bin ${STAGEDIR}${PREFIX}/bin/${PORTNAME}

View file

@ -1,3 +1,4 @@
bin/fennel
lib/fennel.lua
lib/fennelview.lua
man/man1/fennel.1.gz