pkgsrc-WIP-changes archive

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

st-term-git: Import st-term-0.8.1 as wip/st-term-git



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Sun Dec 2 00:45:04 2018 +0100
Changeset:	0ceda34d60caa06f59ebf05513170204e70a4d0a

Modified Files:
	Makefile
Added Files:
	st-term-git/DESCR
	st-term-git/MESSAGE
	st-term-git/Makefile
	st-term-git/PLIST

Log Message:
st-term-git: Import st-term-0.8.1 as wip/st-term-git

st is a simple virtual terminal emulator for X which sucks less.

Based on x11/st-term.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=0ceda34d60caa06f59ebf05513170204e70a4d0a

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile             |  1 +
 st-term-git/DESCR    |  1 +
 st-term-git/MESSAGE  |  7 +++++++
 st-term-git/Makefile | 44 ++++++++++++++++++++++++++++++++++++++++++++
 st-term-git/PLIST    |  3 +++
 5 files changed, 56 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index a0b4299f72..1837600b1e 100644
--- a/Makefile
+++ b/Makefile
@@ -4387,6 +4387,7 @@ SUBDIR+=	sselp
 SUBDIR+=	ssh-chat
 SUBDIR+=	ssid
 SUBDIR+=	ssu
+SUBDIR+=	st-term-git
 SUBDIR+=	stacks
 SUBDIR+=	stardict
 SUBDIR+=	stardict-tools
diff --git a/st-term-git/DESCR b/st-term-git/DESCR
new file mode 100644
index 0000000000..a4448f7fe1
--- /dev/null
+++ b/st-term-git/DESCR
@@ -0,0 +1 @@
+st is a simple virtual terminal emulator for X which sucks less.
diff --git a/st-term-git/MESSAGE b/st-term-git/MESSAGE
new file mode 100644
index 0000000000..aef748a049
--- /dev/null
+++ b/st-term-git/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/st-term-git/Makefile b/st-term-git/Makefile
new file mode 100644
index 0000000000..0a54c560c2
--- /dev/null
+++ b/st-term-git/Makefile
@@ -0,0 +1,44 @@
+# $NetBSD: Makefile,v 1.8 2018/03/21 10:32:15 leot Exp $
+
+DISTNAME=	st-0.8.1
+PKGNAME=	${DISTNAME:S/-/-term-/}
+CATEGORIES=	x11
+MASTER_SITES=	https://dl.suckless.org/st/
+
+MAINTAINER=	leot%NetBSD.org@localhost
+HOMEPAGE=	https://st.suckless.org/
+COMMENT=	Simple terminal implementation for X
+LICENSE=	mit
+
+GIT_REPO=	http://git.suckless.org/st
+
+MAKE_JOBS_SAFE=	no
+
+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 "../../wip/mk/git-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/st-term-git/PLIST b/st-term-git/PLIST
new file mode 100644
index 0000000000..a5d211bc1e
--- /dev/null
+++ b/st-term-git/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


Home | Main Index | Thread Index | Old Index