aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2004-03-29 14:59:36 +0800
committerkris <kris@FreeBSD.org>2004-03-29 14:59:36 +0800
commit9f6e5dcbf0d3bfa2f6cc3e45238090e73f10bd33 (patch)
tree1783a640cdb3eb67347d1f158b5e9cb4a59e7c20
parent708aef44e107c9b6b68a428d7271a761a61cf470 (diff)
downloadfreebsd-ports-gnome-9f6e5dcbf0d3bfa2f6cc3e45238090e73f10bd33.tar.gz
freebsd-ports-gnome-9f6e5dcbf0d3bfa2f6cc3e45238090e73f10bd33.tar.zst
freebsd-ports-gnome-9f6e5dcbf0d3bfa2f6cc3e45238090e73f10bd33.zip
Add missing USE_GETTEXT, conditionally on WITHOUT_NLS.
-rw-r--r--audio/soundtracker/Makefile8
-rw-r--r--audio/soundtracker/pkg-plist26
2 files changed, 21 insertions, 13 deletions
diff --git a/audio/soundtracker/Makefile b/audio/soundtracker/Makefile
index 9bbce291cd7c..95c5c27312fa 100644
--- a/audio/soundtracker/Makefile
+++ b/audio/soundtracker/Makefile
@@ -25,6 +25,14 @@ GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
+.if !defined(WITHOUT_NLS)
+USE_GETTEXT= yes
+PLIST_SUB+= NLS=""
+.else
+CONFIGURE_ARGS+=--disable-nls
+PLIST_SUB+= NLS="@comment "
+.endif
+
.include <bsd.port.pre.mk>
.if ${HAVE_GNOME:Mgnomelibs}!=""
diff --git a/audio/soundtracker/pkg-plist b/audio/soundtracker/pkg-plist
index 0ac476a0168e..87492efa5720 100644
--- a/audio/soundtracker/pkg-plist
+++ b/audio/soundtracker/pkg-plist
@@ -1,18 +1,18 @@
bin/soundtracker
%%GNOME:%%share/gnome/apps/Multimedia/soundtracker.desktop
-share/locale/da/LC_MESSAGES/soundtracker.mo
-share/locale/de/LC_MESSAGES/soundtracker.mo
-share/locale/es/LC_MESSAGES/soundtracker.mo
-share/locale/fr/LC_MESSAGES/soundtracker.mo
-share/locale/gl/LC_MESSAGES/soundtracker.mo
-share/locale/hr/LC_MESSAGES/soundtracker.mo
-share/locale/it/LC_MESSAGES/soundtracker.mo
-share/locale/ja/LC_MESSAGES/soundtracker.mo
-share/locale/pl/LC_MESSAGES/soundtracker.mo
-share/locale/ru/LC_MESSAGES/soundtracker.mo
-share/locale/sk/LC_MESSAGES/soundtracker.mo
-share/locale/sl/LC_MESSAGES/soundtracker.mo
-share/locale/sv/LC_MESSAGES/soundtracker.mo
+^%%NLS%%share/locale/da/LC_MESSAGES/soundtracker.mo
+^%%NLS%%share/locale/de/LC_MESSAGES/soundtracker.mo
+^%%NLS%%share/locale/es/LC_MESSAGES/soundtracker.mo
+^%%NLS%%share/locale/fr/LC_MESSAGES/soundtracker.mo
+^%%NLS%%share/locale/gl/LC_MESSAGES/soundtracker.mo
+^%%NLS%%share/locale/hr/LC_MESSAGES/soundtracker.mo
+^%%NLS%%share/locale/it/LC_MESSAGES/soundtracker.mo
+^%%NLS%%share/locale/ja/LC_MESSAGES/soundtracker.mo
+^%%NLS%%share/locale/pl/LC_MESSAGES/soundtracker.mo
+^%%NLS%%share/locale/ru/LC_MESSAGES/soundtracker.mo
+^%%NLS%%share/locale/sk/LC_MESSAGES/soundtracker.mo
+^%%NLS%%share/locale/sl/LC_MESSAGES/soundtracker.mo
+^%%NLS%%share/locale/sv/LC_MESSAGES/soundtracker.mo
%%DATADIR%%/downarrow.xpm
%%DATADIR%%/flat.xpm
%%DATADIR%%/lock.xpm