aboutsummaryrefslogtreecommitdiff
path: root/net/freeswitch
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2016-10-21 15:33:53 +0000
committerMathieu Arnold <mat@FreeBSD.org>2016-10-21 15:33:53 +0000
commitbe33731080786e0241b72a18d9d52e583c32bd70 (patch)
tree9f9f05cf4f9ec908bb76c462dafeb887fda40e20 /net/freeswitch
parenta0bcd2cf684ff6bc2faf242e6678282f20a3ee44 (diff)
downloadports-be33731080786e0241b72a18d9d52e583c32bd70.tar.gz
ports-be33731080786e0241b72a18d9d52e583c32bd70.zip
Notes
Diffstat (limited to 'net/freeswitch')
-rw-r--r--net/freeswitch/Makefile13
1 files changed, 9 insertions, 4 deletions
diff --git a/net/freeswitch/Makefile b/net/freeswitch/Makefile
index 0375053227e6..dc172f706019 100644
--- a/net/freeswitch/Makefile
+++ b/net/freeswitch/Makefile
@@ -3,7 +3,7 @@
PORTNAME= freeswitch
PORTVERSION= 1.6.8
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= net
MASTER_SITES= http://files.freeswitch.org/releases/freeswitch/ \
http://files.freeswitch.org/releases/sounds/:sounds
@@ -33,6 +33,7 @@ USES= gmake jpeg pkgconfig lua perl5 libtool shebangfix tar:xz
USE_LDCONFIG= yes
ALL_MODULES_DESC= Build all modules
+X11_DESC= graphics/ImageMagick[-nox11] dependency
8K_DESC= 8kHz Audio Files
16K_DESC= 16kHz Audio Files
32K_DESC= 32kHz Audio Files
@@ -41,7 +42,7 @@ ENGLISH_DESC= US English Language Sounds
FRENCH_DESC= French Canadian Language Sounds
RUSSIAN_DESC= Russian Language Sounds
-OPTIONS_DEFINE= ALL_MODULES
+OPTIONS_DEFINE= ALL_MODULES X11
OPTIONS_MULTI= BITRATE LANGUAGE
OPTIONS_MULTI_BITRATE= 8K 16K 32K 48K
OPTIONS_MULTI_LANGUAGE= ENGLISH FRENCH RUSSIAN
@@ -85,10 +86,14 @@ LIB_DEPENDS+= libavformat.so:multimedia/ffmpeg \
libmp3lame.so:audio/lame \
libnetsnmp.so:net-mgmt/net-snmp \
libvlc.so:multimedia/vlc \
- libyaml.so:textproc/libyaml \
- libMagickWand-6.so:graphics/ImageMagick-nox11
+ libyaml.so:textproc/libyaml
USE_OPENLDAP= yes
USE_OPENSSL= yes
+.if ${PORT_OPTIONS:MX11}
+LIB_DEPENDS+= libMagickWand-6.so:graphics/ImageMagick
+.else
+LIB_DEPENDS+= libMagickWand-6.so:graphics/ImageMagick-nox11
+.endif
.endif
EDPRE= freeswitch-sounds