aboutsummaryrefslogtreecommitdiffstats
path: root/net/ymessenger
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2002-08-28 10:04:14 +0800
committerkevlo <kevlo@FreeBSD.org>2002-08-28 10:04:14 +0800
commitab6dd30d481b34175487a24d7905fccf42fc1f17 (patch)
treede4c40e1b7d4f1fd11b8ba225b5f0c7027f0f1e0 /net/ymessenger
parent310cc7a60a13439f1569485934b3c6762747b877 (diff)
downloadfreebsd-ports-gnome-ab6dd30d481b34175487a24d7905fccf42fc1f17.tar.gz
freebsd-ports-gnome-ab6dd30d481b34175487a24d7905fccf42fc1f17.tar.zst
freebsd-ports-gnome-ab6dd30d481b34175487a24d7905fccf42fc1f17.zip
- Update to version 0.99.19-1
- Takeover maintainership PR: 42097 Submitted by: Seth Kingsley <sethk@meowfishies.com> Approved by: MAINTAINER
Diffstat (limited to 'net/ymessenger')
-rw-r--r--net/ymessenger/Makefile28
-rw-r--r--net/ymessenger/distinfo2
-rw-r--r--net/ymessenger/files/patch-ymessenger9
-rw-r--r--net/ymessenger/pkg-plist8
4 files changed, 38 insertions, 9 deletions
diff --git a/net/ymessenger/Makefile b/net/ymessenger/Makefile
index e8e114b3395d..b0f630918016 100644
--- a/net/ymessenger/Makefile
+++ b/net/ymessenger/Makefile
@@ -7,25 +7,37 @@
#
PORTNAME= ymessenger
-PORTVERSION= 0.93.0
-PORTREVISION= 1
+PORTVERSION= 0.99.19-1
CATEGORIES= net
-MASTER_SITES= http://download.yahoo.com/dl/unix/fbsd4/
+MASTER_SITES= http://download.yahoo.com/dl/unix/fbsd45/
EXTRACT_SUFX= .tgz
+NO_WRKSUBDIR= yes
-MAINTAINER= calle.madestrand@norrgarden.se
+MAINTAINER= sethk@meowfishies.com
ONLY_FOR_ARCHS= i386
LIB_DEPENDS= intl.4:${PORTSDIR}/devel/gettext
USE_GTK= yes
+USE_REINPLACE= yes
NO_BUILD= yes
do-install:
- @${INSTALL_PROGRAM} ${WRKDIR}/bin/ymessenger ${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKDIR}/bin/ymessenger ${PREFIX}/bin
+ ${MKDIR} ${PREFIX}/libexec/ymessenger
+ ${INSTALL_PROGRAM} ${WRKDIR}/bin/ymessenger.bin \
+ ${PREFIX}/libexec/ymessenger
+ @(set -x; for i in yahoo_gnome.png yahoo_kde.xpm \
+ ymessenger.desktop ymessenger.kdelnk; do \
+ ${INSTALL_DATA} ${WRKDIR}/bin/$$i \
+ ${PREFIX}/libexec/ymessenger; \
+ done)
+ ${MKDIR} ${PREFIX}/lib/ymessenger
+ ${INSTALL_DATA} ${WRKDIR}/lib/libgtkhtml.so.21 \
+ ${PREFIX}/lib/ymessenger/
+
+post-patch:
+ ${REINPLACE_CMD} -e 's:%%PREFIX%%:${PREFIX}:g' ${WRKDIR}/bin/ymessenger
-post-extract:
- echo 2 | dd bs=1 count=1 conv=notrunc seek=21653 \
- of=${WRKDIR}/bin/ymessenger
.include <bsd.port.mk>
diff --git a/net/ymessenger/distinfo b/net/ymessenger/distinfo
index b1bc34413f16..4da6a3f8bfb2 100644
--- a/net/ymessenger/distinfo
+++ b/net/ymessenger/distinfo
@@ -1 +1 @@
-MD5 (ymessenger-0.93.0.tgz) = 8ba48ce98b02f0b224b2628cb9b12126
+MD5 (ymessenger-0.99.19-1.tgz) = 801999637d6a76ef88717d3a424c91ae
diff --git a/net/ymessenger/files/patch-ymessenger b/net/ymessenger/files/patch-ymessenger
new file mode 100644
index 000000000000..79f65cb1a8cf
--- /dev/null
+++ b/net/ymessenger/files/patch-ymessenger
@@ -0,0 +1,9 @@
+--- bin/ymessenger.orig Sat Jul 13 18:54:27 2002
++++ bin/ymessenger Sat Jul 13 18:54:05 2002
+@@ -1,4 +1,4 @@
+ #!/bin/sh
+-LD_LIBRARY_PATH=/opt/ymessenger/lib:$LD_LIBRARY_PATH
++LD_LIBRARY_PATH=%%PREFIX%%/lib/ymessenger:$LD_LIBRARY_PATH
+ export LD_LIBRARY_PATH
+-exec /opt/ymessenger/bin/ymessenger.bin $@
++exec %%PREFIX%%/libexec/ymessenger/ymessenger.bin $@
diff --git a/net/ymessenger/pkg-plist b/net/ymessenger/pkg-plist
index 4b0883b579f2..206c0d222000 100644
--- a/net/ymessenger/pkg-plist
+++ b/net/ymessenger/pkg-plist
@@ -1 +1,9 @@
bin/ymessenger
+libexec/ymessenger/ymessenger.bin
+libexec/ymessenger/yahoo_gnome.png
+libexec/ymessenger/yahoo_kde.xpm
+libexec/ymessenger/ymessenger.desktop
+libexec/ymessenger/ymessenger.kdelnk
+lib/ymessenger/libgtkhtml.so.21
+@dirrm lib/ymessenger
+@dirrm libexec/ymessenger