- Update to 0.8.1

- Add license information
- Use bsd.port.options.mk
This commit is contained in:
Alexander Logvinov 2010-08-10 02:44:00 +00:00
parent 8bd22d88d4
commit 9e96e0ec98
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=259038
5 changed files with 46 additions and 65 deletions

View file

@ -6,91 +6,77 @@
#
PORTNAME= remmina
PORTVERSION= 0.7.5
PORTREVISION= 2
PORTVERSION= 0.8.1
CATEGORIES= net gnome
MASTER_SITES= SF/${PORTNAME}/0.7/
MASTER_SITES= SF/${PORTNAME}/0.8
MAINTAINER= avl@FreeBSD.org
COMMENT= The GTK+ Remote Desktop Client
RUN_DEPENDS= rdesktop:${PORTSDIR}/net/rdesktop
OPTIONS= SSH "Build with SSH tunneling support" on \
GCRYPT "Build with libgcrypt support for password encryption" on \
TERM "Build with terminal support" on \
AVAHI "Build with Avahi support" on \
UNIQUE "Build with Unique-App support" on
OPTIONS= VNC "Build with VNC protocol support" off \
GNUTLS "Build VNC with GNUTLS encryption support" off \
XDMCP "Build with XDMCP protocol support" off \
SSH "Build with SSH tunneling support" off \
GCRYPT "Build with libgcrypt support for password encryption" off \
TERM "Build with terminal support" off \
AVAHI "Build with Avahi support" off \
UNIQUE "Build with Unique-App support" off
MAKE_JOBS_SAFE= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_GNOME= glib20 gtk20 desktopfileutils
INSTALLS_ICONS= yes
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} -Wl,-rpath -Wl,${LOCALBASE}/lib
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
LDFLAGS="${LDFLAGS}"
SUB_FILES= pkg-message
.include <bsd.port.pre.mk>
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
.include <bsd.port.options.mk>
.if defined(WITHOUT_NLS)
CONFIGURE_ARGS+= --disable-nls
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.else
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.endif
.if defined(WITH_VNC)
LIB_DEPENDS+= jpeg.11:${PORTSDIR}/graphics/jpeg
.if defined(WITH_GNUTLS)
LIB_DEPENDS+= gnutls:${PORTSDIR}/security/gnutls
.endif
.else
CONFIGURE_ARGS+= --disable-vnc
.endif
.if defined(WITH_XDMCP)
RUN_DEPENDS+= Xephyr:${PORTSDIR}/x11-servers/xephyr
.endif
.if defined(WITH_SSH)
LIB_DEPENDS+= ssh.4:${PORTSDIR}/security/libssh
.if !defined(WITHOUT_SSH)
BUILD_DEPENDS+= ${LOCALBASE}/include/libssh/libssh.h:${PORTSDIR}/security/libssh
RUN_DEPENDS+= ${LOCALBASE}/lib/libssh.so.4:${PORTSDIR}/security/libssh
.if ${OSVERSION} >= 800040
LDFLAGS+= -fstack-protector
.endif
.else
CONFIGURE_ARGS+= --disable-ssh
CONFIGURE_ARGS+=--disable-ssh
.endif
.if defined(WITH_GCRYPT)
.if !defined(WITHOUT_GCRYPT)
LIB_DEPENDS+= gcrypt.17:${PORTSDIR}/security/libgcrypt
.else
CONFIGURE_ARGS+= --disable-gcrypt
CONFIGURE_ARGS+=--disable-gcrypt
.endif
.if defined(WITH_TERM)
.if !defined(WITHOUT_TERM)
USE_GNOME+= vte
.else
CONFIGURE_ARGS+= --disable-vte
CONFIGURE_ARGS+=--disable-vte
.endif
.if defined(WITH_AVAHI)
.if !defined(WITHOUT_AVAHI)
LIB_DEPENDS+= avahi-ui.0:${PORTSDIR}/net/avahi-gtk
.else
CONFIGURE_ARGS+= --disable-avahi
CONFIGURE_ARGS+=--disable-avahi
.endif
.if defined(WITH_UNIQUE)
.if !defined(WITHOUT_UNIQUE)
LIB_DEPENDS+= unique-1.0.2:${PORTSDIR}/x11-toolkits/unique
.else
CONFIGURE_ARGS+= --disable-unique
CONFIGURE_ARGS+=--disable-unique
.endif
post-install:
@-update-desktop-database
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View file

@ -1,3 +1,3 @@
MD5 (remmina-0.7.5.tar.gz) = 9b787672b63c57ca9323072f1304ef10
SHA256 (remmina-0.7.5.tar.gz) = 3e2ea9c57003cf8043378fa797e0f2fd6f8a3c3817ece27fa7b381101ec9000a
SIZE (remmina-0.7.5.tar.gz) = 633137
MD5 (remmina-0.8.1.tar.gz) = 88905510156d0b71b741cae34e2e46c8
SHA256 (remmina-0.8.1.tar.gz) = 48080b63f471b8668e2327fdeacdf1064e6b95c3774d45d3c03a6abfa1ad1cdb
SIZE (remmina-0.8.1.tar.gz) = 334912

View file

@ -0,0 +1,4 @@
Remmina is pretty useless without a plugins.
Consider installing net/remmina-plugins.

View file

@ -15,6 +15,6 @@ The Remmina main program:
* Floating toolbar in fullscreen mode, allows you to switch between modes,
toggle keyboard grabbing, minimize, etc.
* Tabbed interface, optionally managed by groups
* Supported network protocols: RDP, VNC, XDMCP, SSH, Avahi
* Supported network protocols: RDP, NX, Telepathy, VNC, XDMCP, SSH, Avahi
WWW: http://remmina.sourceforge.net/

View file

@ -1,4 +1,6 @@
bin/remmina
include/remmina/plugin.h
include/remmina/types.h
share/applications/remmina.desktop
%%DATADIR%%/icons/hicolor/16x16/actions/remmina-fit-window.png
%%DATADIR%%/icons/hicolor/16x16/actions/remmina-leave-fullscreen.png
@ -6,12 +8,6 @@ share/applications/remmina.desktop
%%DATADIR%%/icons/hicolor/16x16/actions/remmina-scrolled-fullscreen.png
%%DATADIR%%/icons/hicolor/16x16/actions/remmina-viewport-fullscreen.png
%%DATADIR%%/icons/hicolor/16x16/actions/remmina-switch-page.png
%%DATADIR%%/icons/hicolor/16x16/emblems/remmina-rdp.png
%%DATADIR%%/icons/hicolor/16x16/emblems/remmina-rdp-ssh.png
%%DATADIR%%/icons/hicolor/16x16/emblems/remmina-vnc.png
%%DATADIR%%/icons/hicolor/16x16/emblems/remmina-vnc-ssh.png
%%DATADIR%%/icons/hicolor/16x16/emblems/remmina-xdmcp.png
%%DATADIR%%/icons/hicolor/16x16/emblems/remmina-xdmcp-ssh.png
%%DATADIR%%/icons/hicolor/16x16/emblems/remmina-sftp.png
%%DATADIR%%/icons/hicolor/22x22/actions/remmina-fit-window.png
%%DATADIR%%/icons/hicolor/22x22/actions/remmina-leave-fullscreen.png
@ -19,12 +15,6 @@ share/applications/remmina.desktop
%%DATADIR%%/icons/hicolor/22x22/actions/remmina-scrolled-fullscreen.png
%%DATADIR%%/icons/hicolor/22x22/actions/remmina-viewport-fullscreen.png
%%DATADIR%%/icons/hicolor/22x22/actions/remmina-switch-page.png
%%DATADIR%%/icons/hicolor/22x22/emblems/remmina-rdp.png
%%DATADIR%%/icons/hicolor/22x22/emblems/remmina-rdp-ssh.png
%%DATADIR%%/icons/hicolor/22x22/emblems/remmina-vnc.png
%%DATADIR%%/icons/hicolor/22x22/emblems/remmina-vnc-ssh.png
%%DATADIR%%/icons/hicolor/22x22/emblems/remmina-xdmcp.png
%%DATADIR%%/icons/hicolor/22x22/emblems/remmina-xdmcp-ssh.png
%%DATADIR%%/icons/hicolor/22x22/emblems/remmina-sftp.png
%%NLS%%share/locale/bg/LC_MESSAGES/remmina.mo
%%NLS%%share/locale/de/LC_MESSAGES/remmina.mo
@ -52,13 +42,14 @@ share/icons/hicolor/48x48/apps/remmina.png
share/icons/hicolor/scalable/apps/remmina.svg
@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
@dirrm include/remmina
@dirrm %%DATADIR%%/icons/hicolor/22x22/actions
@dirrm %%DATADIR%%/icons/hicolor/22x22/emblems
@dirrm %%DATADIR%%/icons/hicolor/22x22
@dirrmtry %%DATADIR%%/icons/hicolor/22x22/emblems
@dirrmtry %%DATADIR%%/icons/hicolor/22x22
@dirrm %%DATADIR%%/icons/hicolor/16x16/actions
@dirrm %%DATADIR%%/icons/hicolor/16x16/emblems
@dirrm %%DATADIR%%/icons/hicolor/16x16
@dirrm %%DATADIR%%/icons/hicolor
@dirrm %%DATADIR%%/icons
@dirrm %%DATADIR%%
@dirrmtry %%DATADIR%%/icons/hicolor/16x16/emblems
@dirrmtry %%DATADIR%%/icons/hicolor/16x16
@dirrmtry %%DATADIR%%/icons/hicolor
@dirrmtry %%DATADIR%%/icons
@dirrmtry %%DATADIR%%
@dirrmtry share/applications