summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/gtk12
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2004-03-02 06:07:54 +0000
committerkris <kris@FreeBSD.org>2004-03-02 06:07:54 +0000
commit7399a1ad9c13534f7dd2e173f2c9d68830614aed (patch)
tree9b15a825f67fd45da7f9a6e605a8a2d1414e01a4 /x11-toolkits/gtk12
parent626875abaf0f047dd962aa5d4919e1ae1645fdd5 (diff)
downloadFreeBSD-ports-7399a1ad9c13534f7dd2e173f2c9d68830614aed.zip
FreeBSD-ports-7399a1ad9c13534f7dd2e173f2c9d68830614aed.tar.gz
Respect WITHOUT_NLS.
Approved by: maintainer
Diffstat (limited to 'x11-toolkits/gtk12')
-rw-r--r--x11-toolkits/gtk12/Makefile8
-rw-r--r--x11-toolkits/gtk12/pkg-plist76
2 files changed, 45 insertions, 39 deletions
diff --git a/x11-toolkits/gtk12/Makefile b/x11-toolkits/gtk12/Makefile
index 82835fa..bdb7fa4 100644
--- a/x11-toolkits/gtk12/Makefile
+++ b/x11-toolkits/gtk12/Makefile
@@ -16,7 +16,6 @@ DISTNAME= gtk+-${PORTVERSION}
MAINTAINER= gnome@FreeBSD.org
COMMENT= Gimp Toolkit for X11 GUI (previous stable version)
-USE_GETTEXT= yes
USE_X_PREFIX= yes
USE_PERL5= yes
USE_GNOME= glib12
@@ -28,6 +27,13 @@ CONFIGURE_ARGS= --includedir=${PREFIX}/include/gtk12 --with-native-locale \
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
X_CFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
+.if !defined(WITHOUT_NLS)
+USE_GETTEXT= yes
+PLIST_SUB+= NLS=""
+.else
+CONFIGURE_ARGS+=--disable-nls
+PLIST_SUB+= NLS="@comment "
+.endif
MAN1= gtk-config.1
diff --git a/x11-toolkits/gtk12/pkg-plist b/x11-toolkits/gtk12/pkg-plist
index 5be7543..c1568ba 100644
--- a/x11-toolkits/gtk12/pkg-plist
+++ b/x11-toolkits/gtk12/pkg-plist
@@ -135,44 +135,44 @@ lib/libgtk12.so.2
libdata/pkgconfig/gdk.pc
libdata/pkgconfig/gtk+.pc
share/aclocal/gtk.m4
-share/locale/az/LC_MESSAGES/gtk+.mo
-share/locale/ca/LC_MESSAGES/gtk+.mo
-share/locale/cs/LC_MESSAGES/gtk+.mo
-share/locale/da/LC_MESSAGES/gtk+.mo
-share/locale/de/LC_MESSAGES/gtk+.mo
-share/locale/el/LC_MESSAGES/gtk+.mo
-share/locale/es/LC_MESSAGES/gtk+.mo
-share/locale/et/LC_MESSAGES/gtk+.mo
-share/locale/eu/LC_MESSAGES/gtk+.mo
-share/locale/fi/LC_MESSAGES/gtk+.mo
-share/locale/fr/LC_MESSAGES/gtk+.mo
-share/locale/ga/LC_MESSAGES/gtk+.mo
-share/locale/gl/LC_MESSAGES/gtk+.mo
-share/locale/hr/LC_MESSAGES/gtk+.mo
-share/locale/hu/LC_MESSAGES/gtk+.mo
-share/locale/it/LC_MESSAGES/gtk+.mo
-share/locale/ja/LC_MESSAGES/gtk+.mo
-share/locale/ko/LC_MESSAGES/gtk+.mo
-share/locale/lt/LC_MESSAGES/gtk+.mo
-share/locale/nl/LC_MESSAGES/gtk+.mo
-share/locale/nn/LC_MESSAGES/gtk+.mo
-share/locale/no/LC_MESSAGES/gtk+.mo
-share/locale/pl/LC_MESSAGES/gtk+.mo
-share/locale/pt/LC_MESSAGES/gtk+.mo
-share/locale/pt_BR/LC_MESSAGES/gtk+.mo
-share/locale/ro/LC_MESSAGES/gtk+.mo
-share/locale/ru/LC_MESSAGES/gtk+.mo
-share/locale/sk/LC_MESSAGES/gtk+.mo
-share/locale/sl/LC_MESSAGES/gtk+.mo
-share/locale/sp/LC_MESSAGES/gtk+.mo
-share/locale/sr/LC_MESSAGES/gtk+.mo
-share/locale/sv/LC_MESSAGES/gtk+.mo
-share/locale/tr/LC_MESSAGES/gtk+.mo
-share/locale/uk/LC_MESSAGES/gtk+.mo
-share/locale/vi/LC_MESSAGES/gtk+.mo
-share/locale/wa/LC_MESSAGES/gtk+.mo
-share/locale/zh_CN.GB2312/LC_MESSAGES/gtk+.mo
-share/locale/zh_TW.Big5/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/az/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/ca/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/cs/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/da/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/de/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/el/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/es/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/et/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/eu/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/fi/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/ga/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/gl/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/hr/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/hu/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/it/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/ja/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/ko/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/lt/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/nl/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/nn/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/no/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/pl/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/pt/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/pt_BR/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/ro/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/ru/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/sk/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/sl/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/sp/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/sr/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/sv/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/tr/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/uk/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/vi/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/wa/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/zh_CN.GB2312/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/zh_TW.Big5/LC_MESSAGES/gtk+.mo
share/themes/Default/gtk/gtkrc
share/themes/Default/gtk/gtkrc.az
share/themes/Default/gtk/gtkrc.be
OpenPOWER on IntegriCloud