Lines 2-52
Link Here
|
2 |
# Date created: 01 Sep 2004 |
2 |
# Date created: 01 Sep 2004 |
3 |
# Whom: Jean-Yves Lefort <jylefort@brutele.be> |
3 |
# Whom: Jean-Yves Lefort <jylefort@brutele.be> |
4 |
# |
4 |
# |
5 |
# $FreeBSD: ports/net/linux-nx-client/Makefile,v 1.6 2005/06/17 22:59:23 netchild Exp $ |
5 |
# $FreeBSD$ |
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= linux-nx-client |
8 |
PORTNAME= linux-nx-client |
9 |
PORTVERSION= 1.4.0 |
9 |
PORTVERSION= 2.1.0 |
10 |
PORTREVISION= 2 |
|
|
11 |
CATEGORIES= net |
10 |
CATEGORIES= net |
12 |
MASTER_SITES= http://www.nomachine.com/download/nxclient/${PORTVERSION}/Linux-Static-Tar/ |
11 |
MASTER_SITES= http://web04.nomachine.com/download/${PORTVERSION}/Linux/ |
13 |
DISTNAME= nxclient-${PORTVERSION}-91.i386 |
12 |
DISTNAME= nxclient-${PORTVERSION}-9.i386 |
14 |
|
13 |
|
15 |
MAINTAINER= jylefort@FreeBSD.org |
14 |
MAINTAINER= jylefort@FreeBSD.org |
16 |
COMMENT= The NoMachine NX client |
15 |
COMMENT= The NoMachine NX client |
17 |
|
16 |
|
18 |
RUN_DEPENDS= ${LINUXBASE}/usr/lib/libjpeg.so.62:${PORTSDIR}/graphics/linux-jpeg |
17 |
RUN_DEPENDS= ${LINUXBASE}/usr/lib/libaudiofile.so.0:${PORTSDIR}/audio/linux-libaudiofile \ |
|
|
18 |
${LINUXBASE}/usr/lib/libjpeg.so.62:${PORTSDIR}/graphics/linux-jpeg \ |
19 |
${LINUXBASE}/usr/lib/libpng12.so.0:${PORTSDIR}/graphics/linux-png |
19 |
|
20 |
|
20 |
NO_WRKSUBDIR= yes |
21 |
NO_WRKSUBDIR= yes |
21 |
ONLY_FOR_ARCHS= i386 |
22 |
ONLY_FOR_ARCHS= i386 |
22 |
USE_LINUX= yes |
23 |
USE_LINUX= yes |
23 |
USE_X_PREFIX= yes |
24 |
USE_X_PREFIX= yes |
24 |
NO_BUILD= yes |
25 |
NO_BUILD= yes |
|
|
26 |
INSTALLS_ICONS= yes |
25 |
|
27 |
|
26 |
NXSRC= ${WRKSRC}/NX |
28 |
NXSRC= ${WRKSRC}/NX |
27 |
NXDST= ${PREFIX}/lib/linux-nx-client |
29 |
NXDST= ${PREFIX}/lib/linux-nx-client |
|
|
30 |
USE_LDCONFIG= ${NXDST}/lib |
28 |
|
31 |
|
29 |
PLIST_SUB+= PORTVERSION=${PORTVERSION} |
32 |
PLIST_SUB+= PORTVERSION=${PORTVERSION} |
30 |
|
33 |
|
31 |
post-extract: |
|
|
32 |
@${CP} ${NXSRC}/share/applnk/NX\ Client\ for\ Linux/* ${WRKSRC} |
33 |
|
34 |
do-install: |
34 |
do-install: |
35 |
${MKDIR} ${NXDST}/bin |
35 |
${MKDIR} ${NXDST}/bin |
36 |
${INSTALL_PROGRAM} ${NXSRC}/bin/* ${NXDST}/bin |
36 |
${INSTALL_PROGRAM} ${NXSRC}/bin/* ${NXDST}/bin |
37 |
${MKDIR} ${NXDST}/lib |
37 |
${MKDIR} ${NXDST}/lib |
38 |
${INSTALL_DATA} ${NXSRC}/lib/libXcomp.so.${PORTVERSION} ${NXDST}/lib |
38 |
.for f in libXcomp libXcompsh |
39 |
${LN} -sf libXcomp.so.${PORTVERSION} ${NXDST}/lib/libXcomp.so |
39 |
${INSTALL_DATA} ${NXSRC}/lib/${f}.so.${PORTVERSION} ${NXDST}/lib |
40 |
${LN} -sf libXcomp.so.${PORTVERSION} ${NXDST}/lib/libXcomp.so.1 |
40 |
${LN} -sf ${f}.so.${PORTVERSION} ${NXDST}/lib/${f}.so |
|
|
41 |
${LN} -sf ${f}.so.${PORTVERSION} ${NXDST}/lib/${f}.so.2 |
42 |
.endfor |
43 |
${INSTALL_DATA} ${NXSRC}/lib/libcrypto.so.0.9.8 ${NXDST}/lib |
44 |
${LN} -sf libcrypto.so.0.9.8 ${NXDST}/lib/libcrypto.so |
41 |
${MKDIR} ${NXDST}/share |
45 |
${MKDIR} ${NXDST}/share |
42 |
${INSTALL_DATA} ${NXSRC}/share/client.id_dsa.key ${NXDST}/share |
46 |
${INSTALL_DATA} ${NXSRC}/share/keyboards ${NXDST}/share |
|
|
47 |
${MKDIR} ${NXDST}/share/keys |
48 |
${INSTALL_DATA} ${NXSRC}/share/keys/* ${NXDST}/share/keys |
43 |
${MKDIR} ${NXDST}/share/images |
49 |
${MKDIR} ${NXDST}/share/images |
44 |
${INSTALL_DATA} ${NXSRC}/share/images/* ${NXDST}/share/images |
50 |
${INSTALL_DATA} ${NXSRC}/share/images/* ${NXDST}/share/images |
45 |
|
|
|
46 |
${MKDIR} ${PREFIX}/share/applications |
47 |
${INSTALL_DATA} ${WRKSRC}/*.desktop ${PREFIX}/share/applications |
48 |
${MKDIR} ${PREFIX}/share/gnome/pixmaps |
51 |
${MKDIR} ${PREFIX}/share/gnome/pixmaps |
49 |
${INSTALL_DATA} ${NXSRC}/share/icons/* ${PREFIX}/share/gnome/pixmaps |
52 |
${INSTALL_DATA} ${NXSRC}/share/icons/*.png ${PREFIX}/share/gnome/pixmaps |
50 |
${MKDIR} ${LOCALBASE}/share/icons/crystalsvg/48x48 \ |
53 |
${MKDIR} ${LOCALBASE}/share/icons/crystalsvg/48x48 \ |
51 |
${LOCALBASE}/share/icons/crystalsvg/32x32 |
54 |
${LOCALBASE}/share/icons/crystalsvg/32x32 |
52 |
${INSTALL_DATA} ${NXSRC}/share/icons/nx-desktop.png \ |
55 |
${INSTALL_DATA} ${NXSRC}/share/icons/nx-desktop.png \ |
Lines 56-62
Link Here
|
56 |
${LOCALBASE}/share/icons/crystalsvg/32x32 |
59 |
${LOCALBASE}/share/icons/crystalsvg/32x32 |
57 |
.endfor |
60 |
.endfor |
58 |
|
61 |
|
59 |
.for f in nxclient nxprint nxproxy nxssh |
62 |
.for f in nxclient nxesd nxkill nxservice nxssh |
60 |
${ECHO_CMD} "#!/bin/sh" > ${WRKSRC}/${f} |
63 |
${ECHO_CMD} "#!/bin/sh" > ${WRKSRC}/${f} |
61 |
${ECHO_CMD} "export NXDIR=${NXDST}" >> ${WRKSRC}/${f} |
64 |
${ECHO_CMD} "export NXDIR=${NXDST}" >> ${WRKSRC}/${f} |
62 |
${ECHO_CMD} "exec \$$NXDIR/bin/${f} \"\$$@\"" >> ${WRKSRC}/${f} |
65 |
${ECHO_CMD} "exec \$$NXDIR/bin/${f} \"\$$@\"" >> ${WRKSRC}/${f} |