diff options
Diffstat (limited to 'net/x2goclient/Makefile')
-rw-r--r-- | net/x2goclient/Makefile | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/net/x2goclient/Makefile b/net/x2goclient/Makefile index 801fd626ecb5..56a099e5b6ad 100644 --- a/net/x2goclient/Makefile +++ b/net/x2goclient/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= x2goclient -PORTVERSION= 4.0.1.0 +PORTVERSION= 4.0.1.1 CATEGORIES= net MASTER_SITES= http://code.x2go.org/releases/source/x2goclient/ @@ -11,8 +11,8 @@ COMMENT= Qt client for the X2Go system LICENSE= GPLv2 -LIB_DEPENDS= cups:${PORTSDIR}/print/cups-client \ - ssh:${PORTSDIR}/security/libssh +LIB_DEPENDS= libcups.so:${PORTSDIR}/print/cups-client \ + libssh.so:${PORTSDIR}/security/libssh RUN_DEPENDS= nxproxy:${PORTSDIR}/net/nxproxy \ x2goclient-cli:${PORTSDIR}/net/x2goclient-cli @@ -25,9 +25,6 @@ USE_QT4= gui network svg \ QMAKEFLAGS= QMAKE_LRELEASE="${QT_PREFIX}/bin/lrelease-qt4" INSTALLS_ICONS= yes -MAN1= x2goclient.1 - -NO_STAGE= yes .include <bsd.port.options.mk> .if ${PORT_OPTIONS:MLDAP} @@ -46,30 +43,33 @@ post-patch: /#define USELDAP/s|^|//|' do-configure: - @cd ${WRKSRC}; ${SETENV} ${CONFIGURE_ENV} ${QMAKE} ${QMAKEFLAGS} + @(cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${QMAKE} ${QMAKEFLAGS}) pre-build: - @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} \ - ${MAKEFILE} compiler_TSQM_make_all + @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} \ + ${MAKEFILE} compiler_TSQM_make_all) do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/x2goclient ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/man/man1/x2goclient.1 ${MANPREFIX}/man/man1 - @${MKDIR} ${DESKTOPDIR} - ${INSTALL_DATA} ${WRKSRC}/desktop/x2goclient.desktop \ - ${DESKTOPDIR} -.for dir in 16x16 32x32 48x48 64x64 128x128 - @${MKDIR} ${PREFIX}/share/icons/hicolor/${dir}/apps - ${INSTALL_DATA} ${WRKSRC}/icons/${dir}/x2goclient.png \ - ${PREFIX}/share/icons/hicolor/${dir}/apps + (cd ${WRKSRC} && ${INSTALL_PROGRAM} x2goclient \ + ${STAGEDIR}${PREFIX}/bin) + (cd ${WRKSRC}/man/man1 && ${INSTALL_MAN} x2goclient.1 \ + ${STAGEDIR}${MANPREFIX}/man/man1) + @${MKDIR} ${STAGEDIR}${DESKTOPDIR} + (cd ${WRKSRC}/desktop && ${INSTALL_DATA} x2goclient.desktop \ + ${STAGEDIR}${DESKTOPDIR}) +.for i in 16x16 32x32 48x48 64x64 128x128 + @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${i}/apps + (cd ${WRKSRC}/icons/${i} && ${INSTALL_DATA} x2goclient.png \ + ${STAGEDIR}${PREFIX}/share/icons/hicolor/${i}/apps) .endfor - @${MKDIR} ${DATADIR}/icons - ${INSTALL_DATA} ${WRKSRC}/icons/x2goclient.xpm ${DATADIR}/icons - ${INSTALL_DATA} ${WRKSRC}/icons/128x128/x2goclient.png ${DATADIR}/icons - ${INSTALL_DATA} ${WRKSRC}/icons/128x128/x2gosession.png ${DATADIR}/icons -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/HOWTO.GPGCARD ${DOCSDIR} -.endif + @${MKDIR} ${STAGEDIR}${DATADIR}/icons + (cd ${WRKSRC}/icons && ${INSTALL_DATA} x2goclient.xpm \ + ${STAGEDIR}${DATADIR}/icons) +.for i in x2goclient.png x2gosession.png + (cd ${WRKSRC}/icons/128x128 && ${INSTALL_DATA} ${i} \ + ${STAGEDIR}${DATADIR}/icons) +.endfor + @${MKDIR} ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC} && ${INSTALL_DATA} HOWTO.GPGCARD ${STAGEDIR}${DOCSDIR}) .include <bsd.port.mk> |