pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Add xst
Module Name: pkgsrc-wip
Committed By: pin <voidpin%protonmail.com@localhost>
Pushed By: pin
Date: Thu Feb 25 13:16:30 2021 +0100
Changeset: 99f257a740e9038039ae41fd8ea48ddafbc71d6d
Modified Files:
Makefile
Added Files:
xst/DESCR
xst/Makefile
xst/PLIST
xst/distinfo
xst/patches/patch-Makefile
Log Message:
Add xst
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=99f257a740e9038039ae41fd8ea48ddafbc71d6d
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
xst/DESCR | 1 +
xst/Makefile | 37 +++++++++++++++++++++++++++++++++++++
xst/PLIST | 3 +++
xst/distinfo | 7 +++++++
xst/patches/patch-Makefile | 25 +++++++++++++++++++++++++
6 files changed, 74 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index c06b2a6ae5..af658b0a95 100644
--- a/Makefile
+++ b/Makefile
@@ -5787,6 +5787,7 @@ SUBDIR+= xspd
SUBDIR+= xspdapp
SUBDIR+= xspread
SUBDIR+= xssp
+SUBDIR+= xst
SUBDIR+= xtags
SUBDIR+= xtensor
SUBDIR+= xtl-quant-stack
diff --git a/xst/DESCR b/xst/DESCR
new file mode 100644
index 0000000000..17455fb5c8
--- /dev/null
+++ b/xst/DESCR
@@ -0,0 +1 @@
+xst is a st fork with some patches applied and other goodies.
diff --git a/xst/Makefile b/xst/Makefile
new file mode 100644
index 0000000000..be0d3bacfc
--- /dev/null
+++ b/xst/Makefile
@@ -0,0 +1,37 @@
+# $NetBSD$
+
+DISTNAME= xst-0.8.4.1
+CATEGORIES= x11
+MASTER_SITES= ${MASTER_SITE_GITHUB:=gnotclub/}
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/gnotclub/xst/
+COMMENT= st fork that uses Xresources and some patches
+LICENSE= mit
+
+MAKE_JOBS_SAFE= no
+CONFLICTS= st-term-[0-9]*
+USE_TOOLS+= pkg-config
+
+SUBST_CLASSES+= configdefh configmk
+SUBST_STAGE.configdefh= pre-configure
+SUBST_STAGE.configmk= 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_SED.configdefh+= -e '/font/ s,".*","monospace:size=10",'
+SUBST_SED.configdefh+= -e 's,xst-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}/'
+
+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"
diff --git a/xst/PLIST b/xst/PLIST
new file mode 100644
index 0000000000..5d09d53c3b
--- /dev/null
+++ b/xst/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD$
+bin/xst
+man/man1/xst.1
diff --git a/xst/distinfo b/xst/distinfo
new file mode 100644
index 0000000000..10219c8d4a
--- /dev/null
+++ b/xst/distinfo
@@ -0,0 +1,7 @@
+$NetBSD$
+
+SHA1 (xst-0.8.4.1.tar.gz) = 0ae5cf29eaae1aebb87885d0be16e8f1af6cbef0
+RMD160 (xst-0.8.4.1.tar.gz) = 8a5d6b5dd7fb08bc44713515c80811c02c6e7d2a
+SHA512 (xst-0.8.4.1.tar.gz) = 00478f16caf599ae4a0c1cdfc7e5e148eb864ae5e28c416d5872d7e1d20f56e01b58475653f742418168edfc64eba781926b51adc815ef3a63f28da85025c0ac
+Size (xst-0.8.4.1.tar.gz) = 58339 bytes
+SHA1 (patch-Makefile) = 12d096790c7c808114297d44404932f7d00156f8
diff --git a/xst/patches/patch-Makefile b/xst/patches/patch-Makefile
new file mode 100644
index 0000000000..88de901503
--- /dev/null
+++ b/xst/patches/patch-Makefile
@@ -0,0 +1,25 @@
+$NetBSD$
+
+Do not install terminfo
+
+--- Makefile.orig 2020-11-19 03:05:11.000000000 +0000
++++ Makefile
+@@ -48,18 +48,9 @@ install: st
+ mkdir -p $(DESTDIR)$(MANPREFIX)/man1
+ sed "s/VERSION/$(VERSION)/g" < st.1 > $(DESTDIR)$(MANPREFIX)/man1/xst.1
+ chmod 644 $(DESTDIR)$(MANPREFIX)/man1/xst.1
+- mkdir -p $(DESTDIR)$(PREFIX)/share/terminfo
+- env TERMINFO=$(DESTDIR)$(PREFIX)/share/terminfo tic -sx st.info
+
+ uninstall:
+ rm -f $(DESTDIR)$(PREFIX)/bin/xst
+ rm -f $(DESTDIR)$(MANPREFIX)/man1/xst.1
+- rm -f $(DESTDIR)$(PREFIX)/share/terminfo/x/xst
+- rm -f $(DESTDIR)$(PREFIX)/share/terminfo/x/xst-256color
+- rm -f $(DESTDIR)$(PREFIX)/share/terminfo/x/xst-bs
+- rm -f $(DESTDIR)$(PREFIX)/share/terminfo/x/xst-bs-256color
+- rm -f $(DESTDIR)$(PREFIX)/share/terminfo/x/xst-meta
+- rm -f $(DESTDIR)$(PREFIX)/share/terminfo/x/xst-meta-256color
+- rm -f $(DESTDIR)$(PREFIX)/share/terminfo/x/xst-mono
+
+ .PHONY: all options clean dist install uninstall
Home |
Main Index |
Thread Index |
Old Index