aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/kf
diff options
context:
space:
mode:
authoranray <anray@FreeBSD.org>2006-05-24 05:25:18 +0800
committeranray <anray@FreeBSD.org>2006-05-24 05:25:18 +0800
commit60d1ba0acd177c26739aa73f40ce16adb96dfb27 (patch)
treea63805eb82bf89c7a06f56e10a95b8c9108aa9e2 /net-im/kf
parentfafb7bd987f5651565502816553264089505247e (diff)
downloadfreebsd-ports-gnome-60d1ba0acd177c26739aa73f40ce16adb96dfb27.tar.gz
freebsd-ports-gnome-60d1ba0acd177c26739aa73f40ce16adb96dfb27.tar.zst
freebsd-ports-gnome-60d1ba0acd177c26739aa73f40ce16adb96dfb27.zip
- Add fetchable mirrors. [1]
- Add WITHOUT_NLS for fix portlint -A warnings. PR: ports/97728 Submitted by: "Martin Wilke" <freebsd@unixfreunde.de> Reported by: fenner portsurvey [1]
Diffstat (limited to 'net-im/kf')
-rw-r--r--net-im/kf/Makefile12
-rw-r--r--net-im/kf/pkg-plist11
2 files changed, 16 insertions, 7 deletions
diff --git a/net-im/kf/Makefile b/net-im/kf/Makefile
index d62b67619fa2..ee4d8b230b49 100644
--- a/net-im/kf/Makefile
+++ b/net-im/kf/Makefile
@@ -8,7 +8,8 @@
PORTNAME= kf
PORTVERSION= 0.5.4.1
CATEGORIES= net-im
-MASTER_SITES= http://files.jabberstudio.org/kf/
+MASTER_SITES= http://jabberstudio.rediris.es/kf/ \
+ http://freebsd.unixfreunde.de/sources/
MAINTAINER= anray@FreeBSD.org
COMMENT= A simple Jabber client using the GTK+ 2.0 toolkit
@@ -29,4 +30,13 @@ LIB_DEPENDS+= gtkspell.0:${PORTSDIR}/textproc/gtkspell2
CONFIGURE_ARGS+= --enable-gtkspell
.endif
+.if !defined(WITHOUT_NLS)
+USE_GETTEXT= yes
+CONFIGURE_ARGS+= --enable-nls
+PLIST_SUB= NLS=""
+.else
+CONFIGURE_ARGS+= --disable-nls
+PLIST_SUB= NLS="@comment "
+.endif
+
.include <bsd.port.mk>
diff --git a/net-im/kf/pkg-plist b/net-im/kf/pkg-plist
index cff918b19250..cf264e44385a 100644
--- a/net-im/kf/pkg-plist
+++ b/net-im/kf/pkg-plist
@@ -114,16 +114,15 @@ bin/kf
%%DATADIR%%/unavailable.png
%%DATADIR%%/unavailable_desc.png
%%DATADIR%%/unknown.png
-%%DATADIR%%/vcard.png
%%DATADIR%%/vcard.glade
%%DATADIR%%/vcard.glade.h
+%%DATADIR%%/vcard.png
%%DATADIR%%/www.png
%%DATADIR%%/xa.png
-share/applications/kf.desktop
-share/locale/bg/LC_MESSAGES/kf.mo
-share/locale/pl/LC_MESSAGES/kf.mo
-share/locale/ru/LC_MESSAGES/kf.mo
-share/pixmaps/kf.png
+%%NLS%%share/locale/bg/LC_MESSAGES/kf.mo
+%%NLS%%share/locale/pl/LC_MESSAGES/kf.mo
+%%NLS%%share/locale/ru/LC_MESSAGES/kf.mo
+%%NLS%%share/pixmaps/kf.png
@dirrm %%DATADIR%%/emoticons
@dirrm %%DATADIR%%
@dirrmtry share/applications