From owner-svn-ports-all@freebsd.org Thu Jul 18 03:53:22 2019 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 54A11BD6B0; Thu, 18 Jul 2019 03:53:22 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 36764716D8; Thu, 18 Jul 2019 03:53:22 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0DA9314CC; Thu, 18 Jul 2019 03:53:22 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x6I3rLCf098849; Thu, 18 Jul 2019 03:53:21 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x6I3rLtB098848; Thu, 18 Jul 2019 03:53:21 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201907180353.x6I3rLtB098848@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Thu, 18 Jul 2019 03:53:21 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r506836 - head/deskutils/cfiles X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: head/deskutils/cfiles X-SVN-Commit-Revision: 506836 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 36764716D8 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.98 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.98)[-0.980,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jul 2019 03:53:22 -0000 Author: yuri Date: Thu Jul 18 03:53:21 2019 New Revision: 506836 URL: https://svnweb.freebsd.org/changeset/ports/506836 Log: deskutils/cfiles: Add dependencies I couldn't make image and pdf previews work because the corresponding processes fail due to incorrect command lines. The upstream is notified. Reported by: Lars Engels Modified: head/deskutils/cfiles/Makefile Modified: head/deskutils/cfiles/Makefile ============================================================================== --- head/deskutils/cfiles/Makefile Wed Jul 17 23:47:11 2019 (r506835) +++ head/deskutils/cfiles/Makefile Thu Jul 18 03:53:21 2019 (r506836) @@ -3,6 +3,7 @@ PORTNAME= cfiles DISTVERSIONPREFIX= v DISTVERSION= 1.7.2 +PORTREVISION= 1 CATEGORIES= deskutils MAINTAINER= yuri@FreeBSD.org @@ -11,8 +12,11 @@ COMMENT= Ncurses file manager written in C with vim-li LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -#RUN_DEPENDS= ${LOCALBASE}/libexec/w3m/w3mimgdisplay:www/w3m # w3mimgdisplay is used from scripts/displayimg but www/w3m doesn't install it by default -RUN_DEPENDS= bash:shells/bash +RUN_DEPENDS= ${LOCALBASE}/libexec/w3m/w3mimgdisplay:www/w3m-img \ + atool:archivers/atool \ + bash:shells/bash \ + fzf:textproc/fzf \ + pdftoppm:graphics/poppler-utils USES= ncurses:port pkgconfig shebangfix SHEBANG_FILES= scripts/* @@ -28,11 +32,17 @@ PLIST_FILES= bin/${PORTNAME} \ ${DATADIR}/scripts/displayimg \ ${DATADIR}/scripts/displayimg_uberzug +post-patch: + @${REINPLACE_CMD} -E 's,"(atool|fzf|pdftoppm)","${LOCALBASE}/bin/\1",g; s|"/bin/bash"|"${LOCALBASE}/bin/bash"|' \ + ${WRKSRC}/cf.c + @${REINPLACE_CMD} -E 's|W3MIMGDISPLAY="/usr/lib/w3m/w3mimgdisplay"|W3MIMGDISPLAY="${LOCALBASE}/libexec/w3m/w3mimgdisplay"|' \ + ${WRKSRC}/scripts/displayimg ${WRKSRC}/scripts/clearimg + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${MKDIR} ${STAGEDIR}${PREFIX}/share/cfiles/scripts .for s in clearimg displayimg displayimg_uberzug clearimg_uberzug - ${INSTALL_SCRIPT} ${WRKSRC}/scripts/${s} ${STAGEDIR}${PREFIX}/share/cfiles/scripts + ${INSTALL_SCRIPT} ${WRKSRC}/scripts/${s} ${STAGEDIR}${DATADIR}/scripts .endfor ${INSTALL_MAN} ${WRKSRC}/cfiles.1 ${STAGEDIR}${MAN5PREFIX}/man/man1