git: 9e7dc527bb36 - main - comms/libimobiledevice-glue: New port

From: Jason E. Hale <jhale_at_FreeBSD.org>
Date: Thu, 11 Jul 2024 01:45:43 UTC
The branch main has been updated by jhale:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9e7dc527bb360b645ea90d3e8b1edf722a08c758

commit 9e7dc527bb360b645ea90d3e8b1edf722a08c758
Author:     Jason E. Hale <jhale@FreeBSD.org>
AuthorDate: 2024-07-11 00:40:32 +0000
Commit:     Jason E. Hale <jhale@FreeBSD.org>
CommitDate: 2024-07-11 01:45:31 +0000

    comms/libimobiledevice-glue: New port
    
    Library with common code used by the libraries and tools around the
    libimobiledevice project.
    
    PR:             280014
    Reported by:    <fabio.comolli@gmail.com>
---
 comms/Makefile                        |  1 +
 comms/libimobiledevice-glue/Makefile  | 29 +++++++++++++++++++++++++++++
 comms/libimobiledevice-glue/distinfo  |  3 +++
 comms/libimobiledevice-glue/pkg-descr |  2 ++
 comms/libimobiledevice-glue/pkg-plist | 16 ++++++++++++++++
 5 files changed, 51 insertions(+)

diff --git a/comms/Makefile b/comms/Makefile
index 9121e4c18575..223b459de247 100644
--- a/comms/Makefile
+++ b/comms/Makefile
@@ -75,6 +75,7 @@
     SUBDIR += libfap
     SUBDIR += libfec
     SUBDIR += libimobiledevice
+    SUBDIR += libimobiledevice-glue
     SUBDIR += libirman
     SUBDIR += libmodbus
     SUBDIR += librs232
diff --git a/comms/libimobiledevice-glue/Makefile b/comms/libimobiledevice-glue/Makefile
new file mode 100644
index 000000000000..76d4ee386db4
--- /dev/null
+++ b/comms/libimobiledevice-glue/Makefile
@@ -0,0 +1,29 @@
+PORTNAME=	libimobiledevice-glue
+PORTVERSION=	1.3.0
+CATEGORIES=	comms
+MASTER_SITES=	https://github.com/libimobiledevice/${PORTNAME}/releases/download/${PORTVERSION}/
+
+MAINTAINER=	jhale@FreeBSD.org
+COMMENT=	Common code used by the libimobiledevice project
+WWW=		https://www.libimobiledevice.org
+
+LICENSE=	LGPL21+
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+LIB_DEPENDS=	libplist-2.0.so:devel/libplist
+
+USES=		libtool pathfix pkgconfig tar:bzip2
+USE_LDCONFIG=	yes
+
+GNU_CONFIGURE=	yes
+INSTALL_TARGET=	install-strip
+
+PORTDOCS=	NEWS README.md
+
+OPTIONS_DEFINE=	DOCS
+
+post-install:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>
diff --git a/comms/libimobiledevice-glue/distinfo b/comms/libimobiledevice-glue/distinfo
new file mode 100644
index 000000000000..a60e9022e558
--- /dev/null
+++ b/comms/libimobiledevice-glue/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1720417820
+SHA256 (libimobiledevice-glue-1.3.0.tar.bz2) = 96ec4eb2b1e217392149eafb2b5c3cd3e7110200f0e2bb5003c37d3ead7244ef
+SIZE (libimobiledevice-glue-1.3.0.tar.bz2) = 340138
diff --git a/comms/libimobiledevice-glue/pkg-descr b/comms/libimobiledevice-glue/pkg-descr
new file mode 100644
index 000000000000..851b024b083a
--- /dev/null
+++ b/comms/libimobiledevice-glue/pkg-descr
@@ -0,0 +1,2 @@
+Library with common code used by the libraries and tools around the
+libimobiledevice project.
diff --git a/comms/libimobiledevice-glue/pkg-plist b/comms/libimobiledevice-glue/pkg-plist
new file mode 100644
index 000000000000..b05421e5db11
--- /dev/null
+++ b/comms/libimobiledevice-glue/pkg-plist
@@ -0,0 +1,16 @@
+include/libimobiledevice-glue/cbuf.h
+include/libimobiledevice-glue/collection.h
+include/libimobiledevice-glue/glue.h
+include/libimobiledevice-glue/nskeyedarchive.h
+include/libimobiledevice-glue/opack.h
+include/libimobiledevice-glue/sha.h
+include/libimobiledevice-glue/socket.h
+include/libimobiledevice-glue/termcolors.h
+include/libimobiledevice-glue/thread.h
+include/libimobiledevice-glue/tlv.h
+include/libimobiledevice-glue/utils.h
+lib/libimobiledevice-glue-1.0.a
+lib/libimobiledevice-glue-1.0.so
+lib/libimobiledevice-glue-1.0.so.0
+lib/libimobiledevice-glue-1.0.so.0.3.0
+libdata/pkgconfig/libimobiledevice-glue-1.0.pc