aboutsummaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2002-08-28 02:04:14 +0000
committerKevin Lo <kevlo@FreeBSD.org>2002-08-28 02:04:14 +0000
commitc6bb64d17c81dd7e60e3ea327951baaff7d21a7b (patch)
tree714753b1b4004835e4ee0e9afc7d9a04fbcff91e /net-im
parent035c11b1bbb096b46f9a6acc192f8c7d6b477340 (diff)
downloadports-c6bb64d17c81dd7e60e3ea327951baaff7d21a7b.tar.gz
ports-c6bb64d17c81dd7e60e3ea327951baaff7d21a7b.zip
Notes
Diffstat (limited to 'net-im')
-rw-r--r--net-im/ymessenger/Makefile28
-rw-r--r--net-im/ymessenger/distinfo2
-rw-r--r--net-im/ymessenger/files/patch-ymessenger9
-rw-r--r--net-im/ymessenger/pkg-plist8
4 files changed, 38 insertions, 9 deletions
diff --git a/net-im/ymessenger/Makefile b/net-im/ymessenger/Makefile
index e8e114b3395d..b0f630918016 100644
--- a/net-im/ymessenger/Makefile
+++ b/net-im/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-im/ymessenger/distinfo b/net-im/ymessenger/distinfo
index b1bc34413f16..4da6a3f8bfb2 100644
--- a/net-im/ymessenger/distinfo
+++ b/net-im/ymessenger/distinfo
@@ -1 +1 @@
-MD5 (ymessenger-0.93.0.tgz) = 8ba48ce98b02f0b224b2628cb9b12126
+MD5 (ymessenger-0.99.19-1.tgz) = 801999637d6a76ef88717d3a424c91ae
diff --git a/net-im/ymessenger/files/patch-ymessenger b/net-im/ymessenger/files/patch-ymessenger
new file mode 100644
index 000000000000..79f65cb1a8cf
--- /dev/null
+++ b/net-im/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-im/ymessenger/pkg-plist b/net-im/ymessenger/pkg-plist
index 4b0883b579f2..206c0d222000 100644
--- a/net-im/ymessenger/pkg-plist
+++ b/net-im/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