Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Aug 2021 16:01:24 GMT
From:      Joseph Mingrone <jrm@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: d27c45ee2fca - main - lang/fennel: Also install fennel library
Message-ID:  <202108201601.17KG1OC1031172@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jrm:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d27c45ee2fcacb59569c4011f91c4c045fb64244

commit d27c45ee2fcacb59569c4011f91c4c045fb64244
Author:     Joseph Mingrone <jrm@FreeBSD.org>
AuthorDate: 2021-08-20 15:57:47 +0000
Commit:     Joseph Mingrone <jrm@FreeBSD.org>
CommitDate: 2021-08-20 16:00:13 +0000

    lang/fennel: Also install fennel library
---
 lang/fennel/Makefile  | 4 +++-
 lang/fennel/pkg-plist | 1 +
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/lang/fennel/Makefile b/lang/fennel/Makefile
index e5fa86c3de25..522736b6a6fa 100644
--- a/lang/fennel/Makefile
+++ b/lang/fennel/Makefile
@@ -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}
diff --git a/lang/fennel/pkg-plist b/lang/fennel/pkg-plist
index bce485808900..36a8e191d175 100644
--- a/lang/fennel/pkg-plist
+++ b/lang/fennel/pkg-plist
@@ -1,3 +1,4 @@
 bin/fennel
+lib/fennel.lua
 lib/fennelview.lua
 man/man1/fennel.1.gz



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202108201601.17KG1OC1031172>