diff options
author | marino <marino@FreeBSD.org> | 2015-12-21 16:33:30 +0000 |
---|---|---|
committer | marino <marino@FreeBSD.org> | 2015-12-21 16:33:30 +0000 |
commit | 8f508e4447ca033207ac6cc3b47423e04663889d (patch) | |
tree | 164296f7e434d99b5c5236fda4bb2492780c4af2 /x11 | |
parent | 5ab62cc003f0d68d40b7554bd8c409989b41ef71 (diff) | |
download | FreeBSD-ports-8f508e4447ca033207ac6cc3b47423e04663889d.zip FreeBSD-ports-8f508e4447ca033207ac6cc3b47423e04663889d.tar.gz |
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.
Diffstat (limited to 'x11')
-rw-r--r-- | x11/Makefile | 1 | ||||
-rw-r--r-- | x11/lemonbar/Makefile | 44 | ||||
-rw-r--r-- | x11/lemonbar/distinfo | 2 | ||||
-rw-r--r-- | x11/lemonbar/pkg-descr | 5 |
4 files changed, 52 insertions, 0 deletions
diff --git a/x11/Makefile b/x11/Makefile index b64d823..5487a4d 100644 --- a/x11/Makefile +++ b/x11/Makefile @@ -126,6 +126,7 @@ SUBDIR += kgamma SUBDIR += konsole SUBDIR += leechcraft + SUBDIR += lemonbar SUBDIR += libICE SUBDIR += libSM SUBDIR += libX11 diff --git a/x11/lemonbar/Makefile b/x11/lemonbar/Makefile new file mode 100644 index 0000000..2df709f --- /dev/null +++ b/x11/lemonbar/Makefile @@ -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> diff --git a/x11/lemonbar/distinfo b/x11/lemonbar/distinfo new file mode 100644 index 0000000..8633907 --- /dev/null +++ b/x11/lemonbar/distinfo @@ -0,0 +1,2 @@ +SHA256 (LemonBoy-bar-v1.1_GH0.tar.gz) = 567955575a09a7231cae7f2003e0fd66f4c86d7acbe1f53f407233730c8f2c9c +SIZE (LemonBoy-bar-v1.1_GH0.tar.gz) = 14486 diff --git a/x11/lemonbar/pkg-descr b/x11/lemonbar/pkg-descr new file mode 100644 index 0000000..d498e08 --- /dev/null +++ b/x11/lemonbar/pkg-descr @@ -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 |