# Ports collection makefile for: freeswitch-music # Date created: May 11, 2009 # Whom: Eric F Crist # # $FreeBSD$ # PORTNAME= freeswitch-music PORTVERSION= 1.0.8 PORTREVISION= 1 CATEGORIES= audio MASTER_SITES= http://files.freeswitch.org/ DIST_SUBDIR= freeswitch-music MAINTAINER= ecrist@secure-computing.net COMMENT= FreeSwitch Music - All Bitrates NO_WRKSUBDIR= yes NO_BUILD= yes BASE_PORTNAME= freeswitch OPTIONS= 8K "Install 8000Hz Music" on \ 16K "Install 16000Hz Music" on \ 32K "Install 32000Hz Music" on \ 48K "Install 48000Hz Music" on .include .if defined(WITH_8K) DISTFILES+= freeswitch-sounds-music-8000-${PORTVERSION}${EXTRACT_SUFX} .endif .if defined(WITH_16K) DISTFILES+= freeswitch-sounds-music-16000-${PORTVERSION}${EXTRACT_SUFX} .endif .if defined(WITH_32K) DISTFILES+= freeswitch-sounds-music-32000-${PORTVERSION}${EXTRACT_SUFX} .endif .if defined(WITH_48K) DISTFILES+= freeswitch-sounds-music-48000-${PORTVERSION}${EXTRACT_SUFX} .endif .for i in 8K 16K 32K 48K .if !defined(WITH_${i}) PLIST_SUB+= WITH_${i}="@comment " .else PLIST_SUB+= WITH_${i}="" .endif .endfor do-install: @${ECHO_MSG} "Installing files..." ${MKDIR} ${PREFIX}/share/${BASE_PORTNAME}/sounds ${TOUCH} ${PREFIX}/share/${BASE_PORTNAME}/sounds/.freeswitch-music (cd ${WRKSRC} &&${COPYTREE_SHARE} \* ${PREFIX}/share/${BASE_PORTNAME}/sounds/) .include