From 10f1ce864d55639a67019d04011af228a431e8b0 Mon Sep 17 00:00:00 2001
From: Alexander Kojevnikov <alexander@kojevnikov.com>
Date: Tue, 25 Sep 2012 22:02:03 -0700
Subject: [PATCH] freebsd: Update to 0.8.0

---
 dist/freebsd/Makefile  | 16 ++++++++++------
 dist/freebsd/distinfo  |  4 ++--
 dist/freebsd/pkg-descr |  2 +-
 dist/freebsd/pkg-plist |  8 ++++++++
 4 files changed, 21 insertions(+), 9 deletions(-)

diff --git a/dist/freebsd/Makefile b/dist/freebsd/Makefile
index 1389616..23cedfd 100644
--- a/dist/freebsd/Makefile
+++ b/dist/freebsd/Makefile
@@ -6,22 +6,26 @@
 #
 
 PORTNAME=	spek
-PORTVERSION=	0.7
-PORTREVISION=	3
+PORTVERSION=	0.8.0
 CATEGORIES=	audio
-MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES=	http://cloud.github.com/downloads/alexkay/${PORTNAME}/
 
 MAINTAINER=	alexander@kojevnikov.com
 COMMENT=	Acoustic spectrum analyser
 
-LIB_DEPENDS=	avcodec.1:${PORTSDIR}/multimedia/ffmpeg
+LICENSE=	GPLv3
+
+LIB_DEPENDS=	avcodec:${PORTSDIR}/multimedia/ffmpeg
 
 MAN1=		spek.1
 
-USE_BZIP2=	yes
+USE_XZ=	yes
 USE_GMAKE=	yes
-USE_GNOME=	gtk20 desktopfileutils
 USE_GETTEXT=	yes
+USE_GNOME=	desktopfileutils
+USE_WX=	2.8+
+WX_UNICODE=	yes
+WX_CONF_ARGS=	absolute
 GNU_CONFIGURE=	yes
 INSTALLS_ICONS=	yes
 MAKE_JOBS_SAFE=	yes
diff --git a/dist/freebsd/distinfo b/dist/freebsd/distinfo
index 95cbfca..e4bad6c 100644
--- a/dist/freebsd/distinfo
+++ b/dist/freebsd/distinfo
@@ -1,2 +1,2 @@
-SHA256 (spek-0.7.tar.bz2) = 61fe1ce33e7570a6720c81fb377edc7a9d1c0f93b6eca27a387cfee5eaa323f4
-SIZE (spek-0.7.tar.bz2) = 383757
+SHA256 (spek-0.8.0.tar.xz) = 7597506deac687b8cd84f7c219793dfaa1f793380a3e79a5ca5d7a7faab990a1
+SIZE (spek-0.8.0.tar.xz) = 170768
diff --git a/dist/freebsd/pkg-descr b/dist/freebsd/pkg-descr
index 9868026..85da933 100644
--- a/dist/freebsd/pkg-descr
+++ b/dist/freebsd/pkg-descr
@@ -1,4 +1,4 @@
 Spek helps to analyse your audio files by showing their spectrogram.
 Spek supports all popular lossy and lossless audio file formats.
 
-WWW:	http://www.spek-project.org/
+WWW:	http://spek-project.org/
diff --git a/dist/freebsd/pkg-plist b/dist/freebsd/pkg-plist
index b309ecd..9de3d6a 100644
--- a/dist/freebsd/pkg-plist
+++ b/dist/freebsd/pkg-plist
@@ -6,14 +6,22 @@ share/icons/hicolor/24x24/apps/spek.png
 share/icons/hicolor/32x32/apps/spek.png
 share/icons/hicolor/48x48/apps/spek.png
 share/icons/hicolor/scalable/apps/spek.svg
+share/locale/cs/LC_MESSAGES/spek.mo
+share/locale/da/LC_MESSAGES/spek.mo
 share/locale/de/LC_MESSAGES/spek.mo
+share/locale/eo/LC_MESSAGES/spek.mo
 share/locale/es/LC_MESSAGES/spek.mo
 share/locale/fr/LC_MESSAGES/spek.mo
+share/locale/it/LC_MESSAGES/spek.mo
+share/locale/ja/LC_MESSAGES/spek.mo
 share/locale/nl/LC_MESSAGES/spek.mo
 share/locale/pl/LC_MESSAGES/spek.mo
+share/locale/pt_BR/LC_MESSAGES/spek.mo
 share/locale/ru/LC_MESSAGES/spek.mo
 share/locale/sv/LC_MESSAGES/spek.mo
 share/locale/uk/LC_MESSAGES/spek.mo
+share/locale/zh_CN/LC_MESSAGES/spek.mo
+share/locale/zh_TW/LC_MESSAGES/spek.mo
 @dirrmtry share/applications
 @dirrmtry share/icons/hicolor/16x16/apps
 @dirrmtry share/icons/hicolor/16x16