Files
ports/sysutils/lf/Makefile
T
danj e23f7001c6 Update to lf-37
From Igor Zornik (maintainer)
2025-09-06 20:49:46 +00:00

37 lines
841 B
Makefile

COMMENT = terminal file manager inspired by ranger written in Go
MODGO_MODNAME = github.com/gokcehan/lf
MODGO_VERSION = v0.0.0-20250825044153-6c13807a7074
R = 37
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}/lf.desktop ${PREFIX}/share/applications
.include "modules.inc"
.include <bsd.port.mk>