head	1.2;
access;
symbols
	pkgsrc-2026Q1:1.2.0.12
	pkgsrc-2026Q1-base:1.2
	pkgsrc-2025Q4:1.2.0.10
	pkgsrc-2025Q4-base:1.2
	pkgsrc-2025Q3:1.2.0.8
	pkgsrc-2025Q3-base:1.2
	pkgsrc-2025Q2:1.2.0.6
	pkgsrc-2025Q2-base:1.2
	pkgsrc-2025Q1:1.2.0.4
	pkgsrc-2025Q1-base:1.2
	pkgsrc-2024Q4:1.2.0.2
	pkgsrc-2024Q4-base:1.2
	pkgsrc-2024Q3:1.1.0.10
	pkgsrc-2024Q3-base:1.1
	pkgsrc-2024Q2:1.1.0.8
	pkgsrc-2024Q2-base:1.1
	pkgsrc-2024Q1:1.1.0.6
	pkgsrc-2024Q1-base:1.1
	pkgsrc-2023Q4:1.1.0.4
	pkgsrc-2023Q4-base:1.1
	pkgsrc-2023Q3:1.1.0.2
	pkgsrc-2023Q3-base:1.1;
locks; strict;
comment	@# @;


1.2
date	2024.11.13.08.49.25;	author pin;	state Exp;
branches;
next	1.1;
commitid	ImFtyppQPB4TLsxF;

1.1
date	2023.07.04.20.26.46;	author pin;	state Exp;
branches;
next	;
commitid	hDpGB3iijP3vDwvE;


desc
@@


1.2
log
@time/uair: update to 0.6.2

Added

    New uairctl flag for listen subcommand: -e or --exit. Allows to output remaining time and exit the listening instance immediately.

Fixed

    uair now returns exit code 1 on failure.
    Fixed building with rust version >= 1.80.0.
@
text
@# $NetBSD: Makefile,v 1.1 2023/07/04 20:26:46 pin Exp $

DISTNAME=	uair-0.6.2
CATEGORIES=	time
MASTER_SITES=	${MASTER_SITE_GITHUB:=metent/}
GITHUB_TAG=	v${PKGVERSION_NOREV}

MAINTAINER=	pkgsrc-users@@NetBSD.org
HOMEPAGE=	https://github.com/metent/uair/
COMMENT=	Extensible pomodoro timer
LICENSE=	mit

TOOL_DEPENDS+=	scdoc-[0-9]*:../../textproc/scdoc

.include "cargo-depends.mk"

INSTALLATION_DIRS=	${PKGMANDIR}/man1 ${PKGMANDIR}/man5 share/examples/uair

post-install:
	scdoc < ${WRKSRC}/docs/uair.1.scd > ${WRKSRC}/docs/uair.1
	scdoc < ${WRKSRC}/docs/uairctl.1.scd > ${WRKSRC}/docs/uairctl.1
	scdoc < ${WRKSRC}/docs/uair.5.scd > ${WRKSRC}/docs/uair.5
	${INSTALL_MAN} ${WRKSRC}/docs/uair.1 \
		${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/uair.1
	${INSTALL_MAN} ${WRKSRC}/docs/uairctl.1 \
		${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/uairctl.1
	${INSTALL_MAN} ${WRKSRC}/docs/uair.5 \
		${DESTDIR}${PREFIX}/${PKGMANDIR}/man5/uair.5
	${INSTALL_DATA} ${WRKSRC}/resources/uair.toml \
		${DESTDIR}${PREFIX}/share/examples/uair

.include "../../lang/rust/cargo.mk"
.include "../../mk/bsd.pkg.mk"
@


1.1
log
@time/uair: import package

Minimal pomodoro timer for UNIX-like operating systems. Unlike other timers,
uair simply prints the remaining time to standard output. Other than making the
code more maintainable, this design allows uair to be very extensible as it can
be used in various status bars and even command-line and graphical user
interfaces.

Features
- Extensible: Can be used in status bars, desktop widgets, CLIs, GUIs, etc.
- Keyboard-driven: Uses uairctl command-line utility for pausing/resuming the
  timer. It can be binded to a keyboard shortcut.
- Resource-efficient: Uses concurrency instead of spawing multiple threads.
- Multiple synchronized timers: Multiple synchronized uair timers can co-exist
  while sharing a single handle
- Minimal: It adheres to the UNIX philosophy of focusing in doing one thing,
  and doing it well.
@
text
@d1 1
a1 1
# $NetBSD$
d3 1
a3 1
DISTNAME=	uair-0.6.1
@

