Edit

IABSD.fr/ports/sysutils/lf/Makefile

Branch :

  • Show log

    Commit

  • Author : rsadowski
    Date : 2025-05-11 06:20:05
    Hash : 048f96fc
    Message : Update lf to r35 Igor Zornik pointed out that current maintainer does not respond to the update diff and email bounced. For this reason I delete the current maintainer. Update diff form Igor Zornik, thanks

  • sysutils/lf/Makefile
  • COMMENT =	terminal file manager inspired by ranger written in Go
    
    MODGO_MODNAME =	github.com/gokcehan/lf
    MODGO_VERSION =	v0.0.0-20250425012345-3d205f05e3ce
    
    R =		35
    DISTNAME =	lf-${R}
    
    CATEGORIES =	sysutils
    
    HOMEPAGE =	https://github.com/gokcehan/lf
    
    # 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>