diff options
-rw-r--r-- | audio/soundtracker/Makefile | 8 | ||||
-rw-r--r-- | audio/soundtracker/pkg-plist | 26 |
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 |