git: 76e37f654971 - main - x11/clip: New port: Cross-platform C++ library to copy/paste clipboard content
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 05 Jun 2024 05:58:35 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=76e37f65497188d90d9d871d61744c101b2cb2a9 commit 76e37f65497188d90d9d871d61744c101b2cb2a9 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2024-06-05 04:14:42 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2024-06-05 05:57:48 +0000 x11/clip: New port: Cross-platform C++ library to copy/paste clipboard content --- x11/Makefile | 1 + x11/clip/Makefile | 30 ++++++++++++++++++++++++++++++ x11/clip/distinfo | 3 +++ x11/clip/pkg-descr | 1 + 4 files changed, 35 insertions(+) diff --git a/x11/Makefile b/x11/Makefile index 4bbe496f6866..714d8019bfdd 100644 --- a/x11/Makefile +++ b/x11/Makefile @@ -42,6 +42,7 @@ SUBDIR += cinnamon-session SUBDIR += cl-clx SUBDIR += cl-clx-sbcl + SUBDIR += clip SUBDIR += clipcat SUBDIR += cliphist SUBDIR += clipman diff --git a/x11/clip/Makefile b/x11/clip/Makefile new file mode 100644 index 000000000000..3321042451c9 --- /dev/null +++ b/x11/clip/Makefile @@ -0,0 +1,30 @@ +PORTNAME= clip +DISTVERSIONPREFIX= v +DISTVERSION= 1.9 +CATEGORIES= x11 +PKGNAMESUFFIX= -clipboard-library + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Cross-platform C++ library to copy/paste clipboard content +WWW= https://github.com/dacap/clip + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +USES= cmake +USE_LDCONFIG= yes + +USE_GITHUB= yes +GH_ACCOUNT= dacap + +CMAKE_ON= BUILD_SHARED_LIBS +CMAKE_OFF= CLIP_EXAMPLES CLIP_TESTS + +PLIST_FILES= include/clip.h \ + lib/libclip.so + +do-install: # workaround for https://github.com/dacap/clip/issues/77 + ${INSTALL_DATA} ${WRKSRC}/clip.h ${STAGEDIR}${PREFIX}/include + ${INSTALL_LIB} ${BUILD_WRKSRC}/libclip.so ${STAGEDIR}${PREFIX}/lib + +.include <bsd.port.mk> diff --git a/x11/clip/distinfo b/x11/clip/distinfo new file mode 100644 index 000000000000..ee14bc44753c --- /dev/null +++ b/x11/clip/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1717556485 +SHA256 (dacap-clip-v1.9_GH0.tar.gz) = e8af414c720784a6005419afb087786c05602e998ec52b2efe9e3112b7535d30 +SIZE (dacap-clip-v1.9_GH0.tar.gz) = 28926 diff --git a/x11/clip/pkg-descr b/x11/clip/pkg-descr new file mode 100644 index 000000000000..2cef3459351b --- /dev/null +++ b/x11/clip/pkg-descr @@ -0,0 +1 @@ +Clip is a library to copy/retrieve content to/from the clipboard/pasteboard.