Index: head/audio/mp3splt/files/patch-disable-nls =================================================================== --- head/audio/mp3splt/files/patch-disable-nls (revision 262513) +++ head/audio/mp3splt/files/patch-disable-nls (nonexistent) @@ -1,61 +0,0 @@ ---- src/mp3splt.c.orig 2010-04-22 14:06:08.000000000 +0400 -+++ src/mp3splt.c 2010-04-22 14:16:50.000000000 +0400 -@@ -30,7 +30,6 @@ - #include - #include - #include --#include - - #ifdef __WIN32__ - #include -@@ -46,6 +45,10 @@ - #define PACKAGE_NAME "mp3splt" - #endif - -+#ifdef ENABLE_NLS -+#include -+#endif -+ - #define MP3SPLT_DATE "17/02/10" - #define MP3SPLT_AUTHOR1 "Matteo Trotta" - #define MP3SPLT_AUTHOR2 "Alexandru Munteanu" -@@ -54,7 +57,11 @@ - #define MP3SPLT_CDDBFILE "query.cddb" - - #define MP3SPLT_GETTEXT_DOMAIN "mp3splt" -+#ifdef ENABLE_NLS - #define _(STR) gettext(STR) -+#else -+#define _(STR) STR -+#endif - - //in case of STDIN/STDOUT usage, we change the console file handle - //-yeah indeed, global variables might suck -@@ -1801,9 +1808,11 @@ split: - //main program starts here - int main(int argc, char **orig_argv) - { -+#ifdef ENABLE_NLS - //gettext - setlocale(LC_ALL, ""); - textdomain(MP3SPLT_GETTEXT_DOMAIN); -+#endif - - console_out = stdout; - console_err = stderr; -@@ -1814,6 +1823,7 @@ int main(int argc, char **orig_argv) - - main_data *data = create_main_struct(argc, orig_argv); - -+#ifdef ENABLE_NLS - #ifdef __WIN32__ - char mp3splt_uninstall_file[2048] = { '\0' }; - DWORD dwType, dwSize = sizeof(mp3splt_uninstall_file) - 1; -@@ -1873,6 +1883,7 @@ int main(int argc, char **orig_argv) - #endif - - bind_textdomain_codeset(MP3SPLT_GETTEXT_DOMAIN, "UTF-8"); -+#endif - - data->state = mp3splt_new_state(&err); - process_confirmation_error(err, data); Property changes on: head/audio/mp3splt/files/patch-disable-nls ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.1 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/audio/mp3splt/Makefile =================================================================== --- head/audio/mp3splt/Makefile (revision 262513) +++ head/audio/mp3splt/Makefile (revision 262514) @@ -1,42 +1,41 @@ # New ports collection makefile for: audio/mp3splt # Date created: 30.05.2003 # Whom: Ulrich Spoerlein # # $FreeBSD$ # PORTNAME= mp3splt -PORTVERSION= 2.2.8 -PORTREVISION= 1 +PORTVERSION= 2.2.9 CATEGORIES= audio MASTER_SITES= SF MAINTAINER= citrin@citrin.ru COMMENT= Utility to split mp3 and ogg files (via CUE sheets) LIB_DEPENDS= mp3splt:${PORTSDIR}/audio/libmp3splt USE_AUTOTOOLS= libltdl GNU_CONFIGURE= yes CONFIGURE_ENV+= LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" \ CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" CONFIGURE_ARGS+=--enable-oggsplt_symlink --disable-mp3splttest OPTIONS= NLS "Native language support" on MAN1= oggsplt.1 mp3splt.1 PLIST_FILES= bin/mp3splt bin/oggsplt .include .if defined(WITHOUT_NLS) CONFIGURE_ARGS+= --disable-nls .else USE_GETTEXT= yes LANGUAGES= de fr .for language in ${LANGUAGES} PLIST_FILES+= share/locale/${language}/LC_MESSAGES/mp3splt.mo .endfor .endif .include Property changes on: head/audio/mp3splt/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.28 \ No newline at end of property +1.29 \ No newline at end of property Index: head/audio/mp3splt/distinfo =================================================================== --- head/audio/mp3splt/distinfo (revision 262513) +++ head/audio/mp3splt/distinfo (revision 262514) @@ -1,3 +1,3 @@ -MD5 (mp3splt-2.2.8.tar.gz) = 2e6f53d6385912c7e8395813048cd28c -SHA256 (mp3splt-2.2.8.tar.gz) = e5581d953fad596cb6fb22f220414e8aa69cb5324aa123a6b7b9b7a2142225d8 -SIZE (mp3splt-2.2.8.tar.gz) = 218621 +MD5 (mp3splt-2.2.9.tar.gz) = 1f2d3c42504774c5178ce97dcf173a19 +SHA256 (mp3splt-2.2.9.tar.gz) = 990465fda706da61d5f61874616bfaf470c3b95d95b13a38eebeffc4d0074c41 +SIZE (mp3splt-2.2.9.tar.gz) = 223544 Property changes on: head/audio/mp3splt/distinfo ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.13 \ No newline at end of property +1.14 \ No newline at end of property