Skip site navigation (1)Skip section navigation (2)
Date:      27 Aug 2002 14:13:04 -0700
From:      Seth Kingsley <sethk@meowfishies.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/42097: [PATCH] Update net/ymessenger
Message-ID:  <20020827211304.73843.qmail@magnesium.net>

next in thread | raw e-mail | index | archive | help

>Number:         42097
>Category:       ports
>Synopsis:       [PATCH] Update net/ymessenger
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 27 14:20:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Seth Kingsley
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD 5.0-CURRENT #2: Mon Aug 19 15:43:04 PDT 2002
sethk@neko.home.meowfishies.com:/usr/src/sys/i386/compile/NEKO

>Description:
	Update the port for Yahoo! Messenger version 0.99-19.1 binary
	for FreeBSD/i386.

	Also: Claim maintainership of this port.  I have authorization
	from the current maintainer for this.

>How-To-Repeat:
	N/A

>Fix:

This is a patch followed by a shell-archive containing an extra patch
file.

? files/patch-ymessenger
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/net/ymessenger/Makefile,v
retrieving revision 1.8
diff -u -p -r1.8 Makefile
--- Makefile	2002/08/15 22:32:30	1.8
+++ Makefile	2002/08/27 21:10:40
@@ -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-extract:
-	echo 2 | dd bs=1 count=1 conv=notrunc seek=21653 \
-		of=${WRKDIR}/bin/ymessenger
+post-patch:
+	${REINPLACE_CMD} -e 's:%%PREFIX%%:${PREFIX}:g' ${WRKDIR}/bin/ymessenger
+
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/net/ymessenger/distinfo,v
retrieving revision 1.1
diff -u -p -r1.1 distinfo
--- distinfo	2000/12/17 02:40:30	1.1
+++ distinfo	2002/08/27 21:10:40
@@ -1 +1 @@
-MD5 (ymessenger-0.93.0.tgz) = 8ba48ce98b02f0b224b2628cb9b12126
+MD5 (ymessenger-0.99.19-1.tgz) = 801999637d6a76ef88717d3a424c91ae
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/net/ymessenger/pkg-plist,v
retrieving revision 1.1
diff -u -p -r1.1 pkg-plist
--- pkg-plist	2000/12/17 02:40:30	1.1
+++ pkg-plist	2002/08/27 21:10:41
@@ -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

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	files/patch-ymessenger
#
echo x - files/patch-ymessenger
sed 's/^X//' >files/patch-ymessenger << 'END-of-files/patch-ymessenger'
X--- bin/ymessenger.orig	Sat Jul 13 18:54:27 2002
X+++ bin/ymessenger	Sat Jul 13 18:54:05 2002
X@@ -1,4 +1,4 @@
X #!/bin/sh
X-LD_LIBRARY_PATH=/opt/ymessenger/lib:$LD_LIBRARY_PATH
X+LD_LIBRARY_PATH=%%PREFIX%%/lib/ymessenger:$LD_LIBRARY_PATH
X export LD_LIBRARY_PATH
X-exec /opt/ymessenger/bin/ymessenger.bin $@
X+exec %%PREFIX%%/libexec/ymessenger/ymessenger.bin $@
END-of-files/patch-ymessenger
exit

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020827211304.73843.qmail>