mirror of
https://github.com/openbsd/ports.git
synced 2026-06-18 07:24:23 +02:00
9c850a303c
Update diff from new maintainer Igor Zornik
37 lines
896 B
Makefile
37 lines
896 B
Makefile
COMMENT = terminal file manager inspired by ranger written in Go
|
|
|
|
MODGO_MODNAME = github.com/gokcehan/lf
|
|
MODGO_VERSION = v0.0.0-20250718015231-e5c2cc44d815
|
|
|
|
R = 36
|
|
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
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKDIR}/go/bin/lf ${PREFIX}/bin
|
|
${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>
|