Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jun 2021 21:41:16 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 2ba5725b9149 - main - devel/clxclient: New port: C++ wrapper library around the X Window System API
Message-ID:  <202106142141.15ELfGeq076337@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2ba5725b9149bf74246d4b62ab45593f73c0a90a

commit 2ba5725b9149bf74246d4b62ab45593f73c0a90a
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2021-06-14 21:38:41 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2021-06-14 21:41:12 +0000

    devel/clxclient: New port: C++ wrapper library around the X Window System API
---
 devel/Makefile                       |  1 +
 devel/clxclient/Makefile             | 35 +++++++++++++++++++++++++++++++++++
 devel/clxclient/distinfo             |  3 +++
 devel/clxclient/files/patch-Makefile | 12 ++++++++++++
 devel/clxclient/pkg-descr            |  4 ++++
 5 files changed, 55 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 9076d0c2cb13..148a346405bb 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -356,6 +356,7 @@
     SUBDIR += cloudabi-toolchain
     SUBDIR += clthreads
     SUBDIR += cltune
+    SUBDIR += clxclient
     SUBDIR += cmake
     SUBDIR += cmake-doc
     SUBDIR += cmake-fedora
diff --git a/devel/clxclient/Makefile b/devel/clxclient/Makefile
new file mode 100644
index 000000000000..cbf5abacb979
--- /dev/null
+++ b/devel/clxclient/Makefile
@@ -0,0 +1,35 @@
+PORTNAME=	clxclient
+DISTVERSION=	3.9.2
+CATEGORIES=	devel
+MASTER_SITES=	http://kokkinizita.linuxaudio.org/linuxaudio/downloads/
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	C++ wrapper library around the X Window System API
+
+LICENSE=	LGPL21
+LICENSE_FILE=	${WRKSRC}/../COPYING
+
+BUILD_DEPENDS=	clthreads>0:devel/clthreads \
+		freetype2>0:print/freetype2
+
+USES=		gmake localbase:ldflags pkgconfig tar:bz2 xorg
+USE_XORG=	x11 xft
+USE_LDCONFIG=	yes
+
+ALL_TARGET=	libclxclient.so.${DISTVERSION}
+
+CXXFLAGS+=	-I${WRKSRC}
+
+MAKE_ARGS=	LIBDIR=${LOCALBASE}/lib
+
+WRKSRC_SUBDIR=	source
+
+PLIST_FILES=	include/clxclient.h \
+		lib/libclxclient.so \
+		lib/libclxclient.so.${DISTVERSION:R:R} \
+		lib/libclxclient.so.${DISTVERSION}
+
+post-install:
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libclxclient.so.3.9.2
+
+.include <bsd.port.mk>
diff --git a/devel/clxclient/distinfo b/devel/clxclient/distinfo
new file mode 100644
index 000000000000..1be3b895f399
--- /dev/null
+++ b/devel/clxclient/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1623701720
+SHA256 (clxclient-3.9.2.tar.bz2) = 8501e964f0e0746abc5083a0b75fe3b937281cc4a9f7d1450ff98e86bc337881
+SIZE (clxclient-3.9.2.tar.bz2) = 29991
diff --git a/devel/clxclient/files/patch-Makefile b/devel/clxclient/files/patch-Makefile
new file mode 100644
index 000000000000..bea28eb87bca
--- /dev/null
+++ b/devel/clxclient/files/patch-Makefile
@@ -0,0 +1,12 @@
+--- Makefile.orig	2018-08-24 18:50:31 UTC
++++ Makefile
+@@ -55,7 +55,8 @@ install:	$(CLXCLIENT_MIN)
+ 	install -d $(DESTDIR)$(LIBDIR)
+ 	install -m 644 $(CLXCLIENT_H) $(DESTDIR)$(INCDIR)
+ 	install -m 755 $(CLXCLIENT_MIN) $(DESTDIR)$(LIBDIR)
+-	ldconfig
++	#ldconfig
++	ln -sf $(CLXCLIENT_MIN) $(DESTDIR)$(LIBDIR)/$(CLXCLIENT_MAJ)
+ 	ln -sf $(CLXCLIENT_MIN) $(DESTDIR)$(LIBDIR)/$(CLXCLIENT_SO)
+ 
+ uninstall:
diff --git a/devel/clxclient/pkg-descr b/devel/clxclient/pkg-descr
new file mode 100644
index 000000000000..a089d7f44ca7
--- /dev/null
+++ b/devel/clxclient/pkg-descr
@@ -0,0 +1,4 @@
+clxclient is a C++ wrapper library around the X Window System API that is used
+in some LinuxAudio-hosted projects.
+
+WWW: https://kokkinizita.linuxaudio.org/linuxaudio/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202106142141.15ELfGeq076337>