pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/x11/xst
Module Name: pkgsrc
Committed By: pin
Date: Thu Feb 25 15:27:19 UTC 2021
Added Files:
pkgsrc/x11/xst: DESCR Makefile PLIST distinfo
pkgsrc/x11/xst/patches: patch-Makefile
Log Message:
x11/xst: import package
xst is a st fork with some patches applied and other goodies.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/x11/xst/DESCR pkgsrc/x11/xst/Makefile \
pkgsrc/x11/xst/PLIST pkgsrc/x11/xst/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/x11/xst/patches/patch-Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/x11/xst/DESCR
diff -u /dev/null pkgsrc/x11/xst/DESCR:1.1
--- /dev/null Thu Feb 25 15:27:19 2021
+++ pkgsrc/x11/xst/DESCR Thu Feb 25 15:27:19 2021
@@ -0,0 +1 @@
+xst is a st fork with some patches applied and other goodies.
Index: pkgsrc/x11/xst/Makefile
diff -u /dev/null pkgsrc/x11/xst/Makefile:1.1
--- /dev/null Thu Feb 25 15:27:19 2021
+++ pkgsrc/x11/xst/Makefile Thu Feb 25 15:27:19 2021
@@ -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"
Index: pkgsrc/x11/xst/PLIST
diff -u /dev/null pkgsrc/x11/xst/PLIST:1.1
--- /dev/null Thu Feb 25 15:27:19 2021
+++ pkgsrc/x11/xst/PLIST Thu Feb 25 15:27:19 2021
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2021/02/25 15:27:19 pin Exp $
+bin/xst
+man/man1/xst.1
Index: pkgsrc/x11/xst/distinfo
diff -u /dev/null pkgsrc/x11/xst/distinfo:1.1
--- /dev/null Thu Feb 25 15:27:19 2021
+++ pkgsrc/x11/xst/distinfo Thu Feb 25 15:27:19 2021
@@ -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
Index: pkgsrc/x11/xst/patches/patch-Makefile
diff -u /dev/null pkgsrc/x11/xst/patches/patch-Makefile:1.1
--- /dev/null Thu Feb 25 15:27:19 2021
+++ pkgsrc/x11/xst/patches/patch-Makefile Thu Feb 25 15:27:19 2021
@@ -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