summaryrefslogtreecommitdiffstats
path: root/net/gnometelnet
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2003-08-01 18:28:03 +0000
committerkrion <krion@FreeBSD.org>2003-08-01 18:28:03 +0000
commita23b48bcd0b99069f14f43381f4c274028f63291 (patch)
tree23576e1a70e47892ec1d7c3a6b988fd9ddc30fe4 /net/gnometelnet
parentd90310b8232560a80591d88efb91a76c14a164cf (diff)
downloadFreeBSD-ports-a23b48bcd0b99069f14f43381f4c274028f63291.zip
FreeBSD-ports-a23b48bcd0b99069f14f43381f4c274028f63291.tar.gz
- Rearrange USE_GNOME
PR: 55155 Submitted by: Ports Fury Approved by: fjoe (mentor) (implicit)
Diffstat (limited to 'net/gnometelnet')
-rw-r--r--net/gnometelnet/Makefile35
-rw-r--r--net/gnometelnet/pkg-descr2
-rw-r--r--net/gnometelnet/pkg-plist1
3 files changed, 17 insertions, 21 deletions
diff --git a/net/gnometelnet/Makefile b/net/gnometelnet/Makefile
index 1d99f03..fdb1264 100644
--- a/net/gnometelnet/Makefile
+++ b/net/gnometelnet/Makefile
@@ -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>
diff --git a/net/gnometelnet/pkg-descr b/net/gnometelnet/pkg-descr
index 239190f..a5a0d9d 100644
--- a/net/gnometelnet/pkg-descr
+++ b/net/gnometelnet/pkg-descr
@@ -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
diff --git a/net/gnometelnet/pkg-plist b/net/gnometelnet/pkg-plist
index d49ceb0..094b0af 100644
--- a/net/gnometelnet/pkg-plist
+++ b/net/gnometelnet/pkg-plist
@@ -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
OpenPOWER on IntegriCloud