openbsd-ports/x11/dwm/Makefile
2022-10-13 18:15:36 +00:00

35 lines
645 B
Makefile

COMMENT= dynamic window manager
V= 6.4
DISTNAME= dwm-${V}
CATEGORIES= x11
HOMEPAGE= https://dwm.suckless.org/
MAINTAINER= Joerg Jung <jung@openbsd.org>
# MIT/X
PERMIT_PACKAGE= Yes
# uses pledge()
WANTLIB= X11 Xinerama Xft c fontconfig
MASTER_SITES= https://dl.suckless.org/dwm/
RUN_DEPENDS= x11/dmenu>=4.6 \
fonts/terminus-font
MAKE_ENV= LDFLAGS="${LDFLAGS}" \
X11INC=${X11BASE}/include \
X11LIB=${X11BASE}/lib
NO_TEST= Yes
do-install:
${INSTALL_PROGRAM} ${WRKBUILD}/dwm ${PREFIX}/bin/
${INSTALL_MAN} ${WRKSRC}/dwm.1 ${PREFIX}/man/man1/
sed -i s/VERSION/${V}/g ${PREFIX}/man/man1/dwm.1
.include <bsd.port.mk>