[53327] trunk/dports/net
macsforever2000 at macports.org
macsforever2000 at macports.org
Fri Jul 3 10:15:12 PDT 2009
Revision: 53327
http://trac.macports.org/changeset/53327
Author: macsforever2000 at macports.org
Date: 2009-07-03 10:15:11 -0700 (Fri, 03 Jul 2009)
Log Message:
-----------
Added new port. (#20084)
Added Paths:
-----------
trunk/dports/net/asterisknow/
trunk/dports/net/asterisknow/Portfile
Added: trunk/dports/net/asterisknow/Portfile
===================================================================
--- trunk/dports/net/asterisknow/Portfile (rev 0)
+++ trunk/dports/net/asterisknow/Portfile 2009-07-03 17:15:11 UTC (rev 53327)
@@ -0,0 +1,44 @@
+# $Id$
+
+PortSystem 1.0
+
+name asterisknow
+version 2.0
+categories net
+platforms darwin
+maintainers gmail.com:stefan.van.der.eijk
+
+description GUI for configuring Asterisk
+long_description Asterisk in minutes. The most popular open source PBX software, \
+ Asterisk, can now be easily configured with a graphical interface. \
+ AsteriskNOW.
+
+homepage http://www.asterisknow.org
+fetch.type svn
+svn.url http://svn.digium.com/svn/asterisk-gui/branches/2.0/
+worksrcdir ${version}
+
+configure.args --localstatedir=${prefix}/var --sysconfdir=${prefix}/etc/asterisk
+
+post-destroot {
+ file mkdir ${destroot}/${prefix}/var/lib/asterisk/gui_backups
+ file mkdir ${destroot}/${prefix}/var/lib/asterisk/static-http/private/bkps
+}
+
+post-patch {
+ reinplace "s|\"/etc|\"${prefix}/etc|g" ${worksrcpath}/scripts/detectdahdi.sh
+ reinplace "s|\"/var|\"${prefix}/var|g" ${worksrcpath}/scripts/dldsoundpack
+ reinplace "s|\ /var|\ ${prefix}/var|g" ${worksrcpath}/scripts/dldsoundpack
+ reinplace "s|\"/etc|\"${prefix}/etc|g" ${worksrcpath}/scripts/editmisdn.sh
+ reinplace "s|\"/etc|\"${prefix}/etc|g" ${worksrcpath}/scripts/editzap.sh
+ reinplace "s|\"/var|\"${prefix}/var|g" ${worksrcpath}/scripts/listfiles
+ reinplace "s|\"/var|\"${prefix}/var|g" ${worksrcpath}/scripts/mastercsvexists
+ reinplace "s|\ /var|\ ${prefix}/var|g" ${worksrcpath}/scripts/mastercsvexists
+ reinplace "s|\"/etc|\"${prefix}/etc|g" ${worksrcpath}/scripts/registerg729.sh
+ reinplace "s|/bin|/usr/bin|g" ${worksrcpath}/scripts/takebackup
+ reinplace "s|\ /etc/asterisk|\ ${prefix}/etc/asterisk|g" ${worksrcpath}/scripts/takebackup
+ reinplace "s|\ /var|\ ${prefix}/var|g" ${worksrcpath}/scripts/takebackup
+ reinplace "s|\ /etc|\ ${prefix}/etc|g" ${worksrcpath}/config/js/index.js
+ reinplace "s|\'/etc|\'${prefix}/etc|g" ${worksrcpath}/config/js/index.js
+ reinplace "s|\'/var|\'${prefix}/var|g" ${worksrcpath}/config/js/index.js
+}
Property changes on: trunk/dports/net/asterisknow/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090703/f0989c31/attachment.html>
More information about the macports-changes
mailing list