svn commit: r414243 - head/net/freeswitch

Bartek Rutkowski robak at FreeBSD.org
Thu Apr 28 22:30:15 UTC 2016


Author: robak
Date: Thu Apr 28 22:30:14 2016
New Revision: 414243
URL: https://svnweb.freebsd.org/changeset/ports/414243

Log:
  net/freeswitch: fix port build error
  
  PR:		209115
  Submitted by:	Corey Smith <corsmith at gmail.com> (maintainer)
  MFH:		2016Q2

Modified:
  head/net/freeswitch/Makefile

Modified: head/net/freeswitch/Makefile
==============================================================================
--- head/net/freeswitch/Makefile	Thu Apr 28 22:07:59 2016	(r414242)
+++ head/net/freeswitch/Makefile	Thu Apr 28 22:30:14 2016	(r414243)
@@ -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}


More information about the svn-ports-all mailing list