Skip to content

Commit

Permalink
x11-wm/fswm: Fullscreen window manager in XCB
Browse files Browse the repository at this point in the history
https://github.com/pbizopoulos/fswm

PR:		273390
Submitted by:	pyrus@bsdmail.com (original patch)
  • Loading branch information
Jehops committed Sep 7, 2023
1 parent acb561a commit b40fb3c
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 0 deletions.
1 change: 1 addition & 0 deletions x11-wm/Makefile
Expand Up @@ -42,6 +42,7 @@
SUBDIR += fluxbox
SUBDIR += fluxter
SUBDIR += flwm
SUBDIR += fswm
SUBDIR += fvwm2
SUBDIR += fvwm3
SUBDIR += gamescope
Expand Down
43 changes: 43 additions & 0 deletions x11-wm/fswm/Makefile
@@ -0,0 +1,43 @@
PORTNAME= fswm
DISTVERSION= g20230808
CATEGORIES= x11-wm

MAINTAINER= pyrus@bsdmail.com
COMMENT= Fullscreen window manager in XCB
WWW= https://github.com/pbizopoulos/fswm

LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE

LIB_DEPENDS= libxcb-keysyms.so:x11/xcb-util-keysyms \
libxcb-util.so:x11/xcb-util

USES= localbase xorg
USE_GITHUB= yes
GH_ACCOUNT= pbizopoulos
GH_TAGNAME= ce007a8
USE_XORG= xcb

MAKE_ARGS= CC="cc" \
CFLAGS="${CFLAGS}" \
LDLIBS="${LDFLAGS} ${LIBS} -lxcb -lxcb-keysyms -lxcb-util" \
PREFIX="${PREFIX}"
PLIST_FILES= bin/${PORTNAME}
PORTDOCS= README

OPTIONS_DEFINE= DOCS SXHKD THINGYLAUNCH

SXHKD_DESC= Depend on SXHKD (Simple X hotkey daemon)
THINGYLAUNCH_DESC= Depend on the thingylaunch launcher

SXHKD_RUN_DEPENDS= sxhkd:x11/sxhkd
THINGYLAUNCH_RUN_DEPENDS= thingylaunch:x11/thingylaunch

do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/

do-install-DOCS-on:
${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/fswm
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>
3 changes: 3 additions & 0 deletions x11-wm/fswm/distinfo
@@ -0,0 +1,3 @@
TIMESTAMP = 1692921722
SHA256 (pbizopoulos-fswm-g20230808-ce007a8_GH0.tar.gz) = 9f793e67ae4c9e56c0bce374f8f7c0185d8edb995e1efc83761eb74de43a3f11
SIZE (pbizopoulos-fswm-g20230808-ce007a8_GH0.tar.gz) = 3239
2 changes: 2 additions & 0 deletions x11-wm/fswm/pkg-descr
@@ -0,0 +1,2 @@
Full screen window manager in libxcb. It is lightweight, as it uses about 200
lines of code.

0 comments on commit b40fb3c

Please sign in to comment.