aboutsummaryrefslogtreecommitdiff
path: root/net-im/ymessenger
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-08-21 12:09:51 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-08-21 12:09:51 +0000
commitde7d56187b8c5d2b0e48089b207dc7d8d6ebefea (patch)
treebaa2434a03e63ddb1bad6e1c1f82669d66219b18 /net-im/ymessenger
parent5a88187978888397196bcb412e01ae2ed76c45fa (diff)
downloadports-de7d56187b8c5d2b0e48089b207dc7d8d6ebefea.tar.gz
ports-de7d56187b8c5d2b0e48089b207dc7d8d6ebefea.zip
Notes
Diffstat (limited to 'net-im/ymessenger')
-rw-r--r--net-im/ymessenger/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/net-im/ymessenger/Makefile b/net-im/ymessenger/Makefile
index 943370daa9b1..195b1d54fd20 100644
--- a/net-im/ymessenger/Makefile
+++ b/net-im/ymessenger/Makefile
@@ -8,7 +8,7 @@
PORTNAME= ymessenger
PORTVERSION= 1.0.4
-PORTREVISION= 2
+PORTREVISION= 3
PORTEPOCH= 20020902
CATEGORIES= net
MASTER_SITES= http://public.yahoo.com/~mmk/
@@ -31,6 +31,8 @@ LIB_DEPENDS+= c.4:${PORTSDIR}/misc/compat4x
ONLY_FOR_ARCHS= i386
+GETTEXT_MAJOR= 6
+
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/bin/ymessenger ${PREFIX}/bin
${MKDIR} ${PREFIX}/libexec/ymessenger
@@ -47,5 +49,8 @@ do-install:
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>