Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Jan 2005 20:04:02 +0100 (CET)
From:      Jean-Yves Lefort <jylefort@brutele.be>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/76427: Update port: net/linux-nx-client to 1.4.0
Message-ID:  <20050118190402.01AF522E1A@jsite.lefort.net>
Resent-Message-ID: <200501181910.j0IJALRx051866@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         76427
>Category:       ports
>Synopsis:       Update port: net/linux-nx-client to 1.4.0
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 18 19:10:21 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Jean-Yves Lefort
>Release:        FreeBSD 5.3-RELEASE i386
>Organization:
>Environment:
System: FreeBSD jsite.lefort.net 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Thu Dec 2 15:08:28 CET 2004 jylefort@jsite.lefort.net:/usr/obj/usr/src/sys/JSITE i386
>Description:
>How-To-Repeat:
>Fix:
diff -ruN /usr/ports/net/linux-nx-client/Makefile linux-nx-client/Makefile
--- /usr/ports/net/linux-nx-client/Makefile	Thu Sep  2 02:54:10 2004
+++ linux-nx-client/Makefile	Tue Jan 18 19:52:34 2005
@@ -6,17 +6,17 @@
 #
 
 PORTNAME=		linux-nx-client
-PORTVERSION=		1.3.2.7
+PORTVERSION=		1.4.0
 CATEGORIES=		net
-MASTER_SITES=		http://www.nomachine.com/download/nxclient/${PORTVERSION:R}/Linux-Static-Tar/
-DISTNAME=		nxclient-${PORTVERSION:R}-${PORTVERSION:E}.i386
+MASTER_SITES=		http://www.nomachine.com/download/nxclient/${PORTVERSION}/Linux-Static-Tar/
+DISTNAME=		nxclient-${PORTVERSION}-91.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
+NO_WRKSUBDIR=		yes
 USE_X_PREFIX=		yes
 USE_LINUX=		yes
 ONLY_FOR_ARCHS=		i386
@@ -30,6 +30,8 @@
 # because as a side effect it brands the binary as FreeBSD.
 STRIP=
 
+PLIST_SUB+=		PORTVERSION=${PORTVERSION}
+
 post-extract:
 	${CP} ${NXSRC}/share/applnk/NX\ Client\ for\ Linux/* ${WRKSRC}
 
@@ -37,9 +39,9 @@
 	${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
+	${INSTALL_DATA} ${NXSRC}/lib/libXcomp.so.${PORTVERSION} ${NXDST}/lib
+	${LN} -sf libXcomp.so.${PORTVERSION} ${NXDST}/lib/libXcomp.so
+	${LN} -sf libXcomp.so.${PORTVERSION} ${NXDST}/lib/libXcomp.so.1
 	${MKDIR} ${NXDST}/share
 	${INSTALL_DATA} ${NXSRC}/share/client.id_dsa.key ${NXDST}/share
 	${MKDIR} ${NXDST}/share/images
@@ -61,7 +63,7 @@
 .endfor
 
 	${MKDIR} ${PREFIX}/bin
-.for f in nxclient nxproxy nxssh
+.for f in nxclient nxprint nxproxy nxssh
 	${ECHO_CMD} "#!/bin/sh" > ${WRKSRC}/${f}
 	${ECHO_CMD} "export NXDIR=${NXDST}" >> ${WRKSRC}/${f}
 	${ECHO_CMD} "exec \$$NXDIR/bin/${f} \"\$$@\"" >> ${WRKSRC}/${f}
diff -ruN /usr/ports/net/linux-nx-client/distinfo linux-nx-client/distinfo
--- /usr/ports/net/linux-nx-client/distinfo	Thu Sep  2 02:54:10 2004
+++ linux-nx-client/distinfo	Tue Jan 18 19:36:48 2005
@@ -1,2 +1,2 @@
-MD5 (nxclient-1.3.2-7.i386.tar.gz) = ce015bd07848b792a056a507344085b0
-SIZE (nxclient-1.3.2-7.i386.tar.gz) = 3343539
+MD5 (nxclient-1.4.0-91.i386.tar.gz) = 92b581d0568a5eaccb849cb86246d6f7
+SIZE (nxclient-1.4.0-91.i386.tar.gz) = 3504920
diff -ruN /usr/ports/net/linux-nx-client/pkg-plist linux-nx-client/pkg-plist
--- /usr/ports/net/linux-nx-client/pkg-plist	Thu Sep  2 02:54:10 2004
+++ linux-nx-client/pkg-plist	Tue Jan 18 19:56:58 2005
@@ -1,12 +1,14 @@
 bin/nxclient
+bin/nxprint
 bin/nxproxy
 bin/nxssh
 lib/linux-nx-client/bin/nxclient
+lib/linux-nx-client/bin/nxprint
 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/lib/libXcomp.so.%%PORTVERSION%%
 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
@@ -34,6 +36,8 @@
 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/printer_default_icon.png
+lib/linux-nx-client/share/images/printer_icon.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
@@ -66,6 +70,9 @@
 @dirrm lib/linux-nx-client/share/images
 @dirrm lib/linux-nx-client/share
 @dirrm lib/linux-nx-client
+@unexec rmdir %D/share/gnome/applications 2>/dev/null || true
+@unexec rmdir %D/share/gnome/pixmaps 2>/dev/null || true
+@unexec rmdir %D/share/gnome 2>/dev/null || true
 @cwd %%LOCALBASE%%
 share/icons/crystalsvg/48x48/nx-desktop.png
 share/icons/crystalsvg/32x32/nx.png
@@ -75,3 +82,9 @@
 share/applnk/Internet/nxclient-help.desktop
 share/applnk/Internet/nxclient-wizard.desktop
 share/applnk/Internet/nxclient.desktop
+@unexec rmdir %D/share/icons/crystalsvg/48x48 2>/dev/null || true
+@unexec rmdir %D/share/icons/crystalsvg/32x32 2>/dev/null || true
+@unexec rmdir %D/share/icons/crystalsvg 2>/dev/null || true
+@unexec rmdir %D/share/icons 2>/dev/null || true
+@unexec rmdir %D/share/applnk/Internet 2>/dev/null || true
+@unexec rmdir %D/share/applnk 2>/dev/null || true
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050118190402.01AF522E1A>