diff options
author | Vsevolod Stakhov <vsevolod@FreeBSD.org> | 2012-06-19 14:52:48 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@FreeBSD.org> | 2012-06-19 14:52:48 +0000 |
commit | d36b804b071e03498e36082bbc87d510f255c3f1 (patch) | |
tree | 71196224bb2c4c00f1c6100542893276b05cd38c /audio/mp3splt/Makefile | |
parent | 1eaaf2ca6d8825769ad4b3517377cfddd4602325 (diff) |
Notes
Diffstat (limited to 'audio/mp3splt/Makefile')
-rw-r--r-- | audio/mp3splt/Makefile | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/audio/mp3splt/Makefile b/audio/mp3splt/Makefile index 9613603651c3..8e928c23da2a 100644 --- a/audio/mp3splt/Makefile +++ b/audio/mp3splt/Makefile @@ -23,16 +23,15 @@ CONFIGURE_ARGS+=--enable-oggsplt_symlink --disable-mp3splttest CPPFLAGS+= -I${LOCALBASE}/include -OPTIONS= NLS "Native language support" on +OPTIONS_DEFINE= NLS +OPTIONS_DEFAULT= NLS MAN1= oggsplt.1 mp3splt.1 PLIST_FILES= bin/mp3splt bin/oggsplt -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> -.if defined(WITHOUT_NLS) -CONFIGURE_ARGS+= --disable-nls -.else +.if ${PORT_OPTIONS:MNLS} USE_GETTEXT= yes LANGUAGES= cs de_DE es fr_FR .for language in ${LANGUAGES} @@ -40,6 +39,8 @@ PLIST_FILES+= share/locale/${language}/LC_MESSAGES/mp3splt.mo .endfor PLIST_DIRSTRY+= share/locale/de_DE/LC_MESSAGES PLIST_DIRSTRY+= share/locale/de_DE +.else +CONFIGURE_ARGS+= --disable-nls .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> |