1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

- Rearrange USE_GNOME

PR:		55155
Submitted by:	Ports Fury
Approved by:	fjoe (mentor) (implicit)
This commit is contained in:
Kirill Ponomarev 2003-08-01 18:28:03 +00:00
parent a64425a941
commit cf71a7a200
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=86139
3 changed files with 17 additions and 21 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= gnometelnet
PORTVERSION= 2.4
PORTREVISION= 1
CATEGORIES= net gnome
MASTER_SITES= http://www.cyest.org/downloads/
DISTNAME= ${PORTNAME:S/gnome/gnome-/}-${PORTVERSION}
@ -14,36 +15,32 @@ DISTNAME= ${PORTNAME:S/gnome/gnome-/}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= A nice frontend to the telnet, ssh, and rlogin clients for GNOME
BUILD_DEPENDS= automake:${PORTSDIR}/devel/automake
BUILD_DEPENDS= ${LOCALBASE}/share/automake/install-sh:${PORTSDIR}/devel/automake
USE_BZIP2= yes
USE_X_PREFIX= yes
USE_GNOME= yes
USE_LIBTOOL= yes
USE_GNOME= gnomehack gnomelibs gnomeprefix
USE_GMAKE= yes
USE_LIBTOOL= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
pre-patch:
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
@find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
pre-configure:
.for file in install-sh mkinstalldirs
${LN} -sf ${LOCALBASE}/share/automake/${file} ${WRKSRC}/${file}
@${LN} -sf ${LOCALBASE}/share/automake/${file} ${WRKSRC}/${file}
.endfor
${RM} -f ${WRKSRC}/config.cache
@${RM} -f ${WRKSRC}/config.cache
post-install:
${MKDIR} ${PREFIX}/share/gnome/apps/Internet
${MKDIR} ${PREFIX}/share/gnome/pixmaps/gnome-telnet
cd ${WRKSRC}/share && \
${INSTALL_DATA} GTelnet.desktop ${PREFIX}/share/gnome/apps/Internet && \
${INSTALL_DATA} *.jpg *.png ${PREFIX}/share/gnome/pixmaps/gnome-telnet
${LN} -sf ${PREFIX}/share/gnome/pixmaps/gnome-telnet/gnome-telnet.png \
${PREFIX}/share/gnome/pixmaps/gnome-telnet.png
@${MKDIR} ${PREFIX}/share/gnome/apps/Internet
${INSTALL_DATA} ${WRKSRC}/share/GTelnet.desktop \
${PREFIX}/share/gnome/apps/Internet
@${MKDIR} ${PREFIX}/share/gnome/pixmaps
${INSTALL_DATA} ${WRKSRC}/share/*.png \
${PREFIX}/share/gnome/pixmaps
@${MKDIR} ${PREFIX}/share/gnome/pixmaps/gnome-telnet
${INSTALL_DATA} ${WRKSRC}/share/*.jpg \
${PREFIX}/share/gnome/pixmaps/gnome-telnet
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
GNOME Telnet is a nice frontend to the telnet, ssh, and rlogin clients.
WWW: http://cyest.hypermart.net/gnome_telnet.html
WWW: http://www.cyest.org/modules.php?name=Content&pa=showpage&pid=4

View File

@ -1,7 +1,6 @@
bin/gnome-telnet
share/gnome/apps/Internet/GTelnet.desktop
share/gnome/pixmaps/gnome-telnet.png
share/gnome/pixmaps/gnome-telnet/gnome-telnet.png
share/gnome/pixmaps/gnome-telnet/gtelnet_bg_black.jpg
share/gnome/pixmaps/gnome-telnet/gtelnet_bg_brown.jpg
share/locale/de/LC_MESSAGES/gnome-telnet.mo