Ticket #25839: Portfile

File Portfile, 1.3 KB (added by bm55b@…, 14 years ago)

php5-shindig port file

Line 
1# $Id: Portfile 66128 2010-04-06 05:18:41Z jmr@macports.org $
2
3PortSystem 1.0
4
5name            php5-shindig
6version         1.1-BETA5
7revision        1
8categories      php www
9maintainers     nomaintainer
10depends_lib     port:php5-mcrypt port:php5-curl port:php5-openssl
11description     Open Social Container
12long_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
16homepage        http://shindig.apache.org
17platforms       darwin
18master_sites    http://repo1.maven.org/maven2/org/apache/shindig/shindig/${version}-incubating
19distname        shindig-${version}-incubating-php
20use_bzip2       yes
21checksums       md5 33bc3c1385d4cbf9d6fc23c162440056                    \
22                sha1 6480fb8040c7944f53b1ac2ea033722b2f314862           \
23                rmd160 b94fe3def3e212aa21a562d8a29dd23775e1aa8e
24
25use_configure   no
26
27build {
28}
29
30destroot {
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}