summaryrefslogtreecommitdiff
path: root/chat/licq-core
diff options
context:
space:
mode:
authorhans <hans@pkgsrc.org>2012-02-16 15:26:41 +0000
committerhans <hans@pkgsrc.org>2012-02-16 15:26:41 +0000
commit06745b28f3d00b0ab8d724c7f732099ceec112e9 (patch)
tree0c999829d7d376464f40278ab8f55585fb4f646c /chat/licq-core
parentb774284cd772aa6020b3c4a598c59ac47303b002 (diff)
downloadpkgsrc-06745b28f3d00b0ab8d724c7f732099ceec112e9.tar.gz
Build locales, buildlink against libiconv.
Diffstat (limited to 'chat/licq-core')
-rw-r--r--chat/licq-core/Makefile9
-rw-r--r--chat/licq-core/PLIST4
-rw-r--r--chat/licq-core/distinfo3
-rw-r--r--chat/licq-core/patches/patch-po_Makefile.in.in13
4 files changed, 25 insertions, 4 deletions
diff --git a/chat/licq-core/Makefile b/chat/licq-core/Makefile
index 95d70db6ead..d6d621d741c 100644
--- a/chat/licq-core/Makefile
+++ b/chat/licq-core/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.12 2008/07/14 12:55:59 joerg Exp $
+# $NetBSD: Makefile,v 1.13 2012/02/16 15:26:41 hans Exp $
#
DISTNAME= licq-1.3.5
PKGNAME= ${DISTNAME:C/-/-core-/}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= chat
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=licq/}
EXTRACT_SUFX= .tar.bz2
@@ -17,6 +17,10 @@ PKG_DESTDIR_SUPPORT= user-destdir
USE_LANGUAGES= c c++
USE_LIBTOOL= YES
GNU_CONFIGURE= YES
+USE_TOOLS+= msgmerge msgfmt
+USE_PKGLOCALEDIR= yes
+
+CONFIGURE_ARGS+= --localedir=${LOCALBASE}/${PKGLOCALEDIR}/locale
.include "../../mk/bsd.prefs.mk"
@@ -25,5 +29,6 @@ GNU_CONFIGURE= YES
INSTALL_UNSTRIPPED= yes
.endif
+.include "../../converters/libiconv/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/chat/licq-core/PLIST b/chat/licq-core/PLIST
index 26534a0ab9d..7bb5faf3902 100644
--- a/chat/licq-core/PLIST
+++ b/chat/licq-core/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2009/06/14 18:28:44 joerg Exp $
+@comment $NetBSD: PLIST,v 1.5 2012/02/16 15:26:41 hans Exp $
bin/licq
bin/viewurl-firefox.sh
bin/viewurl-lynx.sh
@@ -111,4 +111,6 @@ share/licq/utilities/talk.utility
share/licq/utilities/traceroute.utility
share/licq/utilities/vnc.utility
share/licq/utilities/xtraceroute.utility
+share/locale/de/LC_MESSAGES/licq.mo
+share/locale/es/LC_MESSAGES/licq.mo
@pkgdir lib/licq
diff --git a/chat/licq-core/distinfo b/chat/licq-core/distinfo
index 7d264fc42bd..c5606d0c6d0 100644
--- a/chat/licq-core/distinfo
+++ b/chat/licq-core/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.14 2011/11/22 18:02:31 joerg Exp $
+$NetBSD: distinfo,v 1.15 2012/02/16 15:26:41 hans Exp $
SHA1 (licq-1.3.5.tar.bz2) = a1059173f36694e6e5ec9ba62ced6e9738807916
RMD160 (licq-1.3.5.tar.bz2) = 4442f6cb3630d8300e5f128617a522bd2cb863dc
@@ -13,6 +13,7 @@ SHA1 (patch-ag) = 57f07955f7710b4ff2d7e453518eb1bdee45a4b5
SHA1 (patch-ai) = f8cebb4e821a1b648e69135db5dd232a9459773a
SHA1 (patch-ca) = 36475ac0642e8908a2ae6a8913efa25ba09af1c3
SHA1 (patch-cb) = 3a4f3f35825207693dc87112899a3e6bb3ec71a0
+SHA1 (patch-po_Makefile.in.in) = 10ad88a1fd508d6ce29e04666a21e9ff9df44097
SHA1 (patch-qa) = 1fb1821418c151d7a43085d9b1038279dca59f4d
SHA1 (patch-qb) = 2fa14d43c3d415947fdd67db30642b31030e5a3b
SHA1 (patch-src-fifo.cpp) = 3f8379e07e916c44ec059b4077db2f5dd6590f77
diff --git a/chat/licq-core/patches/patch-po_Makefile.in.in b/chat/licq-core/patches/patch-po_Makefile.in.in
new file mode 100644
index 00000000000..21abf836a8d
--- /dev/null
+++ b/chat/licq-core/patches/patch-po_Makefile.in.in
@@ -0,0 +1,13 @@
+$NetBSD: patch-po_Makefile.in.in,v 1.1 2012/02/16 15:26:41 hans Exp $
+
+--- po/Makefile.in.in.orig 2006-10-10 22:24:32.000000000 +0200
++++ po/Makefile.in.in 2012-01-21 01:47:11.557142803 +0100
+@@ -25,7 +25,7 @@ prefix = @prefix@
+ exec_prefix = @exec_prefix@
+ datarootdir = @datarootdir@
+ datadir = @datadir@
+-localedir = $(datadir)/locale
++localedir = @localedir@
+ gettextsrcdir = $(datadir)/gettext/po
+
+ INSTALL = @INSTALL@