diff options
author | danilo <danilo@FreeBSD.org> | 2013-10-12 01:26:40 +0800 |
---|---|---|
committer | danilo <danilo@FreeBSD.org> | 2013-10-12 01:26:40 +0800 |
commit | 7e1be40e94d6c51fbecc82ef762d13ca26659369 (patch) | |
tree | a2372fb575f8a8ff684603f4d02f225f40238259 /net | |
parent | 1711680a1de5a5a58a84d5beaae4765731b29749 (diff) | |
download | freebsd-ports-gnome-7e1be40e94d6c51fbecc82ef762d13ca26659369.tar.gz freebsd-ports-gnome-7e1be40e94d6c51fbecc82ef762d13ca26659369.tar.zst freebsd-ports-gnome-7e1be40e94d6c51fbecc82ef762d13ca26659369.zip |
- Update from 4.0.1.0 to 4.0.1.1 [1]
- Add stage support [1]
- Convert LIB_DEPENDS to new syntax
PR: ports/182803
Submitted by: KATO Tsuguru <tkato432@yahoo.com> [1]
Approved by: wg/culot (mentors, implicit)
Diffstat (limited to 'net')
-rw-r--r-- | net/x2goclient/Makefile | 52 | ||||
-rw-r--r-- | net/x2goclient/distinfo | 4 | ||||
-rw-r--r-- | net/x2goclient/pkg-plist | 1 |
3 files changed, 29 insertions, 28 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> diff --git a/net/x2goclient/distinfo b/net/x2goclient/distinfo index 856a75183da3..5f30c9c86850 100644 --- a/net/x2goclient/distinfo +++ b/net/x2goclient/distinfo @@ -1,2 +1,2 @@ -SHA256 (x2goclient-4.0.1.0.tar.gz) = 3c72760f901ef6801529b9b5d8c3333002a53c65bdaeb9832f80d65f44665ed6 -SIZE (x2goclient-4.0.1.0.tar.gz) = 1323833 +SHA256 (x2goclient-4.0.1.1.tar.gz) = dd3877f8830d6085241c60becbd79608a8b2155f941bac258cc5e2079f818be9 +SIZE (x2goclient-4.0.1.1.tar.gz) = 1345719 diff --git a/net/x2goclient/pkg-plist b/net/x2goclient/pkg-plist index 5355a7d22e45..a652d42671b2 100644 --- a/net/x2goclient/pkg-plist +++ b/net/x2goclient/pkg-plist @@ -1,4 +1,5 @@ bin/x2goclient +man/man1/x2goclient.1.gz share/applications/x2goclient.desktop %%PORTDOCS%%%%DOCSDIR%%/HOWTO.GPGCARD share/icons/hicolor/128x128/apps/x2goclient.png |