aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwg <wg@FreeBSD.org>2013-12-02 20:49:29 +0800
committerwg <wg@FreeBSD.org>2013-12-02 20:49:29 +0800
commit779134d1c2d72e9d4a075e9e884e2f878ca5a2af (patch)
tree1b1eb8eda036bda142c04ca049c61d510fdb9f93
parentb26135475cd469b1af112df252eb26930af4d51c (diff)
downloadfreebsd-ports-gnome-779134d1c2d72e9d4a075e9e884e2f878ca5a2af.tar.gz
freebsd-ports-gnome-779134d1c2d72e9d4a075e9e884e2f878ca5a2af.tar.zst
freebsd-ports-gnome-779134d1c2d72e9d4a075e9e884e2f878ca5a2af.zip
audio/mp3splt-gtk: update to 0.8.2
- Update to 0.8.2 [1] - Use options helpers - Convert lib depends to new format - Allow staging PR: ports/184401 Submitted by: maintainer
-rw-r--r--audio/mp3splt-gtk/Makefile31
-rw-r--r--audio/mp3splt-gtk/distinfo4
-rw-r--r--audio/mp3splt-gtk/pkg-plist1
3 files changed, 16 insertions, 20 deletions
diff --git a/audio/mp3splt-gtk/Makefile b/audio/mp3splt-gtk/Makefile
index ef7a7312dc16..ec7be1251586 100644
--- a/audio/mp3splt-gtk/Makefile
+++ b/audio/mp3splt-gtk/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= mp3splt-gtk
-PORTVERSION= 0.8.1
+PORTVERSION= 0.8.2
CATEGORIES= audio
MASTER_SITES= SF/mp3splt/${PORTNAME}/${PORTVERSION}
@@ -10,21 +10,19 @@ MAINTAINER= beyert@cs.ucr.edu
COMMENT= Utility to split mp3 and ogg files (via GTK Interface)
LICENSE= GPLv2
-LICENSE_FILE= ${WRKSRC}/COPYING
-LIB_DEPENDS= mp3splt:${PORTSDIR}/audio/libmp3splt \
- mad:${PORTSDIR}/audio/libmad \
- ogg:${PORTSDIR}/audio/libogg \
- vorbis:${PORTSDIR}/audio/libvorbis \
- id3tag:${PORTSDIR}/audio/libid3tag
+LIB_DEPENDS= libmp3splt.so:${PORTSDIR}/audio/libmp3splt \
+ libmad.so:${PORTSDIR}/audio/libmad \
+ libogg.so:${PORTSDIR}/audio/libogg \
+ libvorbis.so:${PORTSDIR}/audio/libvorbis \
+ libid3tag.so:${PORTSDIR}/audio/libid3tag
INSTALLS_OMF= yes
USE_AUTOTOOLS= libltdl
-NO_STAGE= yes
USE_GSTREAMER= yes
USE_GNOME= gnomedocutils gtk20
GNU_CONFIGURE= yes
-USES= gmake pkgconfig
+USES= desktop-file-utils gmake pkgconfig
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
@@ -34,9 +32,14 @@ CONFIGURE_ARGS+= --disable-audacious --with-mp3splt=${LOCALBASE} \
--with-mp3splt-libraries=${LOCALBASE}/lib --disable-mp3splttest \
--disable-gtk3
-MAN1= mp3splt-gtk.1
PORTDOCS= *
+OPTIONS_DEFINE= DOCS NLS
+OPTIONS_SUB= yes
+
+NLS_CONFIGURE_ENABLE= nls
+NLS_USES= gettext
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
@@ -46,12 +49,4 @@ BUILD_DEPENDS+= ${LOCALBASE}/bin/doxygen:${PORTSDIR}/devel/doxygen
CONFIGURE_ARGS+= --disable-doxygen-doc
.endif
-.if ! ${PORT_OPTIONS:MNLS}
-CONFIGURE_ARGS+= --disable-nls
-PLIST_SUB+= NLS="@comment "
-.else
-USES+= gettext
-PLIST_SUB+= NLS=""
-.endif
-
.include <bsd.port.mk>
diff --git a/audio/mp3splt-gtk/distinfo b/audio/mp3splt-gtk/distinfo
index f5c17d9f8750..9d603f35b468 100644
--- a/audio/mp3splt-gtk/distinfo
+++ b/audio/mp3splt-gtk/distinfo
@@ -1,2 +1,2 @@
-SHA256 (mp3splt-gtk-0.8.1.tar.gz) = d0bfd6524bd29e061c9d00574c164ed70a112eec11f36ae8a240606c712f1241
-SIZE (mp3splt-gtk-0.8.1.tar.gz) = 1050681
+SHA256 (mp3splt-gtk-0.8.2.tar.gz) = 5634d0a6d15f73affc361c49cafb96a5e53fa2e65a6d7723e74a3a79d3f27c88
+SIZE (mp3splt-gtk-0.8.2.tar.gz) = 1049687
diff --git a/audio/mp3splt-gtk/pkg-plist b/audio/mp3splt-gtk/pkg-plist
index a2581e8a5f7b..9f852e19e093 100644
--- a/audio/mp3splt-gtk/pkg-plist
+++ b/audio/mp3splt-gtk/pkg-plist
@@ -1,4 +1,5 @@
bin/mp3splt-gtk
+man/man1/mp3splt-gtk.1.gz
share/applications/mp3splt-gtk.desktop
share/gnome/help/mp3splt-gtk/C/figures/FreeDBSearch.png
share/gnome/help/mp3splt-gtk/C/figures/Preferences.png