aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2021-06-14 21:38:41 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2021-06-14 21:41:12 +0000
commit2ba5725b9149bf74246d4b62ab45593f73c0a90a (patch)
treefbdd84317c9b5579c44c22c5a6c63a4c2024da33
parentc6ccf4f343d0431ccdaa2dc4367ac6b46c54c275 (diff)
downloadports-2ba5725b9149bf74246d4b62ab45593f73c0a90a.tar.gz
ports-2ba5725b9149bf74246d4b62ab45593f73c0a90a.zip
devel/clxclient: New port: C++ wrapper library around the X Window System API
-rw-r--r--devel/Makefile1
-rw-r--r--devel/clxclient/Makefile35
-rw-r--r--devel/clxclient/distinfo3
-rw-r--r--devel/clxclient/files/patch-Makefile12
-rw-r--r--devel/clxclient/pkg-descr4
5 files changed, 55 insertions, 0 deletions
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/