pkgsrc-WIP-changes archive

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

sds: Remove, imported as devel/sds



Module Name:	pkgsrc-wip
Committed By:	Michael Baeuerle <micha%NetBSD.org@localhost>
Pushed By:	micha
Date:		Fri Jan 27 11:34:54 2023 +0100
Changeset:	b90a51163560512b2b5fa4c10ce8e6e95ec85795

Modified Files:
	Makefile
Removed Files:
	sds/DESCR
	sds/Makefile
	sds/PLIST
	sds/buildlink3.mk
	sds/distinfo
	sds/files/libsds-2.pc.in
	sds/patches/patch-Makefile

Log Message:
sds: Remove, imported as devel/sds

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

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

diffstat:
 Makefile                   |  1 -
 sds/DESCR                  |  7 ------
 sds/Makefile               | 30 ------------------------
 sds/PLIST                  |  5 ----
 sds/buildlink3.mk          | 12 ----------
 sds/distinfo               |  6 -----
 sds/files/libsds-2.pc.in   | 12 ----------
 sds/patches/patch-Makefile | 58 ----------------------------------------------
 8 files changed, 131 deletions(-)

diffs:
diff --git a/Makefile b/Makefile
index 9b6eb133a2..621cd6b7c5 100644
--- a/Makefile
+++ b/Makefile
@@ -5248,7 +5248,6 @@ SUBDIR+=	sdd
 SUBDIR+=	sddm
 SUBDIR+=	sdict-tools
 SUBDIR+=	sdif-git
-SUBDIR+=	sds
 SUBDIR+=	seafile-client
 SUBDIR+=	seafile-gui
 SUBDIR+=	seafile-server
diff --git a/sds/DESCR b/sds/DESCR
deleted file mode 100644
index f758b92d9c..0000000000
--- a/sds/DESCR
+++ /dev/null
@@ -1,7 +0,0 @@
-SDS is a string library for C designed to augment the limited libc string
-handling functionalities by adding heap allocated strings that are:
-
-* Simpler to use.
-* Binary safe.
-* Computationally more efficient.
-* But yet... Compatible with normal C string functions.
diff --git a/sds/Makefile b/sds/Makefile
deleted file mode 100644
index d1062aae9d..0000000000
--- a/sds/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-# $NetBSD$
-
-DISTNAME=	sds-2.2
-CATEGORIES=	devel
-MASTER_SITES=	${MASTER_SITE_GITHUB:=jcorporation/}
-GITHUB_TAG=	v${PKGVERSION_NOREV}
-EXTRACT_SUFX=	.zip
-
-MAINTAINER=	micha%NetBSD.org@localhost
-HOMEPAGE=	https://github.com/jcorporation/sds/
-COMMENT=	Simple dynamic strings library for C
-LICENSE=	2-clause-bsd
-
-USE_LANGUAGES=	c99
-USE_LIBTOOL=	yes
-
-TEST_TARGET=	test
-
-INSTALLATION_DIRS=	lib/pkgconfig
-
-post-extract:
-	${CP} ${FILESDIR}/libsds-2.pc.in ${WRKDIR}
-	cd ${WRKDIR} && ${SED} -e "s,@prefix@,${PREFIX},g" \
-            -e "s,@release@,${PKGVERSION_NOREV},g" <libsds-2.pc.in >libsds-2.pc
-
-post-install:
-	cd ${WRKDIR} && ${INSTALL_DATA} libsds-2.pc \
-            ${DESTDIR}${PREFIX}/lib/pkgconfig/libsds-2.pc
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/sds/PLIST b/sds/PLIST
deleted file mode 100644
index fa57741fba..0000000000
--- a/sds/PLIST
+++ /dev/null
@@ -1,5 +0,0 @@
-@comment $NetBSD$
-include/sds.h
-lib/libsds.la
-lib/pkgconfig/libsds-2.pc
-share/doc/sds/README.md
diff --git a/sds/buildlink3.mk b/sds/buildlink3.mk
deleted file mode 100644
index 1d42c656c2..0000000000
--- a/sds/buildlink3.mk
+++ /dev/null
@@ -1,12 +0,0 @@
-# $NetBSD$
-
-BUILDLINK_TREE+=	sds
-
-.if !defined(SDS_BUILDLINK3_MK)
-SDS_BUILDLINK3_MK:=
-
-BUILDLINK_API_DEPENDS.sds+=	sds>=2.2.0
-BUILDLINK_PKGSRCDIR.sds?=	../../wip/sds
-.endif	# SDS_BUILDLINK3_MK
-
-BUILDLINK_TREE+=	-sds
diff --git a/sds/distinfo b/sds/distinfo
deleted file mode 100644
index 6845816324..0000000000
--- a/sds/distinfo
+++ /dev/null
@@ -1,6 +0,0 @@
-$NetBSD$
-
-BLAKE2s (sds-2.2.zip) = 199d2a4a6437bc0ba8e86cd99bce86337e90cf20cc202f0b74e81ebbf0639bd2
-SHA512 (sds-2.2.zip) = d72c7de87b7fc3030a1525b8905cd04168bc910a4109d31faf47d928be9cbb80264d6fae38c5a05c8b22926ee2b3faed641fb330b6f3021cd671274149384ce1
-Size (sds-2.2.zip) = 33055 bytes
-SHA1 (patch-Makefile) = faaf0b298c874c3b67a3d8e59228502538227cb2
diff --git a/sds/files/libsds-2.pc.in b/sds/files/libsds-2.pc.in
deleted file mode 100644
index 9ac1757391..0000000000
--- a/sds/files/libsds-2.pc.in
+++ /dev/null
@@ -1,12 +0,0 @@
-prefix=@prefix@
-exec_prefix=${prefix}
-includedir=${prefix}/include
-libdir=${prefix}/lib
-bindir=${prefix}/bin
-
-Name: SDS
-Description: Simple dynamic strings library for C
-URL: https://github.com/jcorporation/sds/
-Version: @release@
-Cflags: -I${includedir}
-Libs: -L${libdir} -lsds
diff --git a/sds/patches/patch-Makefile b/sds/patches/patch-Makefile
deleted file mode 100644
index a58371e48f..0000000000
--- a/sds/patches/patch-Makefile
+++ /dev/null
@@ -1,58 +0,0 @@
-$NetBSD$
-
-* Add targets for object file, library, test and install.
-* Honor CPPFLAGS, CFLAGS and LDFLAGS
-* Use libtool
-
---- Makefile.orig	2021-07-14 10:28:45.000000000 +0000
-+++ Makefile
-@@ -1,8 +1,44 @@
--all: sds-test
-+# Switch make into POSIX conformant mode (must be the first non-comment line)
-+.POSIX:
- 
--sds-test: sds.c sds.h testhelp.h
--	$(CC) -o sds-test sds.c -Wall -std=c99 -pedantic -O2 -DSDS_TEST_MAIN
--	@echo ">>> Type ./sds-test to run the sds.c unit tests."
-+# Clear suffix list for inference rules
-+.SUFFIXES:
-+
-+# ABI version for shared library
-+MAJOR=  2
-+MINOR=  2
-+PATCH=  0
-+
-+all: libsds.la
-+
-+test: sds-test
-+	./sds-test
-+
-+install: libsds.la
-+	@set +u ; test "x$$PREFIX" != "x" || \
-+            ! echo "Error: PREFIX not defined in environment"
-+	install -d -m 755 "${DESTDIR}${PREFIX}/lib"
-+	libtool --mode=install \
-+            install -m 755 libsds.la "${DESTDIR}${PREFIX}/lib"
-+	install -d -m 755 "${DESTDIR}${PREFIX}/include"
-+	install -m 644 sds.h "${DESTDIR}${PREFIX}/include"
-+	install -d -m 755 "${DESTDIR}${PREFIX}/share/doc/sds"
-+	install -m 644 README.md "${DESTDIR}${PREFIX}/share/doc/sds"
- 
- clean:
--	rm -f sds-test
-+	rm -f sds-test sds.o sds.lo libsds.la
-+	rm -rf ./.libs
-+
-+sds.lo: sds.c sds.h
-+	libtool --tag=CC --mode=compile \
-+            $(CC) $(CPPFLAGS) $(CFLAGS) -c -Wall -std=c99 -pedantic -O2 sds.c
-+
-+libsds.la: sds.lo
-+	libtool --tag=CC --mode=link \
-+            $(CC) $(LDFLAGS) -shared -o libsds.la sds.lo \
-+            -version-number ${MAJOR}:${MINOR}:${PATCH} \
-+            -rpath ${PREFIX}/lib
-+
-+sds-test: sds.c sds.h testhelp.h
-+	$(CC) $(CPPFLAGS) $(CFLAGS) -Wall -std=c99 -pedantic -O2 \
-+            -DSDS_TEST_MAIN -o sds-test sds.c


Home | Main Index | Thread Index | Old Index