View | Details | Raw Unified | Return to bug 79343
Collapse All | Expand All

(-)linux-nx-client/Makefile (-8 / +6 lines)
Lines 7-12 Link Here
7
7
8
PORTNAME=		linux-nx-client
8
PORTNAME=		linux-nx-client
9
PORTVERSION=		1.4.0
9
PORTVERSION=		1.4.0
10
PORTREVISION=		1
10
CATEGORIES=		net
11
CATEGORIES=		net
11
MASTER_SITES=		http://www.nomachine.com/download/nxclient/${PORTVERSION}/Linux-Static-Tar/
12
MASTER_SITES=		http://www.nomachine.com/download/nxclient/${PORTVERSION}/Linux-Static-Tar/
12
DISTNAME=		nxclient-${PORTVERSION}-91.i386
13
DISTNAME=		nxclient-${PORTVERSION}-91.i386
Lines 23-29 Link Here
23
24
24
NXSRC=			${WRKSRC}/NX
25
NXSRC=			${WRKSRC}/NX
25
NXDST=			${PREFIX}/lib/linux-nx-client
26
NXDST=			${PREFIX}/lib/linux-nx-client
26
ICONS3232=		nx.png nxclient-admin.png nxclient-wizard.png
27
27
28
# Linux binary should not be stripped by INSTALL_PROGRAM
28
# Linux binary should not be stripped by INSTALL_PROGRAM
29
# because as a side effect it brands the binary as FreeBSD.
29
# because as a side effect it brands the binary as FreeBSD.
Lines 32-38 Link Here
32
PLIST_SUB+=		PORTVERSION=${PORTVERSION}
32
PLIST_SUB+=		PORTVERSION=${PORTVERSION}
33
33
34
post-extract:
34
post-extract:
35
	${CP} ${NXSRC}/share/applnk/NX\ Client\ for\ Linux/* ${WRKSRC}
35
	@${CP} ${NXSRC}/share/applnk/NX\ Client\ for\ Linux/* ${WRKSRC}
36
36
37
do-install:
37
do-install:
38
	${MKDIR} ${NXDST}/bin
38
	${MKDIR} ${NXDST}/bin
Lines 46-63 Link Here
46
	${MKDIR} ${NXDST}/share/images
46
	${MKDIR} ${NXDST}/share/images
47
	${INSTALL_DATA} ${NXSRC}/share/images/* ${NXDST}/share/images
47
	${INSTALL_DATA} ${NXSRC}/share/images/* ${NXDST}/share/images
48
48
49
	${MKDIR} ${PREFIX}/share/gnome/applications
49
	${MKDIR} ${PREFIX}/share/applications
50
	${INSTALL_DATA} ${WRKSRC}/*.desktop ${PREFIX}/share/gnome/applications
50
	${INSTALL_DATA} ${WRKSRC}/*.desktop ${PREFIX}/share/applications
51
	${MKDIR} ${PREFIX}/share/gnome/pixmaps
51
	${MKDIR} ${PREFIX}/share/gnome/pixmaps
52
	${INSTALL_DATA} ${NXSRC}/share/icons/* ${PREFIX}/share/gnome/pixmaps
52
	${INSTALL_DATA} ${NXSRC}/share/icons/* ${PREFIX}/share/gnome/pixmaps
53
	${MKDIR} ${LOCALBASE}/share/applnk/Internet
54
	${INSTALL_DATA} ${WRKSRC}/*.desktop ${LOCALBASE}/share/applnk/Internet
55
	${MKDIR} ${LOCALBASE}/share/icons/crystalsvg/48x48 \
53
	${MKDIR} ${LOCALBASE}/share/icons/crystalsvg/48x48 \
56
		${LOCALBASE}/share/icons/crystalsvg/32x32
54
		${LOCALBASE}/share/icons/crystalsvg/32x32
57
	${INSTALL_DATA} ${NXSRC}/share/icons/nx-desktop.png \
55
	${INSTALL_DATA} ${NXSRC}/share/icons/nx-desktop.png \
58
		${LOCALBASE}/share/icons/crystalsvg/48x48
56
		${LOCALBASE}/share/icons/crystalsvg/48x48
59
.for FILE in ${ICONS3232}
57
.for f in nx.png nxclient-admin.png nxclient-wizard.png
60
	${INSTALL_DATA} ${NXSRC}/share/icons/${FILE} \
58
	${INSTALL_DATA} ${NXSRC}/share/icons/${f} \
61
		${LOCALBASE}/share/icons/crystalsvg/32x32
59
		${LOCALBASE}/share/icons/crystalsvg/32x32
62
.endfor
60
.endfor
63
61
(-)linux-nx-client/pkg-plist (-11 / +5 lines)
Lines 57-66 Link Here
57
lib/linux-nx-client/share/images/view-log.png
57
lib/linux-nx-client/share/images/view-log.png
58
lib/linux-nx-client/share/images/warning.png
58
lib/linux-nx-client/share/images/warning.png
59
lib/linux-nx-client/share/images/wizard.png
59
lib/linux-nx-client/share/images/wizard.png
60
share/gnome/applications/nxclient-admin.desktop
60
share/applications/nxclient-admin.desktop
61
share/gnome/applications/nxclient-help.desktop
61
share/applications/nxclient-help.desktop
62
share/gnome/applications/nxclient-wizard.desktop
62
share/applications/nxclient-wizard.desktop
63
share/gnome/applications/nxclient.desktop
63
share/applications/nxclient.desktop
64
share/gnome/pixmaps/nx-desktop.png
64
share/gnome/pixmaps/nx-desktop.png
65
share/gnome/pixmaps/nx.png
65
share/gnome/pixmaps/nx.png
66
share/gnome/pixmaps/nxclient-admin.png
66
share/gnome/pixmaps/nxclient-admin.png
Lines 70-76 Link Here
70
@dirrm lib/linux-nx-client/share/images
70
@dirrm lib/linux-nx-client/share/images
71
@dirrm lib/linux-nx-client/share
71
@dirrm lib/linux-nx-client/share
72
@dirrm lib/linux-nx-client
72
@dirrm lib/linux-nx-client
73
@unexec rmdir %D/share/gnome/applications 2>/dev/null || true
73
@unexec rmdir %D/share/applications 2>/dev/null || true
74
@unexec rmdir %D/share/gnome/pixmaps 2>/dev/null || true
74
@unexec rmdir %D/share/gnome/pixmaps 2>/dev/null || true
75
@unexec rmdir %D/share/gnome 2>/dev/null || true
75
@unexec rmdir %D/share/gnome 2>/dev/null || true
76
@cwd %%LOCALBASE%%
76
@cwd %%LOCALBASE%%
Lines 78-90 Link Here
78
share/icons/crystalsvg/32x32/nx.png
78
share/icons/crystalsvg/32x32/nx.png
79
share/icons/crystalsvg/32x32/nxclient-admin.png
79
share/icons/crystalsvg/32x32/nxclient-admin.png
80
share/icons/crystalsvg/32x32/nxclient-wizard.png
80
share/icons/crystalsvg/32x32/nxclient-wizard.png
81
share/applnk/Internet/nxclient-admin.desktop
82
share/applnk/Internet/nxclient-help.desktop
83
share/applnk/Internet/nxclient-wizard.desktop
84
share/applnk/Internet/nxclient.desktop
85
@unexec rmdir %D/share/icons/crystalsvg/48x48 2>/dev/null || true
81
@unexec rmdir %D/share/icons/crystalsvg/48x48 2>/dev/null || true
86
@unexec rmdir %D/share/icons/crystalsvg/32x32 2>/dev/null || true
82
@unexec rmdir %D/share/icons/crystalsvg/32x32 2>/dev/null || true
87
@unexec rmdir %D/share/icons/crystalsvg 2>/dev/null || true
83
@unexec rmdir %D/share/icons/crystalsvg 2>/dev/null || true
88
@unexec rmdir %D/share/icons 2>/dev/null || true
84
@unexec rmdir %D/share/icons 2>/dev/null || true
89
@unexec rmdir %D/share/applnk/Internet 2>/dev/null || true
90
@unexec rmdir %D/share/applnk 2>/dev/null || true

Return to bug 79343