From 4294c00ec349537a41b909b833737c9e23c36e63 Mon Sep 17 00:00:00 2001 From: Alexander Kojevnikov Date: Sun, 13 Mar 2011 13:26:37 +0800 Subject: [PATCH] freebsd: Add port files --- dist/freebsd/Makefile | 28 ++++++++++++++++++++++++++++ dist/freebsd/distinfo | 3 +++ dist/freebsd/pkg-descr | 4 ++++ dist/freebsd/pkg-plist | 25 +++++++++++++++++++++++++ 4 files changed, 60 insertions(+) create mode 100644 dist/freebsd/Makefile create mode 100644 dist/freebsd/distinfo create mode 100644 dist/freebsd/pkg-descr create mode 100644 dist/freebsd/pkg-plist diff --git a/dist/freebsd/Makefile b/dist/freebsd/Makefile new file mode 100644 index 0000000..3a3278f --- /dev/null +++ b/dist/freebsd/Makefile @@ -0,0 +1,28 @@ +# New ports collection makefile for: spek +# Date created: 2010-09-07 +# Whom: Alexander Kojevnikov +# +# $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 diff --git a/dist/freebsd/distinfo b/dist/freebsd/distinfo new file mode 100644 index 0000000..eb0272e --- /dev/null +++ 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 new file mode 100644 index 0000000..9868026 --- /dev/null +++ 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 new file mode 100644 index 0000000..38bdb95 --- /dev/null +++ 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