1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/net/tsclient/Makefile
Jason Helfman 3ebd84eada - conversion of USE_GETTEXT to USES framework
Approved by:	portmgr (bapt@)
2013-04-30 16:26:32 +00:00

66 lines
1.4 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_AUTOTOOLS= libtool
USE_GNOME= gtk20
USE_GMAKE= yes
USES= gettext
GNU_CONFIGURE= yes
CONFIGURE_ENV= LIBS="`pkg-config --libs libgnomeui-2.0`"
CPPFLAGS+= -I${LOCALBASE}/include `pkg-config --cflags libgnomeui-2.0`
LDFLAGS+= -L${LOCALBASE}/lib
MAN1= tsclient.1
PORTDOCS= COPYING NEWS README
OPTIONS_DEFINE= GNOME TIGHTVNC XNEST DOCS
OPTIONS_DEFAULT= GNOME
TIGHTVNC_DESC= vncviewer support
XNEST_DESC= X via Xnest support
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MGNOME}
USES+= pathfix
USE_GNOME+= gnomeprefix gnomepanel libgnomeui
.else
CONFIGURE_ARGS+= --disable-gnome
.endif
.if ${PORT_OPTIONS:MTIGHTVNC}
RUN_DEPENDS+= vncviewer:${PORTSDIR}/net/tightvnc
.endif
.if ${PORT_OPTIONS:MXNEST}
RUN_DEPENDS+= Xnest:${X_NESTSERVER_PORT}
.endif
.include <bsd.port.pre.mk>
post-patch:
@${REINPLACE_CMD} -e '/^man1dir *=/ s,datadir,prefix,g' \
${WRKSRC}/Makefile.in
post-install:
@${LN} -sf ${PREFIX}/share/pixmaps/tsclient/tsclient.png \
${PREFIX}/share/pixmaps/tsclient.png
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
. for doc in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
. endfor
.endif
.include <bsd.port.post.mk>