misc/clifm: update CliFM to version 1.11

- Kill the patchfile and pass correct LIBS_FreeBSD value
  via make(1) environment instead
- Garbage-collect no longer needed `post-stage' target

Reported by:	portscout
This commit is contained in:
Alexey Dokuchaev 2023-03-26 08:55:12 +00:00
parent b7b6839990
commit 6d4a286b8e
4 changed files with 8 additions and 19 deletions

View file

@ -1,5 +1,5 @@
PORTNAME= clifm
PORTVERSION= 1.10
PORTVERSION= 1.11
DISTVERSIONPREFIX= v
CATEGORIES= misc
@ -18,13 +18,12 @@ GH_ACCOUNT= leo-arch
GH_PROJECT= ${PORTNAME}-colors:cfmc
GH_TAGNAME= b07f638:cfmc
ALL_TARGET= build
SHEBANG_FILES= misc/tools/manpages_comp_gen.py
MAKE_ENV= LIBS_FreeBSD="-I${LOCALBASE}/include -L${LOCALBASE}/lib \
-lreadline -lintl -lmagic"
SHEBANG_FILES= misc/tools/deroff.py misc/tools/manpages_comp_gen.py
post-install:
${INSTALL_DATA} ${WRKSRC_cfmc}/colors/*.clifm \
${STAGEDIR}${DATADIR}/colors
post-stage:
@${RM} ${STAGEDIR}${DATADIR}/plugins/*.orig
.include <bsd.port.mk>

View file

@ -1,5 +1,5 @@
TIMESTAMP = 1675454881
SHA256 (leo-arch-clifm-v1.10_GH0.tar.gz) = b3c0bd5875009dccca8f69c6c25946f13584a34ee773af769fa53186a0e186e2
SIZE (leo-arch-clifm-v1.10_GH0.tar.gz) = 1355974
TIMESTAMP = 1679687446
SHA256 (leo-arch-clifm-v1.11_GH0.tar.gz) = 32f69ab2215bfcf10e8fe3920c5b4ffd6e699a68463577b32c39f9189d5a9c56
SIZE (leo-arch-clifm-v1.11_GH0.tar.gz) = 1378500
SHA256 (leo-arch-clifm-colors-b07f638_GH0.tar.gz) = 4b5d7d846f1be4041d9260bdbe81301fb8201db27e8267ae6e59c2e989d59edc
SIZE (leo-arch-clifm-colors-b07f638_GH0.tar.gz) = 1538706

View file

@ -1,11 +0,0 @@
--- Makefile.orig 2022-06-28 06:17:34 UTC
+++ Makefile
@@ -24,7 +24,7 @@ LIBS_Linux ?= -lreadline -lacl -lcap -lmagic
CFLAGS ?= -O3 -fstack-protector-strong -march=native -Wall
LIBS_Linux ?= -lreadline -lacl -lcap -lmagic
-LIBS_FreeBSD ?= -I/usr/local/include -L/usr/local/lib -lreadline -lintl -lmagic
+LIBS_FreeBSD ?= -I$(LOCALBASE)/include -L$(LOCALBASE)/lib -lreadline -lintl -lmagic
LIBS_NetBSD ?= -I/usr/pkg/include -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lreadline -lintl -lmagic
LIBS_OpenBSD ?= -I/usr/local/include -L/usr/local/lib -lereadline -lintl -lmagic
LIBS_Darwin ?= -I/opt/local/include -L/opt/local/lib -lreadline -lintl -lmagic

View file

@ -13,6 +13,7 @@ share/bash-completion/completions/clifm
%%DATADIR%%/colors/cold.clifm
%%DATADIR%%/colors/contrast.clifm
%%DATADIR%%/colors/cyberpunk.clifm
%%DATADIR%%/colors/default-256.clifm
%%DATADIR%%/colors/default.clifm
%%DATADIR%%/colors/dm10s.clifm
%%DATADIR%%/colors/dracula-vivid.clifm