aboutsummaryrefslogtreecommitdiff
path: root/net-im/kf
diff options
context:
space:
mode:
authorAndrey Slusar <anray@FreeBSD.org>2006-05-23 21:25:18 +0000
committerAndrey Slusar <anray@FreeBSD.org>2006-05-23 21:25:18 +0000
commita0b7be39249ef95bdae49c73214671c919b88ea2 (patch)
tree79259273e1ad715218efe6c1a5b31e71a46bf49a /net-im/kf
parentd1d5102caae676f16c08587b1487c90a038fbf78 (diff)
downloadports-a0b7be39249ef95bdae49c73214671c919b88ea2.tar.gz
ports-a0b7be39249ef95bdae49c73214671c919b88ea2.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]
Notes
Notes: svn path=/head/; revision=163200
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