summaryrefslogtreecommitdiff
path: root/net/tsclient/Makefile
blob: cd4c39f14fdb713b3b06106436e1f1f8d08675ed (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# New ports collection makefile for: 	tsclient
# Date created:				01 Mar 2003
# Whom:					Koop Mast <einekoai@chello.nl>
#
# $FreeBSD$
#

PORTNAME=	tsclient
PORTVERSION=	0.104
PORTREVISION=	1
CATEGORIES=	net gnome
MASTER_SITES=	http://www.gnomepro.com/tsclient/

MAINTAINER=	einekoai@chello.nl
COMMENT=	A GNOME 2 frontend for rdesktop

LIB_DEPENDS=	panel-applet-2.0:${PORTSDIR}/x11/gnomepanel
RUN_DEPENDS=	rdesktop:${PORTSDIR}/net/rdesktop

USE_X_PREFIX=	yes
USE_REINPLACE=	yes
USE_GNOME=	gnomeprefix gnomehack
USE_GMAKE=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib"

post-patch:
	@${REINPLACE_CMD} -e 's|/usr|${PREFIX}|g;' \
		${WRKSRC}/applet/GNOME_TSClientApplet.server

post-install:
	@${LN} -sf ${PREFIX}/share/gnome/pixmaps/tsclient/tsclient.png \
		${PREFIX}/share/gnome/pixmaps/tsclient.png
.include <bsd.port.mk>