pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/st-term Adjust config.def.h to use the default mon...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2282f9a13dab
branches:  trunk
changeset: 357993:2282f9a13dab
user:      leot <leot%pkgsrc.org@localhost>
date:      Thu Feb 02 20:43:01 2017 +0000

description:
Adjust config.def.h to use the default monospace font (similarly to x11/dmenu
and wm/dwm)

Bump PKGREVISION

diffstat:

 x11/st-term/Makefile |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r dc2adbc38bb7 -r 2282f9a13dab x11/st-term/Makefile
--- a/x11/st-term/Makefile      Thu Feb 02 20:32:09 2017 +0000
+++ b/x11/st-term/Makefile      Thu Feb 02 20:43:01 2017 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.3 2016/08/12 09:16:57 leot Exp $
+# $NetBSD: Makefile,v 1.4 2017/02/02 20:43:01 leot Exp $
 
 DISTNAME=      st-0.7
 PKGNAME=       ${DISTNAME:S/-/-term-/}
+PKGREVISION=   1
 CATEGORIES=    x11
 MASTER_SITES=  http://dl.suckless.org/st/
 
@@ -18,12 +19,13 @@
 SUBST_STAGE.configdefh=                pre-configure
 SUBST_STAGE.configmk=          pre-configure
 SUBST_STAGE.makefile=          pre-configure
-SUBST_MESSAGE.configdefh=      Change default termname to xterm
+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'



Home | Main Index | Thread Index | Old Index