pkgsrc-WIP-changes archive

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

(wip/transient) import transient-0.8.1



Module Name:	pkgsrc-wip
Committed By:	Makoto Fujiwara <makoto%if.t.u-tokyo.ac.jp@localhost>
Pushed By:	mef
Date:		Mon Dec 30 13:56:24 2024 +0900
Changeset:	93630fe2255f0e9bc9128be08b30c5cd4053a252

Added Files:
	transient/DESCR
	transient/Makefile
	transient/PLIST
	transient/buildlink3.mk
	transient/distinfo
	transient/patches/patch-default.mk
	transient/patches/patch-docs_Makefile

Log Message:
(wip/transient) import transient-0.8.1

magit companion

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

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

diffstat:
 transient/DESCR                       |  1 +
 transient/Makefile                    | 44 +++++++++++++++++++++++++++++++++++
 transient/PLIST                       |  4 ++++
 transient/buildlink3.mk               | 15 ++++++++++++
 transient/distinfo                    |  7 ++++++
 transient/patches/patch-default.mk    | 22 ++++++++++++++++++
 transient/patches/patch-docs_Makefile | 15 ++++++++++++
 7 files changed, 108 insertions(+)

diffs:
diff --git a/transient/DESCR b/transient/DESCR
new file mode 100644
index 0000000000..b3db70631a
--- /dev/null
+++ b/transient/DESCR
@@ -0,0 +1 @@
+magit companion
diff --git a/transient/Makefile b/transient/Makefile
new file mode 100644
index 0000000000..fd0ffad337
--- /dev/null
+++ b/transient/Makefile
@@ -0,0 +1,44 @@
+# $NetBSD$
+
+VERSION=	0.8.1
+DISTNAME=	transient-${VERSION}
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_GITHUB:=magit/}
+GITHUB_TAG=	v${VERSION}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/magit/
+COMMENT=
+LICENSE=	gnu-gpl-v3
+
+#AKE_ENV=	MANUAL_HTML_ARGS=
+
+NO_CONFIGURE=		yes
+USE_LANGUAGES=		#
+USE_TOOLS+=		gmake makeinfo
+#MAKE_JOBS_SAFE=	no
+
+
+#INFO_FILES=		yes
+#UILD_TARGET=		all
+TEST_TARGET=		check
+INSTALL_TARGET=		#
+INSTALLATION_DIRS=	${PREFIX}/share/emacs/site-lisp/transient
+AUTO_MKDIRS=		yes
+
+SUBST_CLASSES+=		lisp
+SUBST_FILES.lisp=	default.mk
+SUBST_STAGE.lisp=	pre-build
+SUBST_SED.lisp=		-e s.@@PREFIX@@.${PREFIX}.
+
+do-install:
+	( cd ${WRKSRC}/lisp ; \
+	for i in *el *.elc ; do  \
+	${INSTALL_DATA}  $$i ${DESTDIR}${INSTALLATION_DIRS}  ; \
+	done \
+	)
+
+.include "../../editors/emacs/modules.mk"
+#include "../../wip/dash-el/buildlink3.mk"
+.include "../../wip/emacs-compat/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/transient/PLIST b/transient/PLIST
new file mode 100644
index 0000000000..8dac522db7
--- /dev/null
+++ b/transient/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD$
+${EMACS_LISPPREFIX}/transient/transient-autoloads.el
+${EMACS_LISPPREFIX}/transient/transient.el
+${EMACS_LISPPREFIX}/transient/transient.elc
diff --git a/transient/buildlink3.mk b/transient/buildlink3.mk
new file mode 100644
index 0000000000..5e9eb3f771
--- /dev/null
+++ b/transient/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	transient
+
+.if !defined(TRANSIENT_BUILDLINK3_MK)
+TRANSIENT_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.transient+=	transient-[0-9]*
+BUILDLINK_PKGSRCDIR.transient?=		../../wip/transient
+
+BUILDLINK_CONTENTS_FILTER.transient+=	${EGREP} '.*\.el$$|.*\.elc$$'
+
+.endif
+
+BUILDLINK_TREE+=	-transient
diff --git a/transient/distinfo b/transient/distinfo
new file mode 100644
index 0000000000..f6c4ce567b
--- /dev/null
+++ b/transient/distinfo
@@ -0,0 +1,7 @@
+$NetBSD$
+
+BLAKE2s (transient-0.8.1.tar.gz) = 7e79f1a1e5b1831ca61b408c26ed74522cbca2004b7db5b1d8b3f80a33c71062
+SHA512 (transient-0.8.1.tar.gz) = 7d278452dbbd259654aa5f9576b94613224b7243f26445a364081a7e50eaf8fcc82d2699dceeffdd9a1364bcd4bc27af139b73ac90c251c45332247c0fe61c66
+Size (transient-0.8.1.tar.gz) = 152761 bytes
+SHA1 (patch-default.mk) = 2fa9fd9572b8eac529863969bf6037a7ae02097e
+SHA1 (patch-docs_Makefile) = 588e442c590a139bcaacf04e958c310532788eb7
diff --git a/transient/patches/patch-default.mk b/transient/patches/patch-default.mk
new file mode 100644
index 0000000000..dd58f0a663
--- /dev/null
+++ b/transient/patches/patch-default.mk
@@ -0,0 +1,22 @@
+$NetBSD$
+
+work around
+
+--- default.mk.orig	2024-12-09 07:27:38.000000000 +0900
++++ default.mk	2024-12-30 11:31:37.815417969 +0900
+@@ -20,6 +20,7 @@ EMACS_ARGS ?= --eval "(progn \
+   (put 'when-let 'byte-obsolete-info nil))"
+ 
+ LOAD_PATH  ?= $(addprefix -L ../../,$(DEPS))
++LOAD_PATH  += -L @@PREFIX@@/share/emacs/site-lisp/compat
+ LOAD_PATH  += -L .
+ 
+ ifndef ORG_LOAD_PATH
+@@ -27,6 +28,7 @@ ORG_LOAD_PATH  = -L ../../org/lisp
+ endif
+ 
+ INSTALL_INFO     ?= $(shell command -v ginstall-info || printf install-info)
++INSTALL_INFO	= install-info
+ MAKEINFO         ?= makeinfo
+ MANUAL_HTML_ARGS ?= --css-ref /assets/page.css
+ 
diff --git a/transient/patches/patch-docs_Makefile b/transient/patches/patch-docs_Makefile
new file mode 100644
index 0000000000..2faa0ea42d
--- /dev/null
+++ b/transient/patches/patch-docs_Makefile
@@ -0,0 +1,15 @@
+$NetBSD$
+
+temporarily disable html html-dir pdf
+
+--- docs/Makefile.orig	2024-12-29 21:28:18.621307214 +0900
++++ docs/Makefile	2024-12-30 04:26:08.195605356 +0900
+@@ -1,7 +1,7 @@
+ -include ../config.mk
+ include ../default.mk
+ 
+-docs: texi info html html-dir pdf
++docs: texi info 
+ 
+ texi:     $(PKG).texi
+ info:     $(PKG).info dir


Home | Main Index | Thread Index | Old Index