aboutsummaryrefslogtreecommitdiffstats
path: root/net/gnometelnet/Makefile
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2000-10-25 16:19:57 +0800
committersobomax <sobomax@FreeBSD.org>2000-10-25 16:19:57 +0800
commitfc3607ed86a4e25aed30a89544f7c564134d6afe (patch)
tree1705b71981c9476f5a44dff0ad699901638bd2de /net/gnometelnet/Makefile
parente9af832cfcf1ad33a1e672b1bd08d5936c2a4484 (diff)
downloadfreebsd-ports-gnome-fc3607ed86a4e25aed30a89544f7c564134d6afe.tar.gz
freebsd-ports-gnome-fc3607ed86a4e25aed30a89544f7c564134d6afe.tar.zst
freebsd-ports-gnome-fc3607ed86a4e25aed30a89544f7c564134d6afe.zip
Update to 2.2.
Diffstat (limited to 'net/gnometelnet/Makefile')
-rw-r--r--net/gnometelnet/Makefile18
1 files changed, 14 insertions, 4 deletions
diff --git a/net/gnometelnet/Makefile b/net/gnometelnet/Makefile
index 35ae89ec927e..c0c589b10273 100644
--- a/net/gnometelnet/Makefile
+++ b/net/gnometelnet/Makefile
@@ -6,13 +6,15 @@
#
PORTNAME= gnometelnet
-PORTVERSION= 2.0
+PORTVERSION= 2.2
CATEGORIES= net gnome
-MASTER_SITES= http://cyest.hypermart.net/downloads/
+MASTER_SITES= http://www.cyest.org/downloads/
DISTNAME= ${PORTNAME:S/gnome/gnome-/}-${PORTVERSION}
MAINTAINER= sobomax@FreeBSD.org
+BUILD_DEPENDS= automake:${PORTSDIR}/devel/automake
+
USE_BZIP2= yes
USE_X_PREFIX= yes
USE_GNOME= yes
@@ -28,11 +30,19 @@ pre-patch:
'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}
+.endfor
+ ${RM} -f ${WRKSRC}/config.cache
+
post-install:
${MKDIR} ${PREFIX}/share/gnome/apps/Internet
- ${MKDIR} ${PREFIX}/share/gnome/pixmaps/gtelnet
+ ${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/gtelnet
+ ${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
.include <bsd.port.mk>