summaryrefslogtreecommitdiff
path: root/x11/st-term
diff options
context:
space:
mode:
authorleot <leot@pkgsrc.org>2016-02-02 16:31:43 +0000
committerleot <leot@pkgsrc.org>2016-02-02 16:31:43 +0000
commit710ce48f14de769f2c51923a5f0871d8318083b3 (patch)
tree23f1fa377104fc607ffd0df25bef794295e2220e /x11/st-term
parent9966f7399518be5111400be60ec61023a3911be9 (diff)
downloadpkgsrc-710ce48f14de769f2c51923a5f0871d8318083b3.tar.gz
Import st-term-0.6 as x11/st-term.
Packaged in pkgsrc-wip by myself. st is a simple virtual terminal emulator for X which sucks less.
Diffstat (limited to 'x11/st-term')
-rw-r--r--x11/st-term/DESCR1
-rw-r--r--x11/st-term/MESSAGE7
-rw-r--r--x11/st-term/Makefile39
-rw-r--r--x11/st-term/PLIST3
-rw-r--r--x11/st-term/distinfo5
5 files changed, 55 insertions, 0 deletions
diff --git a/x11/st-term/DESCR b/x11/st-term/DESCR
new file mode 100644
index 00000000000..a4448f7fe17
--- /dev/null
+++ b/x11/st-term/DESCR
@@ -0,0 +1 @@
+st is a simple virtual terminal emulator for X which sucks less.
diff --git a/x11/st-term/MESSAGE b/x11/st-term/MESSAGE
new file mode 100644
index 00000000000..aef748a0494
--- /dev/null
+++ b/x11/st-term/MESSAGE
@@ -0,0 +1,7 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2016/02/02 16:31:43 leot Exp $
+
+By default the st terminfo entry is not automatically installed and
+config.def.h termname[] array is changed to "xterm" in order to use the
+xterm terminfo entry.
+===========================================================================
diff --git a/x11/st-term/Makefile b/x11/st-term/Makefile
new file mode 100644
index 00000000000..b734767dbf3
--- /dev/null
+++ b/x11/st-term/Makefile
@@ -0,0 +1,39 @@
+# $NetBSD: Makefile,v 1.1 2016/02/02 16:31:43 leot Exp $
+
+DISTNAME= st-0.6
+PKGNAME= ${DISTNAME:S/-/-term-/}
+CATEGORIES= x11
+MASTER_SITES= http://dl.suckless.org/st/
+
+MAINTAINER= leot@NetBSD.org
+HOMEPAGE= http://st.suckless.org/
+COMMENT= Simple terminal implementation for X
+LICENSE= mit
+
+MAKE_JOBS_SAFE= no
+
+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_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 '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/libXext/buildlink3.mk"
+.include "../../x11/libXft/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/x11/st-term/PLIST b/x11/st-term/PLIST
new file mode 100644
index 00000000000..a5d211bc1ed
--- /dev/null
+++ b/x11/st-term/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2016/02/02 16:31:43 leot Exp $
+bin/st
+man/man1/st.1
diff --git a/x11/st-term/distinfo b/x11/st-term/distinfo
new file mode 100644
index 00000000000..b09526d735f
--- /dev/null
+++ b/x11/st-term/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2016/02/02 16:31:43 leot Exp $
+
+SHA1 (st-0.6.tar.gz) = a1ce3252f391f9fac63c2ebf1ed12b3f696348d6
+RMD160 (st-0.6.tar.gz) = 22009370a4d891ac0383d41f863dcbf732ec6442
+Size (st-0.6.tar.gz) = 40271 bytes