aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2023-03-26 08:55:12 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2023-03-26 08:55:12 +0000
commit6d4a286b8e98173ed6d4b4b1b5087883ab6a1a7c (patch)
treeba07047545be0d91ca73e72ecaae9da9e6b5e2df /misc
parentb7b683999091ffd9ae3f278b1a4523c77bb4b8da (diff)
downloadports-6d4a286b8e98173ed6d4b4b1b5087883ab6a1a7c.tar.gz
ports-6d4a286b8e98173ed6d4b4b1b5087883ab6a1a7c.zip
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
Diffstat (limited to 'misc')
-rw-r--r--misc/clifm/Makefile9
-rw-r--r--misc/clifm/distinfo6
-rw-r--r--misc/clifm/files/patch-Makefile11
-rw-r--r--misc/clifm/pkg-plist1
4 files changed, 8 insertions, 19 deletions
diff --git a/misc/clifm/Makefile b/misc/clifm/Makefile
index ed3c88b375f8..8eaef5ab7e1e 100644
--- a/misc/clifm/Makefile
+++ b/misc/clifm/Makefile
@@ -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>
diff --git a/misc/clifm/distinfo b/misc/clifm/distinfo
index 91d4f375a644..925cd4672fa5 100644
--- a/misc/clifm/distinfo
+++ b/misc/clifm/distinfo
@@ -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
diff --git a/misc/clifm/files/patch-Makefile b/misc/clifm/files/patch-Makefile
deleted file mode 100644
index 1d19dac29dd6..000000000000
--- a/misc/clifm/files/patch-Makefile
+++ /dev/null
@@ -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
diff --git a/misc/clifm/pkg-plist b/misc/clifm/pkg-plist
index ec9b03280029..41ec75fefac5 100644
--- a/misc/clifm/pkg-plist
+++ b/misc/clifm/pkg-plist
@@ -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