Ticket #29920: Portfile-asterisk.1.6.2.19.diff
File Portfile-asterisk.1.6.2.19.diff, 2.7 KB (added by stefan.van.der.eijk@…, 13 years ago) |
---|
-
Portfile
old new 4 4 PortSystem 1.0 5 5 6 6 name asterisk 7 version 1.6.2.1 07 version 1.6.2.19 8 8 categories net 9 9 platforms darwin 10 10 maintainers viagente.ca:marc.blanchet mr_bond openmaintainer … … 24 24 port:curl \ 25 25 port:wget 26 26 27 checksums md5 5 0412a90942ae7306fb8dcc31a05c2ce\28 sha1 60877704de3b7ac6213eb4e0dac2c68a06a40658\29 rmd160 c8aaf7444364ceab9a97030a3179fb2d6f0fb79127 checksums md5 5dfb9352bacfa7f4dc2ef72cb83715c2 \ 28 sha1 a81b426fa5146696abfdacd171f31f48aa976eb7 \ 29 rmd160 89710872034d9ebaa54d66ed0d7f5f6724caa780 30 30 31 31 startupitem.create yes 32 32 startupitem.netchange yes … … 34 34 35 35 universal_variant no 36 36 37 patchfiles makeopts.in.diff menuselect_Makefile.diff 38 37 39 configure.args --without-h323 38 40 39 41 build.env ASTCFLAGS=-I${prefix}/include \ 40 42 ASTLDFLAGS=-L${prefix}/lib 41 43 44 destroot.keepdirs ${destroot}${prefix}/var/spool/asterisk \ 45 ${destroot}${prefix}/var/spool/asterisk/dictate \ 46 ${destroot}${prefix}/var/spool/asterisk/meetme \ 47 ${destroot}${prefix}/var/spool/asterisk/monitor \ 48 ${destroot}${prefix}/var/spool/asterisk/system \ 49 ${destroot}${prefix}/var/spool/asterisk/tmp \ 50 ${destroot}${prefix}/var/spool/asterisk/voicemail \ 51 ${destroot}${prefix}/var/spool/asterisk/outgoing \ 52 ${destroot}${prefix}/var/run/asterisk \ 53 ${destroot}${prefix}/var/log/asterisk 54 42 55 variant jabber description {Enable Jabber support} { 43 56 depends_lib-append port:iksemel 44 57 } 45 58 59 variant home_sound_cache description {Use/Build sound file cache from .asterisk_sounds_cache in your home directory} { 60 configure.args-append --with-sounds-cache=~/.asterisk_sounds_cache 61 } 62 46 63 post-destroot { 47 system "rsync -a $worksrcpath/configs/*.sample ${destroot}${prefix}/etc/asterisk" 48 file mkdir "${destroot}${prefix}/var/run" 64 system "rsync -a ${worksrcpath}/configs/*.sample ${destroot}${prefix}/etc/asterisk" 65 file copy "${filespath}/asterisk.conf" "${destroot}${prefix}/etc/asterisk/asterisk.conf" 66 reinplace "s|PREFIX|${prefix}|g" "${destroot}${prefix}/etc/asterisk/asterisk.conf" 67 file mkdir "${destroot}${prefix}/var/run/asterisk" 49 68 file mkdir "${destroot}${prefix}/var/log/asterisk" 69 file mkdir "${destroot}${prefix}/var/spool/asterisk/outgoing" 50 70 }