pkgsrc-WIP-changes archive

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

arduino-ctags: change pkg version and add installation dir for arduino-cli



Module Name:	pkgsrc-wip
Committed By:	Rui-Xiang Guo <rxg%lavabit.com@localhost>
Pushed By:	rxg
Date:		Fri Feb 9 11:52:10 2024 +0800
Changeset:	5ac718d207ae5c31c80d04e48df7e34a6296144c

Modified Files:
	arduino-ctags/Makefile
	arduino-ctags/PLIST
	arduino-ctags/distinfo
Removed Files:
	arduino-ctags/patches/patch-Makefile.in

Log Message:
arduino-ctags: change pkg version and add installation dir for arduino-cli

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

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

diffstat:
 arduino-ctags/Makefile                  | 17 +++++++++++++----
 arduino-ctags/PLIST                     |  1 +
 arduino-ctags/distinfo                  |  7 +++----
 arduino-ctags/patches/patch-Makefile.in | 34 ---------------------------------
 4 files changed, 17 insertions(+), 42 deletions(-)

diffs:
diff --git a/arduino-ctags/Makefile b/arduino-ctags/Makefile
index 78c1fc3b26..12d4da973c 100644
--- a/arduino-ctags/Makefile
+++ b/arduino-ctags/Makefile
@@ -1,11 +1,10 @@
 # $NetBSD$
 
-DISTNAME=	arduino-ctags-${GITHUB_TAG:S/-arduino/./}
-CATEGORIES=	wip
+DISTNAME=	arduino-ctags-${GITHUB_TAG:S/-arduino11//}
+CATEGORIES=	devel
 MASTER_SITES=	${MASTER_SITE_GITHUB:=arduino/}
 GITHUB_PROJECT=	ctags
 GITHUB_TAG=	5.8-arduino11
-EXTRACT_SUFX=	.zip
 
 MAINTAINER=	krz.lasocki%gmail.com@localhost
 HOMEPAGE=	https://github.com/arduino/ctags
@@ -14,5 +13,15 @@ LICENSE=	gnu-lgpl-v2
 
 GNU_CONFIGURE=	yes
 
-INSTALLATION_DIRS+= bin man/man1
+INSTALLATION_DIRS=	bin ${PKGMANDIR}/man1 \
+			arduino15/packages/builtin/tools/ctags/${GITHUB_TAG}
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/ctags \
+		${DESTDIR}${PREFIX}/arduino15/packages/builtin/tools/ctags/${GITHUB_TAG}
+	${INSTALL_PROGRAM} ${WRKSRC}/ctags \
+		${DESTDIR}${PREFIX}/bin/arduino-ctags
+	${INSTALL_MAN} ${WRKSRC}/ctags.1 \
+		${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/arduino-ctags.1
+
 .include "../../mk/bsd.pkg.mk"
diff --git a/arduino-ctags/PLIST b/arduino-ctags/PLIST
index 5b833480a3..a96e9b1f38 100644
--- a/arduino-ctags/PLIST
+++ b/arduino-ctags/PLIST
@@ -1,3 +1,4 @@
 @comment $NetBSD$
+arduino15/packages/builtin/tools/ctags/5.8-arduino11/ctags
 bin/arduino-ctags
 man/man1/arduino-ctags.1
diff --git a/arduino-ctags/distinfo b/arduino-ctags/distinfo
index 103ed28efa..6256013600 100644
--- a/arduino-ctags/distinfo
+++ b/arduino-ctags/distinfo
@@ -1,9 +1,8 @@
 $NetBSD$
 
-RMD160 (arduino-ctags-5.8.11.zip) = a4bc68c4ff05129f463fb17d2319239afc805a5d
-SHA512 (arduino-ctags-5.8.11.zip) = c52ec982e843ab1b489168258619bb87825f7c413ea1c15389db6449572d30403199c840b1c0391b20387b3e22e9bffaaea8b11f4b124160b1fea9112f7c8aad
-Size (arduino-ctags-5.8.11.zip) = 561013 bytes
-SHA1 (patch-Makefile.in) = dd99efd0e1ae7af4faf86728f20a527e5c680981
+BLAKE2s (arduino-ctags-5.8.tar.gz) = 75b7b29e2df7117f25d489f7c5ab292644658f538d8b4ee240e0d680016d52e8
+SHA512 (arduino-ctags-5.8.tar.gz) = 6375077dfd983e98862773dfe6213bd41cd17d99260e39e97f99eff7d7f363f6d6a61582994382c69f0e3dfa7da88c1640a5bc037adbcc526e07f86dbd4f3646
+Size (arduino-ctags-5.8.tar.gz) = 489712 bytes
 SHA1 (patch-c.c) = b4b8ca5c9a1004731b42bbcd68eb4d4ece642eb1
 SHA1 (patch-debug.h) = 6be59bdad9d9b3251164bf7db1ee56c4e6ace4f6
 SHA1 (patch-eiffel.c) = 3a3ddeff8d43f4c5ec28cd23720305615716f88f
diff --git a/arduino-ctags/patches/patch-Makefile.in b/arduino-ctags/patches/patch-Makefile.in
deleted file mode 100644
index 6f3f9eb21f..0000000000
--- a/arduino-ctags/patches/patch-Makefile.in
+++ /dev/null
@@ -1,34 +0,0 @@
-$NetBSD$
-
---- Makefile.in.orig	2016-11-23 09:52:52.000000000 +0000
-+++ Makefile.in
-@@ -6,8 +6,8 @@
- # These are the names of the installed programs, in case you wish to change
- # them.
- #
--CTAGS_PROG = ctags
--ETAGS_PROG = etags
-+CTAGS_PROG = arduino-ctags
-+ETAGS_PROG = arduino-etags
-
- # Set this to the path to your shell (must run Bourne shell commands).
- #
-@@ -85,12 +85,12 @@ EMAN	= $(ETAGS_PROG).$(manext)
- #
- CTAGS_EXEC	= $(CTAGS_PROG)$(EXEEXT)
- ETAGS_EXEC	= $(ETAGS_PROG)$(EXEEXT)
--DEST_CTAGS	= $(bindir)/$(CTAGS_EXEC)
--DEST_ETAGS	= $(bindir)/$(ETAGS_EXEC)
--DEST_READ_LIB	= $(libdir)/$(READ_LIB)
--DEST_READ_INC	= $(incdir)/$(READ_INC)
--DEST_CMAN	= $(man1dir)/$(CMAN)
--DEST_EMAN	= $(man1dir)/$(EMAN)
-+DEST_CTAGS	= $(DESTDIR)$(bindir)/$(CTAGS_EXEC)
-+DEST_ETAGS	= $(DESTDIR)$(bindir)/$(ETAGS_EXEC)
-+DEST_READ_LIB	= $(DESTDIR)$(libdir)/$(READ_LIB)
-+DEST_READ_INC	= $(DESTDIR)$(incdir)/$(READ_INC)
-+DEST_CMAN	= $(DESTDIR)$(man1dir)/$(CMAN)
-+DEST_EMAN	= $(DESTDIR)$(man1dir)/$(EMAN)
-
- #
- # primary rules


Home | Main Index | Thread Index | Old Index