1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

x11/clip: New port: Cross-platform C++ library to copy/paste clipboard content

This commit is contained in:
Yuri Victorovich 2024-06-04 21:14:42 -07:00
parent 534d892c66
commit 76e37f6549
4 changed files with 35 additions and 0 deletions

View File

@ -42,6 +42,7 @@
SUBDIR += cinnamon-session
SUBDIR += cl-clx
SUBDIR += cl-clx-sbcl
SUBDIR += clip
SUBDIR += clipcat
SUBDIR += cliphist
SUBDIR += clipman

30
x11/clip/Makefile Normal file
View File

@ -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>

3
x11/clip/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1717556485
SHA256 (dacap-clip-v1.9_GH0.tar.gz) = e8af414c720784a6005419afb087786c05602e998ec52b2efe9e3112b7535d30
SIZE (dacap-clip-v1.9_GH0.tar.gz) = 28926

1
x11/clip/pkg-descr Normal file
View File

@ -0,0 +1 @@
Clip is a library to copy/retrieve content to/from the clipboard/pasteboard.