Monday, December 04, 2023

misc/sent - add command line options patch

Hi,

I'd like to add the command line patch to misc/sent to make it more usable.
This allows to specify the font and colors using command lines switches.

$ sent -f serif -c \#cc88cc -b gray90 sample.txt

OK?

Best regards,
Stefan

Index: misc/sent/Makefile
===================================================================
RCS file: /cvs/ports/misc/sent/Makefile,v
diff -u -p -u -p -r1.7 Makefile
--- misc/sent/Makefile 27 Sep 2023 09:52:12 -0000 1.7
+++ misc/sent/Makefile 5 Dec 2023 06:39:35 -0000
@@ -1,6 +1,7 @@
COMMENT= simple plaintext presentation tool

DISTNAME= sent-1
+REVISION= 0

CATEGORIES= misc productivity

@@ -14,6 +15,10 @@ PERMIT_PACKAGE= Yes
WANTLIB= X11 Xft c fontconfig m

SITES= http://dl.suckless.org/tools/
+SITES.p= https://tools.suckless.org/sent/patches/cmdline_options/
+
+PATCHFILES.p= sent-options-20190213-72d33d4.diff
+PATCH_DIST_STRIP= -p1

RUN_DEPENDS= archivers/bzip2 \
graphics/farbfeld
Index: misc/sent/distinfo
===================================================================
RCS file: /cvs/ports/misc/sent/distinfo,v
diff -u -p -u -p -r1.3 distinfo
--- misc/sent/distinfo 14 Nov 2017 17:19:37 -0000 1.3
+++ misc/sent/distinfo 5 Dec 2023 06:39:35 -0000
@@ -1,2 +1,4 @@
SHA256 (sent-1.tar.gz) = e/PekxHOKR/zat9TFbePpyNz46uAynE4f7WIS8vXvjM=
+SHA256 (sent-options-20190213-72d33d4.diff) = unoDJNdgd7ijRW7orZ6o6B8sIH5Lijq9VaecAGr57vk=
SIZE (sent-1.tar.gz) = 15285
+SIZE (sent-options-20190213-72d33d4.diff) = 1536

No comments:

Post a Comment