1 # Created by: Koop Mast <einekoai@chello.nl>
2 # $FreeBSD: net/tsclient/Makefile 316948 2013-04-30 16:26:32Z jgh $
10 MAINTAINER= ports@thepentagon.org
11 COMMENT= GNOME 2 frontend for rdesktop and vncviewer
13 RUN_DEPENDS= rdesktop:${PORTSDIR}/net/rdesktop
15 USE_AUTOTOOLS= libtool
20 CONFIGURE_ENV= LIBS="`pkg-config --libs libgnomeui-2.0`"
21 CPPFLAGS+= -I${LOCALBASE}/include `pkg-config --cflags libgnomeui-2.0`
22 LDFLAGS+= -L${LOCALBASE}/lib
25 PORTDOCS= COPYING NEWS README
27 OPTIONS_DEFINE= GNOME TIGHTVNC XNEST DOCS
28 OPTIONS_DEFAULT= GNOME
29 TIGHTVNC_DESC= vncviewer support
30 XNEST_DESC= X via Xnest support
32 .include <bsd.port.options.mk>
34 .if ${PORT_OPTIONS:MGNOME}
36 USE_GNOME+= gnomeprefix gnomepanel libgnomeui
38 CONFIGURE_ARGS+= --disable-gnome
41 .if ${PORT_OPTIONS:MTIGHTVNC}
42 RUN_DEPENDS+= vncviewer:${PORTSDIR}/net/tightvnc
45 .if ${PORT_OPTIONS:MXNEST}
46 RUN_DEPENDS+= Xnest:${X_NESTSERVER_PORT}
49 .include <bsd.port.pre.mk>
52 @${REINPLACE_CMD} -e '/^man1dir *=/ s,datadir,prefix,g' \
56 @${LN} -sf ${PREFIX}/share/pixmaps/tsclient/tsclient.png \
57 ${PREFIX}/share/pixmaps/tsclient.png
58 .if ${PORT_OPTIONS:MDOCS}
60 . for doc in ${PORTDOCS}
61 ${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
65 .include <bsd.port.post.mk>