aboutsummaryrefslogtreecommitdiffstats
path: root/net/ymessenger/Makefile
blob: b0f630918016034fa11ae7afd00493f2b1a5542b (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
# 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=    0.99.19-1
CATEGORIES= net
MASTER_SITES=   http://download.yahoo.com/dl/unix/fbsd45/
EXTRACT_SUFX=   .tgz
NO_WRKSUBDIR=   yes

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_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

.include <bsd.port.mk>