summaryrefslogtreecommitdiff
path: root/net/tsclient/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/tsclient/Makefile')
-rw-r--r--net/tsclient/Makefile24
1 files changed, 8 insertions, 16 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>