aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/centericq
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-04-12 13:39:20 +0800
committerkrion <krion@FreeBSD.org>2004-04-12 13:39:20 +0800
commit81722a6d584a88373c41ebcf9bbbc704cb182154 (patch)
treeb372e56b219e8c565754204cf8430efa00112d1d /net-im/centericq
parenta6e085c24dd1bb2242893222643a5f65a6039204 (diff)
downloadfreebsd-ports-gnome-81722a6d584a88373c41ebcf9bbbc704cb182154.tar.gz
freebsd-ports-gnome-81722a6d584a88373c41ebcf9bbbc704cb182154.tar.zst
freebsd-ports-gnome-81722a6d584a88373c41ebcf9bbbc704cb182154.zip
- Disable Gadu-Gadu support by default
- Add WITHOUT_NLS PR: ports/65381 Submitted by: "Herbert J. Skuhra" <herbert.skuhra@gmx.at> Approved by: maintainer
Diffstat (limited to 'net-im/centericq')
-rw-r--r--net-im/centericq/Makefile13
-rw-r--r--net-im/centericq/pkg-plist32
2 files changed, 28 insertions, 17 deletions
diff --git a/net-im/centericq/Makefile b/net-im/centericq/Makefile
index 56e65c7bb716..b2e9a2c839e0 100644
--- a/net-im/centericq/Makefile
+++ b/net-im/centericq/Makefile
@@ -17,7 +17,6 @@ COMMENT= A text mode menu- and window-driven IM interface
USE_ICONV= yes
USE_OPENSSL= yes
-USE_GETTEXT= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
@@ -25,6 +24,14 @@ CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
LDFLAGS+= -L${LOCALBASE}/lib -lstdc++
CONFIGURE_ARGS= --with-openssl --disable-konst
+.if defined(WITHOUT_NLS)
+CONFIGURE_ARGS+=--disable-nls
+PLIST_SUB+= NLS="@comment "
+.else
+USE_GETTEXT= yes
+PLIST_SUB+= NLS=""
+.endif
+
.if defined(WITH_MULTIBYTE)
CONFIGURE_ARGS+= --enable-locales-fix
.else
@@ -65,6 +72,10 @@ CONFIGURE_ARGS+= --disable-rss
CONFIGURE_ARGS+= --disable-lj
.endif
+.if !defined(WITH_GG)
+CONFIGURE_ARGS+= --disable-gg
+.endif
+
MAN1= cicqconv.1 cicqsync.1
PORTDOCS= FAQ README
diff --git a/net-im/centericq/pkg-plist b/net-im/centericq/pkg-plist
index 3311ec849095..4c04268cd31e 100644
--- a/net-im/centericq/pkg-plist
+++ b/net-im/centericq/pkg-plist
@@ -19,21 +19,21 @@ include/libicq2000/libicq2000/version.h
%%DATADIR%%/online.wav
%%DATADIR%%/sms.wav
%%DATADIR%%/url.wav
-share/locale/bg/LC_MESSAGES/centericq.mo
-share/locale/cs/LC_MESSAGES/centericq.mo
-share/locale/de/LC_MESSAGES/centericq.mo
-share/locale/es/LC_MESSAGES/centericq.mo
-share/locale/fr/LC_MESSAGES/centericq.mo
-share/locale/hu/LC_MESSAGES/centericq.mo
-share/locale/it/LC_MESSAGES/centericq.mo
-share/locale/ms/LC_MESSAGES/centericq.mo
-share/locale/nl/LC_MESSAGES/centericq.mo
-share/locale/pl/LC_MESSAGES/centericq.mo
-share/locale/pt_BR/LC_MESSAGES/centericq.mo
-share/locale/ro/LC_MESSAGES/centericq.mo
-share/locale/ru/LC_MESSAGES/centericq.mo
-share/locale/sv/LC_MESSAGES/centericq.mo
-share/locale/uk/LC_MESSAGES/centericq.mo
-share/locale/zh_TW.Big5/LC_MESSAGES/centericq.mo
+%%NLS%%share/locale/bg/LC_MESSAGES/centericq.mo
+%%NLS%%share/locale/cs/LC_MESSAGES/centericq.mo
+%%NLS%%share/locale/de/LC_MESSAGES/centericq.mo
+%%NLS%%share/locale/es/LC_MESSAGES/centericq.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/centericq.mo
+%%NLS%%share/locale/hu/LC_MESSAGES/centericq.mo
+%%NLS%%share/locale/it/LC_MESSAGES/centericq.mo
+%%NLS%%share/locale/ms/LC_MESSAGES/centericq.mo
+%%NLS%%share/locale/nl/LC_MESSAGES/centericq.mo
+%%NLS%%share/locale/pl/LC_MESSAGES/centericq.mo
+%%NLS%%share/locale/pt_BR/LC_MESSAGES/centericq.mo
+%%NLS%%share/locale/ro/LC_MESSAGES/centericq.mo
+%%NLS%%share/locale/ru/LC_MESSAGES/centericq.mo
+%%NLS%%share/locale/sv/LC_MESSAGES/centericq.mo
+%%NLS%%share/locale/uk/LC_MESSAGES/centericq.mo
+%%NLS%%share/locale/zh_TW.Big5/LC_MESSAGES/centericq.mo
@dirrm include/libicq2000/libicq2000
@dirrm include/libicq2000