Add USES=pathfix to fix packaging, this was accidently removed in the

previous commit.
While here stagify and switch to USES=libtool
This commit is contained in:
Koop Mast 2014-04-11 15:17:43 +00:00
parent 15d27efc50
commit 6c54a79f29
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=350981
2 changed files with 6 additions and 8 deletions

View File

@ -12,23 +12,20 @@ COMMENT= GNOME 2 frontend for rdesktop and vncviewer
RUN_DEPENDS= rdesktop:${PORTSDIR}/net/rdesktop
USE_AUTOTOOLS= libtool
USE_GNOME= gtk20
USES= gettext gmake pkgconfig
USES= gettext gmake libtool pathfix pkgconfig
GNU_CONFIGURE= yes
CONFIGURE_ENV= LIBS="`pkg-config --libs libgnomeui-2.0`"
CONFIGURE_ARGS= --disable-gnome
CPPFLAGS+= -I${LOCALBASE}/include `pkg-config --cflags libgnomeui-2.0`
LDFLAGS+= -L${LOCALBASE}/lib
MAN1= tsclient.1
PORTDOCS= COPYING NEWS README
OPTIONS_DEFINE= TIGHTVNC XNEST DOCS
TIGHTVNC_DESC= vncviewer support
XNEST_DESC= X via Xnest support
NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MTIGHTVNC}
@ -46,12 +43,12 @@ post-patch:
${WRKSRC}/Makefile.in
post-install:
@${LN} -sf ${PREFIX}/share/pixmaps/tsclient/tsclient.png \
${PREFIX}/share/pixmaps/tsclient.png
@${LN} -sf tsclient.png \
${STAGEDIR}${PREFIX}/share/pixmaps/tsclient.png
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${MKDIR} ${STAGEDIR}${DOCSDIR}
. for doc in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
. endfor
.endif

View File

@ -1,6 +1,7 @@
bin/tsclient
libdata/bonobo/servers/GNOME_TSClientApplet.server
libexec/tsclient-applet
man/man1/tsclient.1.gz
share/application-registry/tsclient.applications
share/applications/tsclient.desktop
share/locale/ar/LC_MESSAGES/tsclient.mo