openbsd-ports/sysutils/lf/Makefile
op d4ceb7778d update sysutils/lf to r27
reminded by a similar diff sent by Thim Cederlund; maintainer timeout.
While here drop unneeded WRKDIST and move the modules to modules.inc.
2022-10-04 07:00:07 +00:00

35 lines
860 B
Makefile

COMMENT = terminal file manager inspired by ranger written in Go
MODGO_MODNAME = github.com/gokcehan/lf
MODGO_VERSION = v0.0.0-20220402215443-50f11ad3dee6
R = 27
DISTNAME = lf-${R}
CATEGORIES = sysutils
HOMEPAGE = https://github.com/gokcehan/lf
MAINTAINER = Chang, Chu-Kuan <cckuan@changchukuan.name>
# MIT
PERMIT_PACKAGE = Yes
WANTLIB += c pthread
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>