1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4 |
---|
2 | # $Id$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name asterisk |
---|
7 | version 1.6.2.14 |
---|
8 | categories net |
---|
9 | platforms darwin |
---|
10 | maintainers viagente.ca:marc.blanchet mr_bond openmaintainer |
---|
11 | |
---|
12 | description An Open Source PBX and telephony toolkit |
---|
13 | long_description Asterisk is an open source PBX and telephony toolkit. It \ |
---|
14 | provides the ability to develop telephony applications on top of internet \ |
---|
15 | telephony (Voice over IP) as well as traditional telephony connectivity (PSTN). |
---|
16 | |
---|
17 | homepage http://www.asterisk.org |
---|
18 | master_sites http://downloads.digium.com/pub/asterisk/releases/ |
---|
19 | |
---|
20 | depends_lib port:ncurses \ |
---|
21 | port:openssl \ |
---|
22 | port:zlib \ |
---|
23 | port:bison \ |
---|
24 | port:curl \ |
---|
25 | port:wget |
---|
26 | |
---|
27 | checksums md5 4f0414c9b2d449222b2fc7096cbaffe7 \ |
---|
28 | sha1 452b5b9200b9ac82679102516cb7cbf006c1bd9a \ |
---|
29 | rmd160 96024982e8e298c5ec61c5e3d6322a788060df51 |
---|
30 | |
---|
31 | startupitem.create yes |
---|
32 | startupitem.netchange yes |
---|
33 | startupitem.executable ${prefix}/sbin/asterisk -d |
---|
34 | |
---|
35 | universal_variant no |
---|
36 | |
---|
37 | configure.args --without-h323 |
---|
38 | |
---|
39 | build.env ASTCFLAGS=-I${prefix}/include \ |
---|
40 | ASTLDFLAGS=-L${prefix}/lib |
---|
41 | |
---|
42 | variant jabber description {Enable Jabber support} { |
---|
43 | depends_lib-append port:iksemel |
---|
44 | } |
---|
45 | |
---|
46 | post-destroot { |
---|
47 | system "rsync -a $worksrcpath/configs/*.sample ${destroot}${prefix}/etc/asterisk" |
---|
48 | file mkdir "${destroot}${prefix}/var/run" |
---|
49 | file mkdir "${destroot}${prefix}/var/log/asterisk" |
---|
50 | } |
---|