aboutsummaryrefslogtreecommitdiff
path: root/audio/mp3splt
diff options
context:
space:
mode:
authorWen Heping <wen@FreeBSD.org>2009-11-27 02:08:54 +0000
committerWen Heping <wen@FreeBSD.org>2009-11-27 02:08:54 +0000
commit299e1e5c613d60c9f1e9eec0ff6d24c026b8b918 (patch)
tree5bfac45ba1463d08d8c9dfc0393397c2992fe39e /audio/mp3splt
parent9367deaf270c3ba25e4e236430cbf6d3a95d54b9 (diff)
downloadports-299e1e5c613d60c9f1e9eec0ff6d24c026b8b918.tar.gz
ports-299e1e5c613d60c9f1e9eec0ff6d24c026b8b918.zip
Notes
Diffstat (limited to 'audio/mp3splt')
-rw-r--r--audio/mp3splt/Makefile18
-rw-r--r--audio/mp3splt/distinfo6
2 files changed, 17 insertions, 7 deletions
diff --git a/audio/mp3splt/Makefile b/audio/mp3splt/Makefile
index 5b47a2e02acf..e697eb89ad84 100644
--- a/audio/mp3splt/Makefile
+++ b/audio/mp3splt/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= mp3splt
-PORTVERSION= 2.2.3
-PORTREVISION= 1
+PORTVERSION= 2.2.6a
CATEGORIES= audio
MASTER_SITES= SF
@@ -20,11 +19,22 @@ 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
-MAN1= mp3splt.1
+OPTIONS= NLS "Native language support" on
+
+MAN1= oggsplt.1 mp3splt.1
PLIST_FILES= bin/mp3splt bin/oggsplt
post-install:
- @${LN} -fsv ${PREFIX}/bin/mp3splt ${PREFIX}/bin/oggsplt
+.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 <bsd.port.mk>
diff --git a/audio/mp3splt/distinfo b/audio/mp3splt/distinfo
index 43bc298daa7c..7a5fbc7d4582 100644
--- a/audio/mp3splt/distinfo
+++ b/audio/mp3splt/distinfo
@@ -1,3 +1,3 @@
-MD5 (mp3splt-2.2.3.tar.gz) = aa67e24931c62d2f09be13303fbf410e
-SHA256 (mp3splt-2.2.3.tar.gz) = aae0abb51f537224135204de2dea516a2293a9385f58c7167c483df28a717b04
-SIZE (mp3splt-2.2.3.tar.gz) = 135298
+MD5 (mp3splt-2.2.6a.tar.gz) = 4d49ad93f46ed8fcdf4bf2e269c80929
+SHA256 (mp3splt-2.2.6a.tar.gz) = 66060497b0b574d4e79ac1d692c36a9907bfbb5ef2c0ed07bf89b2bc14b0702d
+SIZE (mp3splt-2.2.6a.tar.gz) = 214625