mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
de7d56187b
PR: ports/70755 Submitted by: Seth Kingsley <sethk@magnesium.net> (maintainer)
57 lines
1.4 KiB
Makefile
57 lines
1.4 KiB
Makefile
# 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= 3
|
|
PORTEPOCH= 20020902
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://public.yahoo.com/~mmk/
|
|
DISTNAME= fbsd4.${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} >= 500000
|
|
LIB_DEPENDS+= c.4:${PORTSDIR}/misc/compat4x
|
|
.endif
|
|
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
GETTEXT_MAJOR= 6
|
|
|
|
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.0 \
|
|
${PREFIX}/lib/ymessenger/
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e 's:%%PREFIX%%:${PREFIX}:g' ${WRKDIR}/bin/ymessenger
|
|
@${CHMOD} +w ${WRKDIR}/bin/ymessenger.bin
|
|
${ECHO} ${GETTEXT_MAJOR} | dd bs=1 count=1 conv=notrunc seek=43202 \
|
|
of=${WRKDIR}/bin/ymessenger.bin
|
|
|
|
.include <bsd.port.post.mk>
|