blob: 75ea8e55329e5f2d347a9afac672f74b77c41d1d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
# ex:ts=8
# Ports collection makefile for: yahoo-messenger
# Date created: Sat Dec 16, 2000
# Whom: David O'Brien (obrien@NUXI.com)
#
# $FreeBSD$
#
PORTNAME= ymessenger
PORTVERSION= 1.0.4
PORTREVISION= 5
PORTEPOCH= 20020902
CATEGORIES= net-im
MASTER_SITES= http://public.yahoo.com/~mmk/
DISTNAME= fbsd5.${PORTNAME}
EXTRACT_SUFX= .tgz
MAINTAINER= sethk@meowfishies.com
COMMENT= Yahoo! Messenger - Instant messaging client
USE_GNOME= gtk12 gdkpixbuf
USE_REINPLACE= yes
NO_BUILD= yes
NO_WRKSUBDIR= yes
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 600000
LIB_DEPENDS+= c.5:${PORTSDIR}/misc/compat5x
.endif
.if ${OSVERSION} < 500000
IGNORE= does not run on FreeBSD 4.x
.endif
ONLY_FOR_ARCHS= i386
GETTEXT_MAJOR= 6
post-patch:
${REINPLACE_CMD} -e 's:%%PREFIX%%:${PREFIX}:g' ${WRKDIR}/bin/ymessenger
@${CHMOD} +w ${WRKDIR}/share/ymessenger/ymessenger.bin
${ECHO} ${GETTEXT_MAJOR} | dd bs=1 count=1 conv=notrunc seek=43202 \
of=${WRKDIR}/share/ymessenger/ymessenger.bin
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/bin/ymessenger ${PREFIX}/bin
${MKDIR} ${PREFIX}/libexec/ymessenger
${INSTALL_PROGRAM} ${WRKDIR}/share/ymessenger/ymessenger.bin \
${PREFIX}/libexec/ymessenger
@(set -x; for i in yahoo_gnome.png yahoo_kde.xpm \
ymessenger.desktop ymessenger.kdelnk; do \
${INSTALL_DATA} ${WRKDIR}/share/ymessenger/$$i \
${PREFIX}/libexec/ymessenger; \
done)
${MKDIR} ${PREFIX}/lib/ymessenger
${INSTALL_DATA} ${WRKDIR}/lib/libgtkhtml.so.6 \
${PREFIX}/lib/ymessenger/
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>
|