b6d4c69ae7
Changes: 0.8.5 ----- - Add support for OSC color sequences - Correctly encode mouse buttons >= 8 in X10 and SGR mode - Add WM_ICON_NAME property support
43 lines
1.4 KiB
Makefile
43 lines
1.4 KiB
Makefile
# $NetBSD: Makefile,v 1.14 2022/01/07 13:11:12 leot Exp $
|
|
|
|
DISTNAME= st-0.8.5
|
|
PKGNAME= ${DISTNAME:S/-/-term-/}
|
|
CATEGORIES= x11
|
|
MASTER_SITES= https://dl.suckless.org/st/
|
|
|
|
MAINTAINER= leot@NetBSD.org
|
|
HOMEPAGE= https://st.suckless.org/
|
|
COMMENT= Simple terminal implementation for X
|
|
LICENSE= mit
|
|
|
|
MAKE_JOBS_SAFE= no
|
|
|
|
CONFLICTS= xst-[0-9]*
|
|
|
|
USE_TOOLS+= pkg-config
|
|
|
|
SUBST_CLASSES+= configdefh configmk makefile
|
|
SUBST_STAGE.configdefh= pre-configure
|
|
SUBST_STAGE.configmk= pre-configure
|
|
SUBST_STAGE.makefile= pre-configure
|
|
SUBST_MESSAGE.configdefh= Change default font and termname
|
|
SUBST_FILES.configdefh= config.def.h
|
|
SUBST_MESSAGE.configmk= Fixing config.mk
|
|
SUBST_FILES.configmk= config.mk
|
|
SUBST_MESSAGE.makefile= Do not install the st terminfo entry
|
|
SUBST_FILES.makefile= Makefile
|
|
SUBST_SED.configdefh+= -e '/font/ s,".*","monospace:size=10",'
|
|
SUBST_SED.configdefh+= -e 's,st-256color,xterm,g'
|
|
SUBST_SED.configmk+= -e 's,/usr/local,${PREFIX},g'
|
|
SUBST_SED.configmk+= -e 's,share/man,${PKGMANDIR},g'
|
|
SUBST_SED.configmk+= -e 's,/usr/X11R6,${X11BASE},g'
|
|
SUBST_SED.configmk+= -e 's/cc/${CC:Q}/'
|
|
SUBST_SED.makefile+= -e '/tic/d' # Do not install the st terminfo entry
|
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
|
|
|
|
.include "../../fonts/fontconfig/buildlink3.mk"
|
|
.include "../../graphics/freetype2/buildlink3.mk"
|
|
.include "../../x11/libX11/buildlink3.mk"
|
|
.include "../../x11/libXft/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|