Lines 2-36
Link Here
|
2 |
# $FreeBSD: head/net/x2goclient/Makefile 308630 2012-12-10 19:11:11Z mm $ |
2 |
# $FreeBSD: head/net/x2goclient/Makefile 308630 2012-12-10 19:11:11Z mm $ |
3 |
|
3 |
|
4 |
PORTNAME= x2goclient |
4 |
PORTNAME= x2goclient |
5 |
PORTVERSION= 3.99.2.2 |
5 |
PORTVERSION= 4.0.0.1 |
6 |
PORTREVISION= 1 |
|
|
7 |
CATEGORIES= net |
6 |
CATEGORIES= net |
8 |
MASTER_SITES= http://code.x2go.org/releases/source/x2goclient/ |
7 |
MASTER_SITES= http://code.x2go.org/releases/source/x2goclient/ |
9 |
|
8 |
|
10 |
MAINTAINER= ports@FreeBSD.org |
9 |
MAINTAINER= ports@FreeBSD.org |
11 |
COMMENT= The x2go Qt client |
10 |
COMMENT= Qt client for the X2Go system |
12 |
|
11 |
|
13 |
LICENSE= GPLv2 |
12 |
LICENSE= GPLv2 |
14 |
|
13 |
|
15 |
LIB_DEPENDS= pthread-stubs:${PORTSDIR}/devel/libpthread-stubs \ |
14 |
LIB_DEPENDS= cups:${PORTSDIR}/print/cups-client \ |
16 |
pcre:${PORTSDIR}/devel/pcre \ |
15 |
ssh:${PORTSDIR}/security/libssh |
17 |
png15:${PORTSDIR}/graphics/png \ |
|
|
18 |
cups:${PORTSDIR}/print/cups-client \ |
19 |
freetype:${PORTSDIR}/print/freetype2 \ |
20 |
ssh:${PORTSDIR}/security/libssh \ |
21 |
expat:${PORTSDIR}/textproc/expat2 \ |
22 |
fontconfig:${PORTSDIR}/x11-fonts/fontconfig \ |
23 |
xcb:${PORTSDIR}/x11/libxcb |
24 |
RUN_DEPENDS= nxproxy:${PORTSDIR}/net/nxproxy \ |
16 |
RUN_DEPENDS= nxproxy:${PORTSDIR}/net/nxproxy \ |
25 |
x2goclient-cli:${PORTSDIR}/net/x2goclient-cli |
17 |
x2goclient-cli:${PORTSDIR}/net/x2goclient-cli |
26 |
|
18 |
|
27 |
OPTIONS_DEFINE= LDAP DOCS |
19 |
OPTIONS_DEFINE= LDAP DOCS |
28 |
OPTIONS_DEFAULT=LDAP |
20 |
OPTIONS_DEFAULT=LDAP |
29 |
|
21 |
|
30 |
USE_GETTEXT= yes |
22 |
USE_XORG= xpm |
31 |
USE_ICONV= yes |
23 |
USE_QT4= gui network svg \ |
32 |
USE_XORG= ice sm x11 xau xdmcp xext xpm xrender |
|
|
33 |
USE_QT4= corelib gui network svg \ |
34 |
linguist_build moc_build qmake_build rcc_build uic_build |
24 |
linguist_build moc_build qmake_build rcc_build uic_build |
35 |
QMAKEFLAGS= QMAKE_LRELEASE="${QT_PREFIX}/bin/lrelease-qt4" |
25 |
QMAKEFLAGS= QMAKE_LRELEASE="${QT_PREFIX}/bin/lrelease-qt4" |
36 |
INSTALLS_ICONS= yes |
26 |
INSTALLS_ICONS= yes |
Lines 53-64
Link Here
|
53 |
post-patch: |
43 |
post-patch: |
54 |
@${FIND} ${WRKSRC} -name "*.cpp" -or -name "*.h" | ${XARGS} \ |
44 |
@${FIND} ${WRKSRC} -name "*.cpp" -or -name "*.h" | ${XARGS} \ |
55 |
${REINPLACE_CMD} -e \ |
45 |
${REINPLACE_CMD} -e \ |
56 |
's|Q_OS_LINUX|Q_OS_${OPSYS:U}| ; \ |
46 |
's|Q_OS_LINUX|Q_OS_UNIX| ; \ |
57 |
/<linux\/fs.h>/s|^|//| ; \ |
47 |
/<linux\/fs.h>/s|^|//| ; \ |
58 |
/#define USELDAP/s|^|//|' |
48 |
/#define USELDAP/s|^|//|' |
59 |
@${FIND} ${WRKSRC} -name "*.cpp" -or -name "*.ts" | ${XARGS} \ |
|
|
60 |
${REINPLACE_CMD} -e \ |
61 |
's|authentification|authentication|g' |
62 |
@${REINPLACE_CMD} -e \ |
49 |
@${REINPLACE_CMD} -e \ |
63 |
'/MACOSX/s|^|#|' ${WRKSRC}/x2goclient.pro |
50 |
'/MACOSX/s|^|#|' ${WRKSRC}/x2goclient.pro |
64 |
@${REINPLACE_CMD} -e \ |
51 |
@${REINPLACE_CMD} -e \ |
Lines 74-82
Link Here
|
74 |
do-install: |
61 |
do-install: |
75 |
${INSTALL_PROGRAM} ${WRKSRC}/x2goclient ${PREFIX}/bin |
62 |
${INSTALL_PROGRAM} ${WRKSRC}/x2goclient ${PREFIX}/bin |
76 |
${INSTALL_MAN} ${WRKSRC}/man/man1/x2goclient.1 ${MANPREFIX}/man/man1 |
63 |
${INSTALL_MAN} ${WRKSRC}/man/man1/x2goclient.1 ${MANPREFIX}/man/man1 |
77 |
@${MKDIR} ${PREFIX}/share/applications |
64 |
@${MKDIR} ${DESKTOPDIR} |
78 |
${INSTALL_DATA} ${WRKSRC}/desktop/x2goclient.desktop \ |
65 |
${INSTALL_DATA} ${WRKSRC}/desktop/x2goclient.desktop \ |
79 |
${PREFIX}/share/applications |
66 |
${DESKTOPDIR} |
80 |
.for dir in 16x16 32x32 64x64 128x128 |
67 |
.for dir in 16x16 32x32 64x64 128x128 |
81 |
@${MKDIR} ${PREFIX}/share/icons/hicolor/${dir}/apps |
68 |
@${MKDIR} ${PREFIX}/share/icons/hicolor/${dir}/apps |
82 |
${INSTALL_DATA} ${WRKSRC}/icons/${dir}/x2goclient.png \ |
69 |
${INSTALL_DATA} ${WRKSRC}/icons/${dir}/x2goclient.png \ |