openbsd-ports

Working directory for my changes to OpenBSD ports
Log | Files | Refs

commit 73248e8f271e3fa7978343f4e1973c1009893ac0
parent afe68f94127540ca92b123dbce9ce2cc3ce50dae
Author: Shokara Kou <kou@13f0.net>
Date:   Fri, 20 May 2022 23:10:48 -0400

add calcurse without python dependency

Diffstat:
Aproductivity/calcurse/CVS/Entries | 4++++
Aproductivity/calcurse/CVS/Repository | 1+
Aproductivity/calcurse/CVS/Root | 1+
Aproductivity/calcurse/Makefile | 27+++++++++++++++++++++++++++
Aproductivity/calcurse/distinfo | 2++
Aproductivity/calcurse/patches/CVS/Entries | 2++
Aproductivity/calcurse/patches/CVS/Repository | 1+
Aproductivity/calcurse/patches/CVS/Root | 1+
Aproductivity/calcurse/patches/patch-src_args_c | 19+++++++++++++++++++
Aproductivity/calcurse/pkg/CVS/Entries | 3+++
Aproductivity/calcurse/pkg/CVS/Repository | 1+
Aproductivity/calcurse/pkg/CVS/Root | 1+
Aproductivity/calcurse/pkg/DESCR | 5+++++
Aproductivity/calcurse/pkg/PLIST | 38++++++++++++++++++++++++++++++++++++++
Aproductivity/calcurse/pkg/PLIST.orig | 41+++++++++++++++++++++++++++++++++++++++++
15 files changed, 147 insertions(+), 0 deletions(-)

diff --git a/productivity/calcurse/CVS/Entries b/productivity/calcurse/CVS/Entries @@ -0,0 +1,4 @@ +/Makefile/1.41/Fri Mar 11 19:51:40 2022// +/distinfo/1.22/Sat May 1 13:42:25 2021// +D/patches//// +D/pkg//// diff --git a/productivity/calcurse/CVS/Repository b/productivity/calcurse/CVS/Repository @@ -0,0 +1 @@ +ports/productivity/calcurse diff --git a/productivity/calcurse/CVS/Root b/productivity/calcurse/CVS/Root @@ -0,0 +1 @@ +/cvs diff --git a/productivity/calcurse/Makefile b/productivity/calcurse/Makefile @@ -0,0 +1,27 @@ +COMMENT= text-based calendar and scheduling application + +DISTNAME= calcurse-4.8.0 +REVISION= 1 +EPOCH= 0 + +CATEGORIES= productivity + +HOMEPAGE= https://calcurse.org/ + +# BSD +PERMIT_PACKAGE= Yes + +WANTLIB += c curses iconv intl m pthread + +MASTER_SITES= ${HOMEPAGE}files/ + +LIB_DEPENDS= devel/gettext,-runtime + +CONFIGURE_STYLE=gnu +CONFIGURE_ARGS= --without-asciidoc + +post-install: + rm ${PREFIX}/bin/calcurse-{caldav,vdir} + ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/calcurse + +.include <bsd.port.mk> diff --git a/productivity/calcurse/distinfo b/productivity/calcurse/distinfo @@ -0,0 +1,2 @@ +SHA256 (calcurse-4.8.0.tar.gz) = SKc2ZmzEtrUwEtc7OqcBUsGLQebHtIB/qw8WjWRa4yw= +SIZE (calcurse-4.8.0.tar.gz) = 716234 diff --git a/productivity/calcurse/patches/CVS/Entries b/productivity/calcurse/patches/CVS/Entries @@ -0,0 +1,2 @@ +/patch-src_args_c/1.5/Fri Mar 11 19:51:40 2022// +D diff --git a/productivity/calcurse/patches/CVS/Repository b/productivity/calcurse/patches/CVS/Repository @@ -0,0 +1 @@ +ports/productivity/calcurse/patches diff --git a/productivity/calcurse/patches/CVS/Root b/productivity/calcurse/patches/CVS/Root @@ -0,0 +1 @@ +/cvs diff --git a/productivity/calcurse/patches/patch-src_args_c b/productivity/calcurse/patches/patch-src_args_c @@ -0,0 +1,19 @@ +calcurse uses long for times all over the place; dirty fix for 32-bit +arch with 64-bit time_t + +Index: src/args.c +--- src/args.c.orig ++++ src/args.c +@@ -251,10 +251,11 @@ static void next_arg(void) + /* + * Print the date on stdout. + */ +-static void arg_print_date(long date) ++static void arg_print_date(long date_l) + { + char date_str[BUFSIZ]; + struct tm lt; ++ time_t date = date_l; + + localtime_r((time_t *) & date, &lt); + strftime(date_str, BUFSIZ, conf.output_datefmt, &lt); diff --git a/productivity/calcurse/pkg/CVS/Entries b/productivity/calcurse/pkg/CVS/Entries @@ -0,0 +1,3 @@ +/DESCR/1.1.1.1/Sat Oct 27 15:25:37 2007// +/PLIST/1.13/Fri Mar 11 19:51:40 2022// +D diff --git a/productivity/calcurse/pkg/CVS/Repository b/productivity/calcurse/pkg/CVS/Repository @@ -0,0 +1 @@ +ports/productivity/calcurse/pkg diff --git a/productivity/calcurse/pkg/CVS/Root b/productivity/calcurse/pkg/CVS/Root @@ -0,0 +1 @@ +/cvs diff --git a/productivity/calcurse/pkg/DESCR b/productivity/calcurse/pkg/DESCR @@ -0,0 +1,5 @@ +Calcurse is a text-based calendar and scheduling application. It helps +keeping track of events, appointments and everyday tasks. +A configurable notification system reminds user of upcoming deadlines, +and the curses based interface can be customized to suit user needs. +All of the commands are documented within an online help system. diff --git a/productivity/calcurse/pkg/PLIST b/productivity/calcurse/pkg/PLIST @@ -0,0 +1,38 @@ +@bin bin/calcurse +bin/calcurse-upgrade +@man man/man1/calcurse.1 +share/doc/calcurse/ +share/doc/calcurse/add.txt +share/doc/calcurse/config.txt +share/doc/calcurse/copy-paste.txt +share/doc/calcurse/credits.txt +share/doc/calcurse/delete.txt +share/doc/calcurse/displacement.txt +share/doc/calcurse/edit.txt +share/doc/calcurse/enote.txt +share/doc/calcurse/export.txt +share/doc/calcurse/flag.txt +share/doc/calcurse/general.txt +share/doc/calcurse/goto.txt +share/doc/calcurse/import.txt +share/doc/calcurse/intro.txt +share/doc/calcurse/manual.html +share/doc/calcurse/manual.txt +share/doc/calcurse/other.txt +share/doc/calcurse/pipe.txt +share/doc/calcurse/priority.txt +share/doc/calcurse/reload.txt +share/doc/calcurse/repeat.txt +share/doc/calcurse/save.txt +share/doc/calcurse/submitting-patches.html +share/doc/calcurse/tab.txt +share/doc/calcurse/view.txt +share/doc/calcurse/vnote.txt +share/examples/calcurse/ +share/locale/de/LC_MESSAGES/calcurse.mo +share/locale/en/LC_MESSAGES/calcurse.mo +share/locale/es/LC_MESSAGES/calcurse.mo +share/locale/fr/LC_MESSAGES/calcurse.mo +share/locale/nl/LC_MESSAGES/calcurse.mo +share/locale/pt_BR/LC_MESSAGES/calcurse.mo +share/locale/ru/LC_MESSAGES/calcurse.mo diff --git a/productivity/calcurse/pkg/PLIST.orig b/productivity/calcurse/pkg/PLIST.orig @@ -0,0 +1,41 @@ +@bin bin/calcurse +bin/calcurse-caldav +bin/calcurse-upgrade +bin/calcurse-vdir +@man man/man1/calcurse.1 +share/doc/calcurse/ +share/doc/calcurse/add.txt +share/doc/calcurse/config.txt +share/doc/calcurse/copy-paste.txt +share/doc/calcurse/credits.txt +share/doc/calcurse/delete.txt +share/doc/calcurse/displacement.txt +share/doc/calcurse/edit.txt +share/doc/calcurse/enote.txt +share/doc/calcurse/export.txt +share/doc/calcurse/flag.txt +share/doc/calcurse/general.txt +share/doc/calcurse/goto.txt +share/doc/calcurse/import.txt +share/doc/calcurse/intro.txt +share/doc/calcurse/manual.html +share/doc/calcurse/manual.txt +share/doc/calcurse/other.txt +share/doc/calcurse/pipe.txt +share/doc/calcurse/priority.txt +share/doc/calcurse/reload.txt +share/doc/calcurse/repeat.txt +share/doc/calcurse/save.txt +share/doc/calcurse/submitting-patches.html +share/doc/calcurse/tab.txt +share/doc/calcurse/view.txt +share/doc/calcurse/vnote.txt +share/examples/calcurse/ +share/examples/calcurse/caldav.config.sample +share/locale/de/LC_MESSAGES/calcurse.mo +share/locale/en/LC_MESSAGES/calcurse.mo +share/locale/es/LC_MESSAGES/calcurse.mo +share/locale/fr/LC_MESSAGES/calcurse.mo +share/locale/nl/LC_MESSAGES/calcurse.mo +share/locale/pt_BR/LC_MESSAGES/calcurse.mo +share/locale/ru/LC_MESSAGES/calcurse.mo