head	1.5;
access;
symbols
	pkgsrc-2026Q2:1.5.0.10
	pkgsrc-2026Q2-base:1.5
	pkgsrc-2026Q1:1.5.0.8
	pkgsrc-2026Q1-base:1.5
	pkgsrc-2025Q4:1.5.0.6
	pkgsrc-2025Q4-base:1.5
	pkgsrc-2025Q3:1.5.0.4
	pkgsrc-2025Q3-base:1.5
	pkgsrc-2025Q2:1.5.0.2
	pkgsrc-2025Q2-base:1.5
	pkgsrc-2025Q1:1.4.0.6
	pkgsrc-2025Q1-base:1.4
	pkgsrc-2024Q4:1.4.0.4
	pkgsrc-2024Q4-base:1.4
	pkgsrc-2024Q3:1.4.0.2
	pkgsrc-2024Q3-base:1.4
	pkgsrc-2024Q2:1.3.0.16
	pkgsrc-2024Q2-base:1.3
	pkgsrc-2024Q1:1.3.0.14
	pkgsrc-2024Q1-base:1.3
	pkgsrc-2023Q4:1.3.0.12
	pkgsrc-2023Q4-base:1.3
	pkgsrc-2023Q3:1.3.0.10
	pkgsrc-2023Q3-base:1.3
	pkgsrc-2023Q2:1.3.0.8
	pkgsrc-2023Q2-base:1.3
	pkgsrc-2023Q1:1.3.0.6
	pkgsrc-2023Q1-base:1.3
	pkgsrc-2022Q4:1.3.0.4
	pkgsrc-2022Q4-base:1.3
	pkgsrc-2022Q3:1.3.0.2
	pkgsrc-2022Q3-base:1.3
	pkgsrc-2022Q2:1.2.0.14
	pkgsrc-2022Q2-base:1.2
	pkgsrc-2022Q1:1.2.0.12
	pkgsrc-2022Q1-base:1.2
	pkgsrc-2021Q4:1.2.0.10
	pkgsrc-2021Q4-base:1.2
	pkgsrc-2021Q3:1.2.0.8
	pkgsrc-2021Q3-base:1.2
	pkgsrc-2021Q2:1.2.0.6
	pkgsrc-2021Q2-base:1.2
	pkgsrc-2021Q1:1.2.0.4
	pkgsrc-2021Q1-base:1.2
	pkgsrc-2020Q4:1.2.0.2
	pkgsrc-2020Q4-base:1.2;
locks; strict;
comment	@# @;


1.5
date	2025.06.12.20.04.10;	author vins;	state Exp;
branches;
next	1.4;
commitid	9Z0T6IQAXeuLIDYF;

1.4
date	2024.08.02.10.15.32;	author pin;	state Exp;
branches;
next	1.3;
commitid	774XF4zN55IHyekF;

1.3
date	2022.07.04.19.51.29;	author pin;	state Exp;
branches;
next	1.2;
commitid	vFeunhT2LA4KaCKD;

1.2
date	2020.11.23.14.07.27;	author nia;	state Exp;
branches;
next	1.1;
commitid	JpmEU6tyCOgCa1xC;

1.1
date	2020.11.03.11.44.58;	author nia;	state Exp;
branches;
next	;
commitid	5Wid8FHQkuYt1ruC;


desc
@@


1.5
log
@x11/lemonbar: fix build on SunOS.
@
text
@# $NetBSD: Makefile,v 1.4 2024/08/02 10:15:32 pin Exp $

DISTNAME=	lemonbar-1.5
PKGREVISION=	1
CATEGORIES=	x11
MASTER_SITES=	${MASTER_SITE_GITHUB:=LemonBoy/}
GITHUB_PROJECT=	bar
GITHUB_TAG=	v${PKGVERSION_NOREV}

MAINTAINER=	hopkinsza@@gmail.com
HOMEPAGE=	https://github.com/LemonBoy/bar
COMMENT=	Featherweight lemon-scented bar
LICENSE=	mit

CONFLICTS=	lemonbar-xft-[0-9]*

USE_TOOLS+=	gmake pod2man

BUILD_TARGET=	all doc

CFLAGS.NetBSD+=	-D_NETBSD_SOURCE # memrchr

BUILDLINK_TRANSFORM+=	rm:-0s
BUILDLINK_TRANSFORM+=	opt:-std=c99:-std=gnu99	# strdup(), getopt()

MAKE_FLAGS+=		VERSION=${PKGVERSION_NOREV}

INSTALLATION_DIRS+=	bin ${PKGMANDIR}/man1

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/lemonbar ${DESTDIR}${PREFIX}/bin/
	${INSTALL_MAN} ${WRKSRC}/lemonbar.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/

.include "../../x11/libxcb/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@


1.4
log
@x11/lemonbar: update to 1.5

Changelog
 - Use the specified underline color when resetting the color palette.
 - Set the WM_CLASS atom for all the lemonbar windows.
 - Call pledge() at startup when running on OpenBSD.
 - Fix a silly bug where the last monitor in the list was ignored.
 - Fix another silly bug that affected systems with mirrored outputs (Thanks @@insom).
 - Code cleanup.

Thank you for watching.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2022/07/04 19:51:29 pin Exp $
d4 1
d15 1
a15 1
CONFLICTS=      lemonbar-xft-[0-9]*
d23 6
a28 2
INSTALLATION_DIRS+=	bin
INSTALLATION_DIRS+=	${PKGMANDIR}/man1
@


1.3
log
@x11/lemonbar: prepare import of Xft variant
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2020/11/23 14:07:27 nia Exp $
d3 1
a3 1
DISTNAME=	lemonbar-1.4
@


1.2
log
@lemonbar: Update to 1.4

Notable changes:

    Unlimited number of clickable areas, the -a switch was removed.
    Unlimited number of loadable fonts (yay, I guess?).
    You can now specify what screens are used by lemonbar with the -o switch.
    The new Sn specifier allows you to select a screen by name.
    Much better handling of rapidly-changing input (#107).
    Underlines and overlines are not reset when changing the alignment.

Bug fixes:

    Use opaque black/white colors as default values.
    Reset the attributes and colors between each rendered line.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2020/11/03 11:44:58 nia Exp $
d14 2
@


1.1
log
@x11: add lemonbar

based on work by Zach Hopkins in pkgsrc-wip.

lemonbar (formerly known as bar) is a lightweight bar entirely based on
XCB. Provides full UTF-8 support, basic formatting, RandR and Xinerama
support and EWMH compliance without wasting your precious memory.
@
text
@d1 1
a1 1
# $NetBSD$
d3 1
a3 1
DISTNAME=	lemonbar-1.3
d16 1
a16 1
AUTO_MKDIRS=	yes
d18 4
a21 7
# generate the man page as in the lemonbar Makefile's `doc' target
# because `all' does not call it
post-build:
	${TOOLS_PATH.pod2man} --section=1 --name=lemonbar \
		--center="lemonbar manual" \
		--release="${PKGVERSION_NOREV}" \
		${WRKSRC}/README.pod > ${WRKSRC}/lemonbar.1
@

