2019-03-31 15:10:03 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PKGNAMESUFFIX= -viewer
|
|
|
|
CATEGORIES= net
|
|
|
|
|
|
|
|
COMMENT= TigerVNC Viewer
|
|
|
|
|
2019-11-06 19:58:04 +01:00
|
|
|
USES+= gnome iconv jpeg xorg
|
2019-03-31 15:10:03 +02:00
|
|
|
USE_XORG+= ice sm x11 xcursor xext xfixes xft xinerama xrender
|
|
|
|
|
|
|
|
BUILD_DEPENDS+= convert:graphics/ImageMagick7 # to generate icons during build
|
|
|
|
LIB_DEPENDS+= libfontconfig.so:x11-fonts/fontconfig \
|
|
|
|
libpng.so:graphics/png \
|
|
|
|
libfltk.so:x11-toolkits/fltk
|
|
|
|
|
|
|
|
OPTIONS_DEFINE= DOCS GNUTLS NLS
|
|
|
|
OPTIONS_DEFAULT= GNUTLS
|
|
|
|
OPTIONS_SUB= yes
|
|
|
|
NLS_CMAKE_BOOL= ENABLE_NLS
|
|
|
|
NLS_USES= gettext
|
|
|
|
GNUTLS_CMAKE_BOOL= ENABLE_GNUTLS
|
|
|
|
GNUTLS_LIB_DEPENDS= libtasn1.so:security/libtasn1 \
|
|
|
|
libgcrypt.so:security/libgcrypt \
|
|
|
|
libgpg-error.so:security/libgpg-error \
|
|
|
|
libgnutls.so:security/gnutls
|
|
|
|
|
|
|
|
INSTALLS_ICONS= yes
|
|
|
|
DESKTOP_ENTRIES= "TigerVNC viewer" "Connect to VNC server and display remote desktop" \
|
|
|
|
"${PORTNAME}" "vncviewer" "Network;" false
|
2020-07-29 03:35:54 +02:00
|
|
|
DESCR= ${.CURDIR}/pkg-descr
|
2019-03-31 15:10:03 +02:00
|
|
|
|
|
|
|
post-patch:
|
2019-04-01 17:52:53 +02:00
|
|
|
# do not build server components and tests
|
|
|
|
@${REINPLACE_CMD} \
|
|
|
|
-e 's|add_subdirectory(unix)||' \
|
|
|
|
-e 's|add_subdirectory(tests)||' \
|
|
|
|
${WRKSRC}/CMakeLists.txt
|
2019-03-31 15:10:03 +02:00
|
|
|
|
2019-06-29 15:50:56 +02:00
|
|
|
MASTERDIR= ${.CURDIR}/../tigervnc-server
|
2019-03-31 15:10:03 +02:00
|
|
|
.include "${MASTERDIR}/Makefile.common.mk"
|