freebsd-ports/net/tsclient/Makefile
Koop Mast 2f0486b647 Part 1 of adding USE_GNOME=intltool to ports that require it.
The reason for this is that in the GNOME 3.16 update, USE_GNOME gtk20 and
gtk30 don't pull intltool in anymore.

PR:		201980
Exp-run by:	antoine@
2015-08-02 20:23:55 +00:00

55 lines
1.3 KiB
Makefile

# Created by: Koop Mast <einekoai@chello.nl>
# $FreeBSD$
PORTNAME= tsclient
PORTVERSION= 0.150
PORTREVISION= 10
CATEGORIES= net gnome
MASTER_SITES= SF
MAINTAINER= ports@thepentagon.org
COMMENT= GNOME 2 frontend for rdesktop and vncviewer
RUN_DEPENDS= rdesktop:${PORTSDIR}/net/rdesktop
USE_GNOME= gtk20 intltool
USES= gettext gmake libtool pathfix pkgconfig
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-gnome
CPPFLAGS+= -I${LOCALBASE}/include `pkg-config --cflags libgnomeui-2.0`
LIBS+= -L${LOCALBASE}/lib `pkg-config --libs libgnomeui-2.0`
PORTDOCS= COPYING NEWS README
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:${PORTSDIR}/net/tightvnc
.endif
.if ${PORT_OPTIONS:MXNEST}
RUN_DEPENDS+= Xnest:${PORTSDIR}/x11-servers/xorg-nestserver
.endif
.include <bsd.port.pre.mk>
post-patch:
@${REINPLACE_CMD} -e '/^man1dir *=/ s,datadir,prefix,g' \
${WRKSRC}/Makefile.in
post-install:
@${LN} -sf tsclient.png \
${STAGEDIR}${PREFIX}/share/pixmaps/tsclient.png
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR}
. for doc in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
. endfor
.endif
.include <bsd.port.post.mk>