summaryrefslogtreecommitdiff
path: root/net/tsclient/Makefile
blob: 0ab4d6aa93c9bcf3c478f1a234c2fc76f28076e5 (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
# New ports collection makefile for: 	tsclient
# Date created:				01 Mar 2003
# Whom:					Koop Mast <einekoai@chello.nl>
#
# $FreeBSD$
#

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

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

RUN_DEPENDS=	rdesktop:${PORTSDIR}/net/rdesktop

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

post-patch:
	@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
		s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure

post-install:
	@${LN} -sf ${PREFIX}/share/gnome/pixmaps/tsclient/tsclient.png \
		${PREFIX}/share/gnome/pixmaps/tsclient.png

.include <bsd.port.mk>