summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorleot <leot>2017-02-02 20:43:01 +0000
committerleot <leot>2017-02-02 20:43:01 +0000
commita1050d686d59d21387819e8d1183e7dcf4179e22 (patch)
tree17725614629e4f09af227f463f817be18fe39965 /x11
parentac2f4d12659b8a0984e54347dcb752cd7cf1d9ed (diff)
downloadpkgsrc-a1050d686d59d21387819e8d1183e7dcf4179e22.tar.gz
Adjust config.def.h to use the default monospace font (similarly to x11/dmenu
and wm/dwm) Bump PKGREVISION
Diffstat (limited to 'x11')
-rw-r--r--x11/st-term/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/x11/st-term/Makefile b/x11/st-term/Makefile
index bdf815dc84b..b585c7585a3 100644
--- a/x11/st-term/Makefile
+++ b/x11/st-term/Makefile
@@ -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_CLASSES+= configdefh configmk makefile
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'