1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/net/remmina/Makefile
Ben Woods cf3c5724f7 net/remmina: Update to v1.2.0-rcgit.27 (Valentine Edition 2018)
- Upstream renamed net/remmina-plugin-gnome to net/remmina-plugin-secret
- Add new plugin net/remmina-plugin-exec to execute commands
- Remove unnecessarily complicated pkg-plist logic for plugins

Changes this release:
  https://github.com/FreeRDP/Remmina/releases/tag/v1.2.0-rcgit.27
  https://github.com/FreeRDP/Remmina/releases/tag/v1.2.0-rcgit.26
  https://github.com/FreeRDP/Remmina/releases/tag/v1.2.0-rcgit.25
2018-03-04 05:21:09 +00:00

67 lines
1.8 KiB
Makefile

# Created by: Alexander Logvinov <ports@logvinov.com>
# $FreeBSD$
PORTNAME= remmina
DISTVERSIONPREFIX=v
DISTVERSION= 1.2.0-rcgit.27
CATEGORIES= net gnome
MAINTAINER= woodsb02@FreeBSD.org
COMMENT= GTK+ Remote Desktop Client
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libjson-glib-1.0.so:devel/json-glib \
libsoup-2.4.so:devel/libsoup
USE_GITHUB= yes
GH_ACCOUNT= FreeRDP
GH_PROJECT= Remmina
USES= cmake:outsource desktop-file-utils gettext localbase:ldflags pathfix \
pkgconfig shared-mime-info ssl
USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk30 pango
USE_XORG= ice sm x11 xext
PATHFIX_WRKSRC= ${WRKSRC}/remmina
INSTALLS_ICONS= yes
CMAKE_ARGS= --build=build \
-DWITH_APPINDICATOR:BOOL=false
OPTIONS_DEFINE= AVAHI GCRYPT NLS SSH TERM
OPTIONS_DEFAULT= AVAHI GCRYPT SSH TERM
OPTIONS_SUB= yes
AVAHI_DESC= Build with Avahi support
GCRYPT_DESC= Build with libgcrypt support for password encryption
SSH_DESC= Build with SSH tunneling support
TERM_DESC= Build with terminal support
AVAHI_LIB_DEPENDS= libavahi-client.so:net/avahi-app \
libavahi-ui-gtk3.so:net/avahi-gtk3
AVAHI_CMAKE_BOOL= WITH_AVAHI
GCRYPT_LIB_DEPENDS= libgcrypt.so:security/libgcrypt
GCRYPT_CMAKE_BOOL= WITH_GCRYPT
NLS_CMAKE_BOOL= WITH_TRANSLATIONS
SSH_LIB_DEPENDS= libssh_threads.so:security/libssh
SSH_LDFLAGS= -fstack-protector
SSH_CMAKE_BOOL= WITH_LIBSSH
TERM_USE= gnome=vte3
TERM_CMAKE_BOOL= WITH_VTE
post-patch:
# do not build plugins and locales , they are provided by separated ports
${REINPLACE_CMD} -e's|add_subdirectory(remmina-plugins)||' \
-e 's,FreeBSD,FreeBSD|DragonFly,' ${WRKSRC}/CMakeLists.txt
${REINPLACE_CMD} -e's|add_subdirectory(remmina-plugins-gnome)||' \
${WRKSRC}/CMakeLists.txt
${REINPLACE_CMD} -e's|add_subdirectory(external_tools)||' \
-e 's,FreeBSD,FreeBSD|DragonFly,' \
${WRKSRC}/remmina/CMakeLists.txt
.include <bsd.port.mk>