commit 4294c00ec349537a41b909b833737c9e23c36e63
parent 4db271d148c2afd8d8b41d89524b5e13ae397ac3
Author: Alexander Kojevnikov <alexander@kojevnikov.com>
Date: Sun, 13 Mar 2011 13:26:37 +0800
freebsd: Add port files
Diffstat:
4 files changed, 60 insertions(+), 0 deletions(-)
diff --git a/dist/freebsd/Makefile b/dist/freebsd/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: spek
+# Date created: 2010-09-07
+# Whom: Alexander Kojevnikov <alexander@kojevnikov.com>
+#
+# $FreeBSD: ports/audio/spek/Makefile,v 1.1 2010/09/10 20:16:08 makc Exp $
+#
+
+PORTNAME= spek
+PORTVERSION= 0.6
+CATEGORIES= audio
+MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+
+MAINTAINER= alexander@kojevnikov.com
+COMMENT= Acoustic spectrum analyser
+
+LIB_DEPENDS= avcodec.1:${PORTSDIR}/multimedia/ffmpeg
+
+USE_BZIP2= yes
+USE_GMAKE= yes
+USE_GNOME= gtk20 desktopfileutils
+GNU_CONFIGURE= yes
+INSTALLS_ICONS= yes
+MAKE_JOBS_SAFE= yes
+
+post-install:
+ -@update-desktop-database
+
+.include <bsd.port.mk>
diff --git a/dist/freebsd/distinfo b/dist/freebsd/distinfo
@@ -0,0 +1,3 @@
+MD5 (spek-0.6.tar.bz2) = 6be33caf38ba364ec996e9f5616ff239
+SHA256 (spek-0.6.tar.bz2) = be91b4a687725253051a0cae6a950e6abca705164af5ff3019881786df5d55ec
+SIZE (spek-0.6.tar.bz2) = 202361
diff --git a/dist/freebsd/pkg-descr b/dist/freebsd/pkg-descr
@@ -0,0 +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/
diff --git a/dist/freebsd/pkg-plist b/dist/freebsd/pkg-plist
@@ -0,0 +1,25 @@
+bin/spek
+share/applications/spek.desktop
+share/icons/hicolor/16x16/apps/spek.png
+share/icons/hicolor/22x22/apps/spek.png
+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
+@dirrmtry share/applications
+@dirrmtry share/icons/hicolor/16x16/apps
+@dirrmtry share/icons/hicolor/16x16
+@dirrmtry share/icons/hicolor/22x22/apps
+@dirrmtry share/icons/hicolor/22x22
+@dirrmtry share/icons/hicolor/24x24/apps
+@dirrmtry share/icons/hicolor/24x24
+@dirrmtry share/icons/hicolor/32x32/apps
+@dirrmtry share/icons/hicolor/32x32
+@dirrmtry share/icons/hicolor/48x48/apps
+@dirrmtry share/icons/hicolor/48x48
+@dirrmtry share/icons/hicolor/scalable/apps
+@dirrmtry share/icons/hicolor/scalable
+@dirrmtry share/icons/hicolor
+@dirrmtry share/icons
+@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
+@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true