aboutsummaryrefslogtreecommitdiffstats
path: root/audio/freeswitch-music
diff options
context:
space:
mode:
authorjpaetzel <jpaetzel@FreeBSD.org>2010-06-12 06:30:12 +0800
committerjpaetzel <jpaetzel@FreeBSD.org>2010-06-12 06:30:12 +0800
commitfa86231515cb9acdf9bfdb0eb5470c77466f4c37 (patch)
tree53c12fb7bada778c074871750a367ca69651e926 /audio/freeswitch-music
parent4e2ce12e4f2f9be341d25d1d3e3b5e48844ed5f3 (diff)
downloadfreebsd-ports-gnome-fa86231515cb9acdf9bfdb0eb5470c77466f4c37.tar.gz
freebsd-ports-gnome-fa86231515cb9acdf9bfdb0eb5470c77466f4c37.tar.zst
freebsd-ports-gnome-fa86231515cb9acdf9bfdb0eb5470c77466f4c37.zip
FreeSWITCH Music
This port installs default music files for FreeSWITCH music-on-hold.
Diffstat (limited to 'audio/freeswitch-music')
-rw-r--r--audio/freeswitch-music/Makefile47
-rw-r--r--audio/freeswitch-music/distinfo12
-rw-r--r--audio/freeswitch-music/pkg-descr3
-rw-r--r--audio/freeswitch-music/pkg-plist23
4 files changed, 85 insertions, 0 deletions
diff --git a/audio/freeswitch-music/Makefile b/audio/freeswitch-music/Makefile
new file mode 100644
index 000000000000..d4da890c2cd0
--- /dev/null
+++ b/audio/freeswitch-music/Makefile
@@ -0,0 +1,47 @@
+# Ports collection makefile for: freeswitch-sounds
+# Date created: May 11, 2009
+# Whom: Eric F Crist <ecrist@secure-computing.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= freeswitch
+PORTVERSION= 1.0.8
+CATEGORIES= audio
+MASTER_SITES= http://files.freeswitch.org/
+PKGNAMESUFFIX= -music
+DIST_SUBDIR= freeswitch-music
+
+MAINTAINER= ecrist@secure-computing.net
+COMMENT= FreeSwitch Music - All Bitrates
+
+NO_WRKSUBDIR= yes
+NO_BUILD= yes
+
+OPTIONS= 8K "Install 8000Hz Music" on \
+ 16K "Install 16000Hz Music" on \
+ 32K "Install 32000Hz Music" on \
+ 48K "Install 48000Hz Music" on
+
+.include <bsd.port.options.mk>
+.if defined(WITH_8K)
+DISTFILES+= ${PORTNAME}-sounds${PKGNAMESUFFIX}-8000-${PORTVERSION}${EXTRACT_SUFX}
+.endif
+.if defined(WITH_16K)
+DISTFILES+= ${PORTNAME}-sounds${PKGNAMESUFFIX}-16000-${PORTVERSION}${EXTRACT_SUFX}
+.endif
+.if defined(WITH_32K)
+DISTFILES+= ${PORTNAME}-sounds${PKGNAMESUFFIX}-32000-${PORTVERSION}${EXTRACT_SUFX}
+.endif
+.if defined(WITH_48K)
+DISTFILES+= ${PORTNAME}-sounds${PKGNAMESUFFIX}-48000-${PORTVERSION}${EXTRACT_SUFX}
+.endif
+
+#RUN_DEPENDS+= freeswitch:${PORTSDIR}/net/freeswitch-core
+
+do-install:
+ @${ECHO_MSG} "Installing files..."
+ ${MKDIR} ${PREFIX}/share/${PORTNAME}/sounds
+ (cd ${WRKDIR} &&${COPYTREE_SHARE} \* ${DATADIR}/sounds/)
+
+.include <bsd.port.mk>
diff --git a/audio/freeswitch-music/distinfo b/audio/freeswitch-music/distinfo
new file mode 100644
index 000000000000..993c2c20ccb8
--- /dev/null
+++ b/audio/freeswitch-music/distinfo
@@ -0,0 +1,12 @@
+MD5 (freeswitch-music/freeswitch-sounds-music-8000-1.0.8.tar.gz) = f63ef3cc3507af079ae5c7b8b8a01e42
+SHA256 (freeswitch-music/freeswitch-sounds-music-8000-1.0.8.tar.gz) = 02de6a0a4617c36b3ae3b8ad4f8d78aa39d5856d153d7da54cfd1fa6792a8837
+SIZE (freeswitch-music/freeswitch-sounds-music-8000-1.0.8.tar.gz) = 14122644
+MD5 (freeswitch-music/freeswitch-sounds-music-16000-1.0.8.tar.gz) = 7fd0ca9a9e3878783baa39b8187743bf
+SHA256 (freeswitch-music/freeswitch-sounds-music-16000-1.0.8.tar.gz) = d1e1dbaec323691f7630f834e5bddc3683303f297bdbbc3694dd2d51430f58d2
+SIZE (freeswitch-music/freeswitch-sounds-music-16000-1.0.8.tar.gz) = 27233654
+MD5 (freeswitch-music/freeswitch-sounds-music-32000-1.0.8.tar.gz) = 7e03932ea81b8d0bf6d686f838b060b4
+SHA256 (freeswitch-music/freeswitch-sounds-music-32000-1.0.8.tar.gz) = 68c7b1e8254438e622dbce7db321009a68b3c1620241354655440a0904423e12
+SIZE (freeswitch-music/freeswitch-sounds-music-32000-1.0.8.tar.gz) = 52284585
+MD5 (freeswitch-music/freeswitch-sounds-music-48000-1.0.8.tar.gz) = d06cd2a80379f224affab21f5180e4c6
+SHA256 (freeswitch-music/freeswitch-sounds-music-48000-1.0.8.tar.gz) = ebca40460bcbe4ec6e17a62a9b4dbde5b8facfaf5ae66575484f33c5d09dde6a
+SIZE (freeswitch-music/freeswitch-sounds-music-48000-1.0.8.tar.gz) = 75215628
diff --git a/audio/freeswitch-music/pkg-descr b/audio/freeswitch-music/pkg-descr
new file mode 100644
index 000000000000..d78771414b98
--- /dev/null
+++ b/audio/freeswitch-music/pkg-descr
@@ -0,0 +1,3 @@
+FreeSWITCH Music
+
+This port installs default music files for FreeSWITCH music-on-hold.
diff --git a/audio/freeswitch-music/pkg-plist b/audio/freeswitch-music/pkg-plist
new file mode 100644
index 000000000000..a1c29ec3f257
--- /dev/null
+++ b/audio/freeswitch-music/pkg-plist
@@ -0,0 +1,23 @@
+%%DATADIR%%/sounds/music/8000/partita-no-3-in-e-major-bwv-1006-1-preludio.wav
+%%DATADIR%%/sounds/music/8000/ponce-preludio-in-e-major.wav
+%%DATADIR%%/sounds/music/8000/suite-espanola-op-47-leyenda.wav
+%%DATADIR%%/sounds/music/8000/danza-espanola-op-37-h-142-xii-arabesca.wav
+%%DATADIR%%/sounds/music/16000/partita-no-3-in-e-major-bwv-1006-1-preludio.wav
+%%DATADIR%%/sounds/music/16000/ponce-preludio-in-e-major.wav
+%%DATADIR%%/sounds/music/16000/suite-espanola-op-47-leyenda.wav
+%%DATADIR%%/sounds/music/16000/danza-espanola-op-37-h-142-xii-arabesca.wav
+%%DATADIR%%/sounds/music/32000/partita-no-3-in-e-major-bwv-1006-1-preludio.wav
+%%DATADIR%%/sounds/music/32000/ponce-preludio-in-e-major.wav
+%%DATADIR%%/sounds/music/32000/suite-espanola-op-47-leyenda.wav
+%%DATADIR%%/sounds/music/32000/danza-espanola-op-37-h-142-xii-arabesca.wav
+%%DATADIR%%/sounds/music/48000/partita-no-3-in-e-major-bwv-1006-1-preludio.wav
+%%DATADIR%%/sounds/music/48000/ponce-preludio-in-e-major.wav
+%%DATADIR%%/sounds/music/48000/suite-espanola-op-47-leyenda.wav
+%%DATADIR%%/sounds/music/48000/danza-espanola-op-37-h-142-xii-arabesca.wav
+@dirrm %%DATADIR%%/sounds/music/8000
+@dirrm %%DATADIR%%/sounds/music/16000
+@dirrm %%DATADIR%%/sounds/music/32000
+@dirrm %%DATADIR%%/sounds/music/48000
+@dirrm %%DATADIR%%/sounds/music
+@dirrmtry %%DATADIR%%/sounds
+@dirrmtry %%DATADIR%%