Import lemonbar 1.2

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.

ok bentley@
This commit is contained in:
feinerer 2017-02-23 17:28:48 +00:00
parent b4aaf3f903
commit 45adbc7c47
4 changed files with 54 additions and 0 deletions

44
x11/lemonbar/Makefile Normal file
View File

@ -0,0 +1,44 @@
# $OpenBSD: Makefile,v 1.1.1.1 2017/02/23 17:28:48 feinerer Exp $
COMMENT = featherweight lemon-scented bar
VERSION = 1.2
PKGNAME = lemonbar-${VERSION}
GH_ACCOUNT = LemonBoy
GH_PROJECT = bar
GH_TAGNAME = v${VERSION}
CATEGORIES = x11
MAINTAINER = Ingo Feinerer <feinerer@logic.at>
# MIT
PERMIT_PACKAGE_CDROM = Yes
WANTLIB += c xcb xcb-randr xcb-xinerama
MODULES = gcc4
MODGCC4_ARCHS = *
MAKE_ENV = LDFLAGS="-L${X11BASE}/lib"
USE_GMAKE = Yes
NO_TEST = Yes
CFLAGS += -I${X11BASE}/include
ALL_TARGET = all doc
pre-configure:
sed -i '/^CFLAGS/s/-Os //' ${WRKSRC}/Makefile
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/lemonbar/
${INSTALL_PROGRAM} ${WRKSRC}/lemonbar ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/lemonbar.1 ${PREFIX}/man/man1
${INSTALL_DATA} ${WRKSRC}/LICENSE ${PREFIX}/share/doc/lemonbar/
.include <bsd.port.mk>

2
x11/lemonbar/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (bar-1.2.tar.gz) = uEbYRR+QZc3LlPSKi9gMB0zxBz2gZkqUWXaBkSBFv+o=
SIZE (bar-1.2.tar.gz) = 14845

3
x11/lemonbar/pkg/DESCR Normal file
View File

@ -0,0 +1,3 @@
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.

5
x11/lemonbar/pkg/PLIST Normal file
View File

@ -0,0 +1,5 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2017/02/23 17:28:48 feinerer Exp $
@bin bin/lemonbar
@man man/man1/lemonbar.1
share/doc/lemonbar/
share/doc/lemonbar/LICENSE