mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
Add new port x11/lemonbar v1.1
The PR was for bar-aint-recursive v1.0, but the project was renamed and got a new release since the PR was submitted nearly a year ago. PR: 196682 Submitted by: evgeni.dimitrov (gmail) 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.
This commit is contained in:
parent
153c70b177
commit
351981c0d5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=404133
@ -126,6 +126,7 @@
|
||||
SUBDIR += kgamma
|
||||
SUBDIR += konsole
|
||||
SUBDIR += leechcraft
|
||||
SUBDIR += lemonbar
|
||||
SUBDIR += libICE
|
||||
SUBDIR += libSM
|
||||
SUBDIR += libX11
|
||||
|
44
x11/lemonbar/Makefile
Normal file
44
x11/lemonbar/Makefile
Normal file
@ -0,0 +1,44 @@
|
||||
# Created by: Evgeni Dimitrov <evgeni.dimitrov@gmail.com>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= lemonbar
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 1.1
|
||||
CATEGORIES= x11
|
||||
|
||||
MAINTAINER= evgeni.dimitrov@gmail.com
|
||||
COMMENT= Lightweight xcb based bar
|
||||
|
||||
LICENSE= MIT
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
USES= gmake perl5
|
||||
USE_PERL5= build
|
||||
USE_XORG= xcb
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= LemonBoy
|
||||
GH_PROJECT= bar
|
||||
|
||||
CFLAGS+= -I${LOCALBASE}/include -DVERSION=${DISTVERSION}
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
|
||||
PLIST_FILES= bin/lemonbar \
|
||||
man/man1/lemonbar.1.gz
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e '/STRIP/d' -e '/^CC.*=/d' -e '/^CFLAGS.*=/d' \
|
||||
-e 's/^LDFLAGS.*=\(.*\)/LDFLAGS+=\1/' ${WRKSRC}/Makefile
|
||||
|
||||
post-build:
|
||||
${LOCALBASE}/bin/pod2man --section=1 --name=bar-aint-recursive \
|
||||
--center="bar-aint-recursive manual" \
|
||||
--release="bar-aint-recursive ${PORTVERSION}" \
|
||||
${WRKSRC}/README.pod > ${WRKSRC}/bar.1
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/lemonbar ${STAGEDIR}${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/bar.1 \
|
||||
${STAGEDIR}${PREFIX}/man/man1/lemonbar.1
|
||||
|
||||
.include <bsd.port.mk>
|
2
x11/lemonbar/distinfo
Normal file
2
x11/lemonbar/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (LemonBoy-bar-v1.1_GH0.tar.gz) = 567955575a09a7231cae7f2003e0fd66f4c86d7acbe1f53f407233730c8f2c9c
|
||||
SIZE (LemonBoy-bar-v1.1_GH0.tar.gz) = 14486
|
5
x11/lemonbar/pkg-descr
Normal file
5
x11/lemonbar/pkg-descr
Normal file
@ -0,0 +1,5 @@
|
||||
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.
|
||||
|
||||
WWW: https://github.com/LemonBoy/bar
|
Loading…
Reference in New Issue
Block a user