Files
jtt d9e5cc31f1 sysutils/lf: update to 41
Diff by Igor Zornik (maintainer)
2026-02-10 22:52:41 +00:00

38 lines
914 B
Makefile

COMMENT = terminal file manager inspired by ranger written in Go
MODGO_MODNAME = github.com/gokcehan/lf
MODGO_VERSION = v0.0.0-20260204053052-18ab3cf6500d
R = 41
DISTNAME = lf-${R}
CATEGORIES = sysutils
HOMEPAGE = https://github.com/gokcehan/lf
MAINTAINER = Igor Zornik <mocheryl@mocheryl.org>
# MIT
PERMIT_PACKAGE = Yes
WANTLIB += c pthread
MODGO_LDFLAGS += -X 'main.gVersion=r${R}'
MODULES = lang/go
RUN_DEPENDS = devel/desktop-file-utils
post-install:
${INSTALL_MAN_DIR} ${PREFIX}/man/man1
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/lf
${INSTALL_DATA_DIR} ${PREFIX}/share/applications
${INSTALL_MAN} ${WRKSRC}/lf.1 ${PREFIX}/man/man1
${INSTALL_DATA} ${WRKSRC}/etc/lfrc.example ${PREFIX}/share/examples/lf
${INSTALL_DATA} ${WRKSRC}/etc/ruler.default ${PREFIX}/share/examples/lf
${INSTALL_DATA} ${WRKSRC}/lf.desktop ${PREFIX}/share/applications
.include "modules.inc"
.include <bsd.port.mk>