aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorrobak <robak@FreeBSD.org>2016-04-29 06:30:14 +0800
committerrobak <robak@FreeBSD.org>2016-04-29 06:30:14 +0800
commit371676ff611f68ff9a7d9b5b3dc54400ee87dfe7 (patch)
treef4281cf6d5f5ce8ec8d293a7e8347ccdde2ec354 /net
parent756acda789f0479568adb8fc29aaa500f2f8d1f4 (diff)
downloadfreebsd-ports-gnome-371676ff611f68ff9a7d9b5b3dc54400ee87dfe7.tar.gz
freebsd-ports-gnome-371676ff611f68ff9a7d9b5b3dc54400ee87dfe7.tar.zst
freebsd-ports-gnome-371676ff611f68ff9a7d9b5b3dc54400ee87dfe7.zip
net/freeswitch: fix port build error
PR: 209115 Submitted by: Corey Smith <corsmith@gmail.com> (maintainer) MFH: 2016Q2
Diffstat (limited to 'net')
-rw-r--r--net/freeswitch/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/freeswitch/Makefile b/net/freeswitch/Makefile
index e1bf544ab396..feeeaf7101c4 100644
--- a/net/freeswitch/Makefile
+++ b/net/freeswitch/Makefile
@@ -3,6 +3,7 @@
PORTNAME= freeswitch
PORTVERSION= 1.6.7
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://files.freeswitch.org/releases/freeswitch/ \
http://files.freeswitch.org/releases/sounds/:sounds
@@ -117,7 +118,7 @@ DISTFILES+= ${EXTRADISTFILES}
post-install:
${MKDIR} ${STAGEDIR}${DATADIR}/sounds
.for distfile in ${EXTRADISTFILES}
- ${TAR} --cd ${STAGEDIR}${DATADIR}/sounds -xf ${DISTDIR}/${distfile}
+ ${TAR} --cd ${STAGEDIR}${DATADIR}/sounds -xf ${DISTDIR}/${distfile:S/:sounds$//}
.endfor
${FIND} ${STAGEDIR}${DATADIR}/sounds -type f | ${SED} "s,^${STAGEDIR}${DATADIR},${DATADIR}," >> ${TMPPLIST}
${RM} -r ${STAGEDIR}${ETCDIR}