1PKGNAMESUFFIX= -viewer 2PORTREVISION= 2 3CATEGORIES= net 4 5COMMENT= TigerVNC Viewer 6WWW= https://tigervnc.org/ 7 8USES+= gnome iconv jpeg magick:7,build xorg 9USE_XORG+= ice pixman sm x11 xcursor xext xfixes xft xi xinerama xrender xrandr 10 11LIB_DEPENDS+= libfontconfig.so:x11-fonts/fontconfig \ 12 libpng.so:graphics/png \ 13 libfltk.so:x11-toolkits/fltk \ 14 libnettle.so:security/nettle \ 15 libgmp.so:math/gmp 16 17OPTIONS_DEFINE= DOCS GNUTLS NLS 18OPTIONS_DEFAULT= GNUTLS 19OPTIONS_SUB= yes 20NLS_CMAKE_BOOL= ENABLE_NLS 21NLS_USES= gettext 22GNUTLS_CMAKE_BOOL= ENABLE_GNUTLS 23GNUTLS_LIB_DEPENDS= libtasn1.so:security/libtasn1 \ 24 libgcrypt.so:security/libgcrypt \ 25 libgpg-error.so:security/libgpg-error \ 26 libgnutls.so:security/gnutls 27 28DESKTOP_ENTRIES= "TigerVNC viewer" "Connect to VNC server and display remote desktop" \ 29 "${PORTNAME}" "vncviewer" "Network;" false 30DESCR= ${.CURDIR}/pkg-descr 31 32post-patch: 33 # do not build server components and tests 34 @${REINPLACE_CMD} \ 35 -e 's|add_subdirectory(unix)||' \ 36 -e 's|add_subdirectory(tests)||' \ 37 ${WRKSRC}/CMakeLists.txt 38 39MASTERDIR= ${.CURDIR}/../tigervnc-server 40.include "${MASTERDIR}/Makefile.common.mk" 41