1 | # $Id: Portfile 66128 2010-04-06 05:18:41Z jmr@macports.org $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name php5-shindig |
---|
6 | version 1.1-BETA5 |
---|
7 | revision 1 |
---|
8 | categories php www |
---|
9 | maintainers nomaintainer |
---|
10 | depends_lib port:php5-mcrypt port:php5-curl port:php5-openssl |
---|
11 | description Open Social Container |
---|
12 | long_description \ |
---|
13 | Shindig is the Apache.org implementation of the Open Social spec. \ |
---|
14 | Shindig has a PHP and a Java implementation. \ |
---|
15 | This package is the PHP implementation |
---|
16 | homepage http://shindig.apache.org |
---|
17 | platforms darwin |
---|
18 | master_sites http://repo1.maven.org/maven2/org/apache/shindig/shindig/${version}-incubating |
---|
19 | distname shindig-${version}-incubating-php |
---|
20 | use_bzip2 yes |
---|
21 | checksums md5 33bc3c1385d4cbf9d6fc23c162440056 \ |
---|
22 | sha1 6480fb8040c7944f53b1ac2ea033722b2f314862 \ |
---|
23 | rmd160 b94fe3def3e212aa21a562d8a29dd23775e1aa8e |
---|
24 | |
---|
25 | use_configure no |
---|
26 | |
---|
27 | build { |
---|
28 | } |
---|
29 | |
---|
30 | destroot { |
---|
31 | set wwwdir ${prefix}/apache2/htdocs/shindig |
---|
32 | xinstall -d ${destroot}${wwwdir} |
---|
33 | foreach file [glob ${worksrcpath}/*] { |
---|
34 | copy ${file} ${destroot}${wwwdir} |
---|
35 | } |
---|
36 | # fix privs on a few files and install .htaccess |
---|
37 | file delete ${destroot}${wwwdir}/NOTICE ${destroot}${wwwdir}/README |
---|
38 | xinstall -m 644 ${worksrcpath}/NOTICE \ |
---|
39 | ${worksrcpath}/README \ |
---|
40 | ${worksrcpath}/.htaccess \ |
---|
41 | ${destroot}${wwwdir} |
---|
42 | } |
---|