diff options
author | will <will@FreeBSD.org> | 2004-09-02 08:54:10 +0800 |
---|---|---|
committer | will <will@FreeBSD.org> | 2004-09-02 08:54:10 +0800 |
commit | 99bdeceffe1d41dd20cc1d2faef1ec8d2fc83c2e (patch) | |
tree | dc81c9be5698e309f0551feabc7c9a9d81038042 /net/linux-nx-client | |
parent | 04d5406f84bc49153c2560edab8e9693fc8a1d81 (diff) | |
download | freebsd-ports-gnome-99bdeceffe1d41dd20cc1d2faef1ec8d2fc83c2e.tar.gz freebsd-ports-gnome-99bdeceffe1d41dd20cc1d2faef1ec8d2fc83c2e.tar.zst freebsd-ports-gnome-99bdeceffe1d41dd20cc1d2faef1ec8d2fc83c2e.zip |
Add linux-nx-client 1.3.2.7, the NoMachine NX client.
PR: ports/71256
Submitted by: Jean-Yves Lefort <jylefort@brutele.be>
Diffstat (limited to 'net/linux-nx-client')
-rw-r--r-- | net/linux-nx-client/Makefile | 71 | ||||
-rw-r--r-- | net/linux-nx-client/distinfo | 2 | ||||
-rw-r--r-- | net/linux-nx-client/files/patch-nxclient-admin.desktop | 12 | ||||
-rw-r--r-- | net/linux-nx-client/files/patch-nxclient-help.desktop | 12 | ||||
-rw-r--r-- | net/linux-nx-client/files/patch-nxclient-wizard.desktop | 12 | ||||
-rw-r--r-- | net/linux-nx-client/files/patch-nxclient.desktop | 12 | ||||
-rw-r--r-- | net/linux-nx-client/pkg-descr | 11 | ||||
-rw-r--r-- | net/linux-nx-client/pkg-plist | 77 |
8 files changed, 209 insertions, 0 deletions
diff --git a/net/linux-nx-client/Makefile b/net/linux-nx-client/Makefile new file mode 100644 index 000000000000..176ecd9d1cf3 --- /dev/null +++ b/net/linux-nx-client/Makefile @@ -0,0 +1,71 @@ +# New ports collection makefile for: linux-nx-client +# Date created: 01 Sep 2004 +# Whom: Jean-Yves Lefort <jylefort@brutele.be> +# +# $FreeBSD$ +# + +PORTNAME= linux-nx-client +PORTVERSION= 1.3.2.7 +CATEGORIES= net +MASTER_SITES= http://www.nomachine.com/download/nxclient/${PORTVERSION:R}/Linux-Static-Tar/ +DISTNAME= nxclient-${PORTVERSION:R}-${PORTVERSION:E}.i386 + +MAINTAINER= jylefort@brutele.be +COMMENT= The NoMachine NX client + +RUN_DEPENDS= ${LINUXBASE}/usr/lib/libjpeg.so.62:${PORTSDIR}/graphics/linux-jpeg + +WRKSRC= ${WRKDIR}/nxclient-install +USE_X_PREFIX= yes +USE_LINUX= yes +ONLY_FOR_ARCHS= i386 +NO_BUILD= yes + +NXSRC= ${WRKSRC}/NX +NXDST= ${PREFIX}/lib/linux-nx-client +ICONS3232= nx.png nxclient-admin.png nxclient-wizard.png + +# Linux binary should not be stripped by INSTALL_PROGRAM +# because as a side effect it brands the binary as FreeBSD. +STRIP= + +post-extract: + ${CP} ${NXSRC}/share/applnk/NX\ Client\ for\ Linux/* ${WRKSRC} + +do-install: + ${MKDIR} ${NXDST}/bin + ${INSTALL_PROGRAM} ${NXSRC}/bin/* ${NXDST}/bin + ${MKDIR} ${NXDST}/lib + ${INSTALL_DATA} ${NXSRC}/lib/libXcomp.so.${PORTVERSION:R} ${NXDST}/lib + ${LN} -sf libXcomp.so.${PORTVERSION:R} ${NXDST}/lib/libXcomp.so + ${LN} -sf libXcomp.so.${PORTVERSION:R} ${NXDST}/lib/libXcomp.so.1 + ${MKDIR} ${NXDST}/share + ${INSTALL_DATA} ${NXSRC}/share/client.id_dsa.key ${NXDST}/share + ${MKDIR} ${NXDST}/share/images + ${INSTALL_DATA} ${NXSRC}/share/images/* ${NXDST}/share/images + + ${MKDIR} ${PREFIX}/share/gnome/applications + ${INSTALL_DATA} ${WRKSRC}/*.desktop ${PREFIX}/share/gnome/applications + ${MKDIR} ${PREFIX}/share/gnome/pixmaps + ${INSTALL_DATA} ${NXSRC}/share/icons/* ${PREFIX}/share/gnome/pixmaps + ${MKDIR} ${LOCALBASE}/share/applnk/Internet + ${INSTALL_DATA} ${WRKSRC}/*.desktop ${LOCALBASE}/share/applnk/Internet + ${MKDIR} ${LOCALBASE}/share/icons/crystalsvg/48x48 \ + ${LOCALBASE}/share/icons/crystalsvg/32x32 + ${INSTALL_DATA} ${NXSRC}/share/icons/nx-desktop.png \ + ${LOCALBASE}/share/icons/crystalsvg/48x48 +.for FILE in ${ICONS3232} + ${INSTALL_DATA} ${NXSRC}/share/icons/${FILE} \ + ${LOCALBASE}/share/icons/crystalsvg/32x32 +.endfor + + ${MKDIR} ${PREFIX}/bin +.for f in nxclient nxproxy nxssh + ${ECHO_CMD} "#!/bin/sh" > ${WRKSRC}/${f} + ${ECHO_CMD} "export NXDIR=${NXDST}" >> ${WRKSRC}/${f} + ${ECHO_CMD} "exec \$$NXDIR/bin/${f} \"\$$@\"" >> ${WRKSRC}/${f} + ${INSTALL_SCRIPT} ${WRKSRC}/${f} ${PREFIX}/bin +.endfor + +.include <bsd.port.mk> diff --git a/net/linux-nx-client/distinfo b/net/linux-nx-client/distinfo new file mode 100644 index 000000000000..6e3b1fc7776b --- /dev/null +++ b/net/linux-nx-client/distinfo @@ -0,0 +1,2 @@ +MD5 (nxclient-1.3.2-7.i386.tar.gz) = ce015bd07848b792a056a507344085b0 +SIZE (nxclient-1.3.2-7.i386.tar.gz) = 3343539 diff --git a/net/linux-nx-client/files/patch-nxclient-admin.desktop b/net/linux-nx-client/files/patch-nxclient-admin.desktop new file mode 100644 index 000000000000..adcebd8c4f72 --- /dev/null +++ b/net/linux-nx-client/files/patch-nxclient-admin.desktop @@ -0,0 +1,12 @@ +--- nxclient-admin.desktop.orig Wed Sep 1 18:18:13 2004 ++++ nxclient-admin.desktop Wed Sep 1 18:18:30 2004 +@@ -1,6 +1,7 @@ + [Desktop Entry] + Comment=Launch NX session Administrator +-Exec=/usr/NX/bin/nxclient -admin +-Icon=/usr/NX/share/icons/nxclient-admin.png ++Exec=nxclient -admin ++Icon=nxclient-admin.png + Name=NX Session Administrator + Type=Application ++Categories=Application;Network; diff --git a/net/linux-nx-client/files/patch-nxclient-help.desktop b/net/linux-nx-client/files/patch-nxclient-help.desktop new file mode 100644 index 000000000000..f3bd023c6cb1 --- /dev/null +++ b/net/linux-nx-client/files/patch-nxclient-help.desktop @@ -0,0 +1,12 @@ +--- nxclient-help.desktop.orig Wed Sep 1 18:18:13 2004 ++++ nxclient-help.desktop Wed Sep 1 18:18:34 2004 +@@ -1,6 +1,6 @@ + [Desktop Entry] + Comment=Help online +-Exec=konqueror http://www.nomachine.com/help +-Icon=konqueror ++URL=http://www.nomachine.com/help + Name=NX Help on the Web +-Type=Application ++Type=Link ++Categories=Application;Network; diff --git a/net/linux-nx-client/files/patch-nxclient-wizard.desktop b/net/linux-nx-client/files/patch-nxclient-wizard.desktop new file mode 100644 index 000000000000..d36c83accf0b --- /dev/null +++ b/net/linux-nx-client/files/patch-nxclient-wizard.desktop @@ -0,0 +1,12 @@ +--- nxclient-wizard.desktop.orig Wed Sep 1 18:18:13 2004 ++++ nxclient-wizard.desktop Wed Sep 1 18:18:39 2004 +@@ -1,6 +1,7 @@ + [Desktop Entry] + Comment=Launch connection wizard +-Exec=/usr/NX/bin/nxclient -wizard +-Icon=/usr/NX/share/icons/nxclient-wizard.png ++Exec=nxclient -wizard ++Icon=nxclient-wizard.png + Name=NX Connection Wizard + Type=Application ++Categories=Application;Network; diff --git a/net/linux-nx-client/files/patch-nxclient.desktop b/net/linux-nx-client/files/patch-nxclient.desktop new file mode 100644 index 000000000000..73a649394102 --- /dev/null +++ b/net/linux-nx-client/files/patch-nxclient.desktop @@ -0,0 +1,12 @@ +--- nxclient.desktop.orig Wed Sep 1 18:18:13 2004 ++++ nxclient.desktop Wed Sep 1 18:18:44 2004 +@@ -1,6 +1,7 @@ + [Desktop Entry] + Comment=Client for connection to a remote NX server +-Exec=/usr/NX/bin/nxclient +-Icon=/usr/NX/share/icons/nx.png ++Exec=nxclient ++Icon=nx.png + Name=NX Client for Linux + Type=Application ++Categories=Application;Network; diff --git a/net/linux-nx-client/pkg-descr b/net/linux-nx-client/pkg-descr new file mode 100644 index 000000000000..4594ff03c931 --- /dev/null +++ b/net/linux-nx-client/pkg-descr @@ -0,0 +1,11 @@ +NoMachine NX is a X Window, RDP and RFB compression protocol allowing +thin clients to remotely access desktops running NX Server over slow +links. + +This port provides NoMachine NX Client, which can access KDE, GNOME, +Microsoft RDP, Citrix ICA and VNC desktops remotely. + +WWW: http://www.nomachine.com/ + +- Jean-Yves Lefort +jylefort@brutele.be diff --git a/net/linux-nx-client/pkg-plist b/net/linux-nx-client/pkg-plist new file mode 100644 index 000000000000..a630aa4d7f76 --- /dev/null +++ b/net/linux-nx-client/pkg-plist @@ -0,0 +1,77 @@ +bin/nxclient +bin/nxproxy +bin/nxssh +lib/linux-nx-client/bin/nxclient +lib/linux-nx-client/bin/nxproxy +lib/linux-nx-client/bin/nxssh +lib/linux-nx-client/lib/libXcomp.so +lib/linux-nx-client/lib/libXcomp.so.1 +lib/linux-nx-client/lib/libXcomp.so.1.3.2 +lib/linux-nx-client/share/client.id_dsa.key +lib/linux-nx-client/share/images/about-down.png +lib/linux-nx-client/share/images/about-up.png +lib/linux-nx-client/share/images/connect-01.png +lib/linux-nx-client/share/images/connect-02.png +lib/linux-nx-client/share/images/connect-03.png +lib/linux-nx-client/share/images/connect-04.png +lib/linux-nx-client/share/images/connect-05.png +lib/linux-nx-client/share/images/connect-06.png +lib/linux-nx-client/share/images/connect-07.png +lib/linux-nx-client/share/images/connect-08.png +lib/linux-nx-client/share/images/connect-09.png +lib/linux-nx-client/share/images/connect-10.png +lib/linux-nx-client/share/images/connect-fail-01.png +lib/linux-nx-client/share/images/connect-fail-02.png +lib/linux-nx-client/share/images/folder-shared.png +lib/linux-nx-client/share/images/kill-dsb.png +lib/linux-nx-client/share/images/kill.png +lib/linux-nx-client/share/images/multimedia.png +lib/linux-nx-client/share/images/new-session-dsb.png +lib/linux-nx-client/share/images/new-session.png +lib/linux-nx-client/share/images/nomachine-no-background.png +lib/linux-nx-client/share/images/nx-desktop.png +lib/linux-nx-client/share/images/nx.png +lib/linux-nx-client/share/images/nxclient-admin.png +lib/linux-nx-client/share/images/nxclient-wizard.png +lib/linux-nx-client/share/images/printer-shared.png +lib/linux-nx-client/share/images/refresh-dsb.png +lib/linux-nx-client/share/images/refresh.png +lib/linux-nx-client/share/images/remove-dsb.png +lib/linux-nx-client/share/images/remove.png +lib/linux-nx-client/share/images/session-stats-01-dsb.png +lib/linux-nx-client/share/images/session-stats-01.png +lib/linux-nx-client/share/images/session-stats-02-dsb.png +lib/linux-nx-client/share/images/session-stats-02.png +lib/linux-nx-client/share/images/session-stats-1-dsb.png +lib/linux-nx-client/share/images/session-stats-1.png +lib/linux-nx-client/share/images/session-stats-2-dsb.png +lib/linux-nx-client/share/images/session-stats-2.png +lib/linux-nx-client/share/images/sharing.png +lib/linux-nx-client/share/images/terminate-dsb.png +lib/linux-nx-client/share/images/terminate.png +lib/linux-nx-client/share/images/view-log-dsb.png +lib/linux-nx-client/share/images/view-log.png +lib/linux-nx-client/share/images/warning.png +lib/linux-nx-client/share/images/wizard.png +share/gnome/applications/nxclient-admin.desktop +share/gnome/applications/nxclient-help.desktop +share/gnome/applications/nxclient-wizard.desktop +share/gnome/applications/nxclient.desktop +share/gnome/pixmaps/nx-desktop.png +share/gnome/pixmaps/nx.png +share/gnome/pixmaps/nxclient-admin.png +share/gnome/pixmaps/nxclient-wizard.png +@dirrm lib/linux-nx-client/bin +@dirrm lib/linux-nx-client/lib +@dirrm lib/linux-nx-client/share/images +@dirrm lib/linux-nx-client/share +@dirrm lib/linux-nx-client +@cwd %%LOCALBASE%% +share/icons/crystalsvg/48x48/nx-desktop.png +share/icons/crystalsvg/32x32/nx.png +share/icons/crystalsvg/32x32/nxclient-admin.png +share/icons/crystalsvg/32x32/nxclient-wizard.png +share/applnk/Internet/nxclient-admin.desktop +share/applnk/Internet/nxclient-help.desktop +share/applnk/Internet/nxclient-wizard.desktop +share/applnk/Internet/nxclient.desktop |