| 1 | # $Id$ |
|---|
| 2 | |
|---|
| 3 | PortSystem 1.0 |
|---|
| 4 | |
|---|
| 5 | name asterisk |
|---|
| 6 | version 1.4.17 |
|---|
| 7 | categories net |
|---|
| 8 | maintainers marc.blanchet@viagenie.ca |
|---|
| 9 | description An Open Source PBX and telephony toolkit |
|---|
| 10 | long_description Asterisk is an Open Source PBX and telephony toolkit. It \ |
|---|
| 11 | provides the ability to develop telephony applications on top of internet \ |
|---|
| 12 | telephony (Voice over IP) as well as traditional telephony connectivity (PSTN). |
|---|
| 13 | platforms darwin |
|---|
| 14 | homepage http://www.asterisk.org |
|---|
| 15 | master_sites http://downloads.digium.com/pub/asterisk/releases/ |
|---|
| 16 | checksums md5 ff25f56d775858c4de619f2f59a55099 \ |
|---|
| 17 | sha1 bc909e34a5d3c79009b90dac45be8c3c051e573c |
|---|
| 18 | configure.args --localstatedir=${prefix}/var --sysconfdir=${prefix}/etc |
|---|
| 19 | build.env ASTCFLAGS=-I${prefix}/include \ |
|---|
| 20 | ASTLDFLAGS=-L${prefix}/lib |
|---|
| 21 | depends_build port:wget |
|---|
| 22 | destroot.target-append samples |
|---|
| 23 | destroot.post_args OVERWRITE=n |
|---|
| 24 | destroot.keepdirs ${destroot}${prefix}/var/log/asterisk/cdr-csv \ |
|---|
| 25 | ${destroot}${prefix}/var/log/asterisk/cdr-custom |
|---|
| 26 | post-activate { |
|---|
| 27 | puts stdout "\nStart: sudo ${prefix}/sbin/asterisk -C ${prefix}/etc/asterisk/asterisk.conf -c\nStop: CLI> stop now\n" |
|---|
| 28 | } |
|---|