diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2025-07-23 11:37:02 +0200 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2025-07-23 11:38:41 +0200 |
commit | 4569f18fd1c25a069878dd4e157a7c83de8e7992 (patch) | |
tree | 03e7f37340e44a1c0f767bb1fe6f913676cce072 | |
parent | misc/Makefile: Add spacenavd-devel and spnavcfg-devel (diff) |
net/tsclient: remove pathfix
pathfix was only used to install data for the bonobo server.
Bonobo server does not exist anymore in moderne gnome environment.
Remove this leftover bonobo file which cannot be used anyway.
While here: use options helpers to simplify the Makefile
-rw-r--r-- | net/tsclient/Makefile | 24 | ||||
-rw-r--r-- | net/tsclient/pkg-plist | 1 |
2 files changed, 8 insertions, 17 deletions
diff --git a/net/tsclient/Makefile b/net/tsclient/Makefile index 51246c41f470..81a239d0aab2 100644 --- a/net/tsclient/Makefile +++ b/net/tsclient/Makefile @@ -1,6 +1,6 @@ PORTNAME= tsclient PORTVERSION= 0.150 -PORTREVISION= 13 +PORTREVISION= 14 CATEGORIES= net gnome MASTER_SITES= SF @@ -10,7 +10,7 @@ WWW= https://sourceforge.net/projects/tsclient/ RUN_DEPENDS= rdesktop:net/rdesktop -USES= gettext gmake gnome libtool pathfix pkgconfig +USES= gettext gmake gnome libtool pkgconfig USE_GNOME= gtk20 intltool GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share @@ -24,26 +24,18 @@ OPTIONS_DEFINE= TIGHTVNC XNEST DOCS TIGHTVNC_DESC= vncviewer support XNEST_DESC= X via Xnest support -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MTIGHTVNC} -RUN_DEPENDS+= vncviewer:net/tightvnc -.endif - -.if ${PORT_OPTIONS:MXNEST} -RUN_DEPENDS+= Xnest:x11-servers/xorg-server@xnest -.endif - -.include <bsd.port.pre.mk> +TIGHTVNC_RUN_DEPENDS= vncviewer:net/tightvnc +XNEST_RUN_DEPENDS= Xnest:x11-servers/xorg-server@xnest post-install: @${LN} -sf tsclient/tsclient.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/tsclient.png -.if ${PORT_OPTIONS:MDOCS} + @${RM} -r ${STAGEDIR}${PREFIX}/lib/bonobo + +post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} . for doc in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR} . endfor -.endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/net/tsclient/pkg-plist b/net/tsclient/pkg-plist index 7806152d11a3..16870db68257 100644 --- a/net/tsclient/pkg-plist +++ b/net/tsclient/pkg-plist @@ -1,5 +1,4 @@ bin/tsclient -libdata/bonobo/servers/GNOME_TSClientApplet.server libexec/tsclient-applet share/man/man1/tsclient.1.gz share/application-registry/tsclient.applications |