pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/xst x11/xst: import package



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b3b1fdc22f6b
branches:  trunk
changeset: 447747:b3b1fdc22f6b
user:      pin <pin%pkgsrc.org@localhost>
date:      Thu Feb 25 15:27:19 2021 +0000

description:
x11/xst: import package

xst is a st fork with some patches applied and other goodies.

diffstat:

 x11/xst/DESCR                  |   1 +
 x11/xst/Makefile               |  40 ++++++++++++++++++++++++++++++++++++++++
 x11/xst/PLIST                  |   3 +++
 x11/xst/distinfo               |   7 +++++++
 x11/xst/patches/patch-Makefile |  25 +++++++++++++++++++++++++
 5 files changed, 76 insertions(+), 0 deletions(-)

diffs (96 lines):

diff -r c515c9679352 -r b3b1fdc22f6b x11/xst/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/xst/DESCR     Thu Feb 25 15:27:19 2021 +0000
@@ -0,0 +1,1 @@
+xst is a st fork with some patches applied and other goodies.
diff -r c515c9679352 -r b3b1fdc22f6b x11/xst/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/xst/Makefile  Thu Feb 25 15:27:19 2021 +0000
@@ -0,0 +1,40 @@
+# $NetBSD: Makefile,v 1.1 2021/02/25 15:27:19 pin Exp $
+
+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
+USE_LANGUAGES= c99
+
+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 paths
+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 -r c515c9679352 -r b3b1fdc22f6b x11/xst/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/xst/PLIST     Thu Feb 25 15:27:19 2021 +0000
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2021/02/25 15:27:19 pin Exp $
+bin/xst
+man/man1/xst.1
diff -r c515c9679352 -r b3b1fdc22f6b x11/xst/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/xst/distinfo  Thu Feb 25 15:27:19 2021 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2021/02/25 15:27:19 pin Exp $
+
+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 -r c515c9679352 -r b3b1fdc22f6b x11/xst/patches/patch-Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/xst/patches/patch-Makefile    Thu Feb 25 15:27:19 2021 +0000
@@ -0,0 +1,25 @@
+$NetBSD: patch-Makefile,v 1.1 2021/02/25 15:27:19 pin Exp $
+
+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