View | Details | Raw Unified | Return to bug 265629
Collapse All | Expand All

(-)b/x11/lemonbar-xft/Makefile (+28 lines)
Added Link Here
1
PORTNAME=		lemonbar-xft
2
DISTVERSION=		g20201213
3
CATEGORIES=		x11
4
5
MAINTAINER=		DtxdF@riseup.net
6
COMMENT=		Fork of lemonbar with support for Xft (fontconfig typefaces)
7
8
LICENSE=		MIT
9
LICENSE_FILE=		${WRKSRC}/LICENSE
10
11
LIB_DEPENDS=		libfreetype.so:print/freetype2 \
12
			libfontconfig.so:x11-fonts/fontconfig
13
14
USES=			gmake localbase:ldflags perl5 xorg
15
16
USE_XORG=		xcb xft x11
17
USE_PERL5=		build
18
19
CONFLICTS_INSTALL=	lemonbar
20
21
PLIST_FILES=		bin/lemonbar \
22
			man/man1/lemonbar.1.gz
23
24
USE_GITLAB=		yes
25
GL_ACCOUNT=		protesilaos
26
GL_COMMIT=		0042efd2ec1477ab96eb044ebba72a10aefff21f
27
28
.include <bsd.port.mk>
(-)b/x11/lemonbar-xft/distinfo (+3 lines)
Added Link Here
1
TIMESTAMP = 1659558248
2
SHA256 (protesilaos-lemonbar-xft-0042efd2ec1477ab96eb044ebba72a10aefff21f_GL0.tar.gz) = cfe2672cb6ff01631c15a7cbcc48f5dcbda4fa2ac4dacd9095a6744089913534
3
SIZE (protesilaos-lemonbar-xft-0042efd2ec1477ab96eb044ebba72a10aefff21f_GL0.tar.gz) = 17111
(-)b/x11/lemonbar-xft/files/patch-Makefile (+27 lines)
Added Link Here
1
--- Makefile.orig	2022-08-04 15:25:38 UTC
2
+++ Makefile
3
@@ -7,7 +7,7 @@ ifneq "$(GIT_DESC)" ""
4
 endif
5
 
6
 CC	?= gcc
7
-CFLAGS += -Wall -std=c99 -Os -DVERSION="\"$(VERSION)\"" -I/usr/include/freetype2
8
+CFLAGS += -Wall -std=c99 -DVERSION="\"$(VERSION)\"" -I${LOCALBASE}/include/freetype2
9
 LDFLAGS += -lxcb -lxcb-xinerama -lxcb-randr -lX11 -lX11-xcb -lXft -lfreetype -lz -lfontconfig
10
 CFDEBUG = -g3 -pedantic -Wall -Wunused-parameter -Wlong-long \
11
           -Wsign-conversion -Wconversion -Wimplicit-function-declaration
12
@@ -38,11 +38,12 @@ clean:
13
 	rm -f ./${EXEC}
14
 
15
 install: lemonbar doc
16
-	install -D -m 755 lemonbar ${DESTDIR}${BINDIR}/lemonbar
17
-	install -D -m 644 lemonbar.1 ${DESTDIR}${PREFIX}/share/man/man1/lemonbar.1
18
+	install -d ${DESTDIR}${BINDIR}
19
+	install -m 755 lemonbar ${DESTDIR}${BINDIR}/lemonbar
20
+	install -m 644 lemonbar.1 ${DESTDIR}${PREFIX}/man/man1/lemonbar.1
21
 
22
 uninstall:
23
 	rm -f ${DESTDIR}${BINDIR}/lemonbar
24
-	rm -f $(DESTDIR)$(PREFIX)/share/man/man1/lemonbar.1
25
+	rm -f $(DESTDIR)$(PREFIX)/man/man1/lemonbar.1
26
 
27
 .PHONY: all debug clean install
(-)b/x11/lemonbar-xft/pkg-descr (-1 / +3 lines)
Added Link Here
0
- 
1
lemonbar-xft is a fork of Lemonbar with Xft support
2
3
WWW: https://gitlab.com/protesilaos/lemonbar-xft

Return to bug 265629