Fix hardcoded /usr/libexec link in the tsclient applet.

PR:	50334
Submitted by:	maintainer
This commit is contained in:
Joe Marcus Clarke 2003-04-04 08:12:58 +00:00
parent cb2e6bbf09
commit 2351763b4f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=78149

View File

@ -7,6 +7,7 @@
PORTNAME= tsclient
PORTVERSION= 0.104
PORTREVISION= 1
CATEGORIES= net gnome
MASTER_SITES= http://www.gnomepro.com/tsclient/
@ -18,12 +19,17 @@ RUN_DEPENDS= rdesktop:${PORTSDIR}/net/rdesktop
USE_X_PREFIX= yes
USE_GNOMENG= 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