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

PORTNAME=   tsclient
PORTVERSION=    0.120
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>