diff options
-rw-r--r-- | x11-toolkits/gtk12/Makefile | 8 | ||||
-rw-r--r-- | x11-toolkits/gtk12/pkg-plist | 76 |
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 |