[133986] trunk/dports/net/asterisk/Portfile
larryv at macports.org
larryv at macports.org
Mon Mar 16 13:58:42 PDT 2015
Revision: 133986
https://trac.macports.org/changeset/133986
Author: larryv at macports.org
Date: 2015-03-16 13:58:42 -0700 (Mon, 16 Mar 2015)
Log Message:
-----------
asterisk: Rearrange and reformat (NFC)
Modified Paths:
--------------
trunk/dports/net/asterisk/Portfile
Modified: trunk/dports/net/asterisk/Portfile
===================================================================
--- trunk/dports/net/asterisk/Portfile 2015-03-16 20:27:19 UTC (rev 133985)
+++ trunk/dports/net/asterisk/Portfile 2015-03-16 20:58:42 UTC (rev 133986)
@@ -6,35 +6,37 @@
name asterisk
version 1.6.2.20
categories net
-license GPL-2
platforms darwin
+universal_variant no
+license GPL-2
maintainers nomaintainer
description An Open Source PBX and telephony toolkit
-long_description Asterisk is an open source PBX and telephony toolkit. It \
- provides the ability to develop telephony applications on top of internet \
- telephony (Voice over IP) as well as traditional telephony connectivity (PSTN).
-
+long_description Asterisk is an open source PBX and telephony \
+ toolkit. It provides the ability to develop \
+ telephony applications on top of Internet \
+ telephony (Voice over IP) as well as traditional \
+ telephony connectivity (PSTN).
homepage http://www.asterisk.org
-master_sites http://downloads.digium.com/pub/asterisk/releases/
-
-depends_lib port:ncurses \
- port:openssl \
- port:zlib \
- port:bison \
+
+depends_lib port:bison \
port:curl \
port:iksemel \
port:libogg \
port:libvorbis \
port:lua \
+ port:ncurses \
port:openldap \
+ port:openssl \
port:popt \
port:portaudio \
port:spandsp-devel \
port:speex \
port:sqlite3 \
- port:wget
+ port:wget \
+ port:zlib
+master_sites http://downloads.digium.com/pub/asterisk/releases/
checksums rmd160 8584d0f2e274517ce84576dfa7e936b9befb9fe2 \
sha256 4f3ef1de4644195e0d91816d6741c46ddb5d9ad28b07e631f594674ac9006a27
@@ -42,14 +44,16 @@
startupitem.netchange yes
startupitem.executable ${prefix}/sbin/asterisk -d
-universal_variant no
+patchfiles makeopts.in.diff \
+ menuselect_Makefile.diff
-patchfiles makeopts.in.diff menuselect_Makefile.diff
-
+configure.optflags -O3
configure.args --without-h323 \
--without-netsnmp
-configure.optflags -O3
+variant home_sound_cache description {Use/Build sound file cache from .asterisk_sounds_cache in your home directory} {
+ configure.args-append --with-sounds-cache=~/.asterisk_sounds_cache
+}
build.env ASTCFLAGS=-I${prefix}/include \
ASTLDFLAGS=-L${prefix}/lib \
@@ -66,11 +70,6 @@
${destroot}${prefix}/var/spool/asterisk/system \
${destroot}${prefix}/var/spool/asterisk/tmp \
${destroot}${prefix}/var/spool/asterisk/voicemail
-
-variant home_sound_cache description {Use/Build sound file cache from .asterisk_sounds_cache in your home directory} {
- configure.args-append --with-sounds-cache=~/.asterisk_sounds_cache
-}
-
post-destroot {
system "rsync -a ${worksrcpath}/configs/*.sample ${destroot}${prefix}/etc/asterisk"
xinstall -m 644 ${filespath}/asterisk.conf.sample.in ${destroot}${prefix}/etc/asterisk/asterisk.conf.sample
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150316/8c727150/attachment.html>
More information about the macports-changes
mailing list