source: trunk/dports/php/php-excel/Portfile

Last change on this file was 141386, checked in by ryandesign@…, 2 years ago

php-excel: fix build with libxl 3.6.3+

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 141386 2015-10-17 02:02:46Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           github 1.0
6PortGroup           php 1.1
7
8github.setup        iliaal php_excel 1.0.1final
9name                php-excel
10version             1.0.1
11revision            1
12categories-append   textproc
13platforms           darwin
14maintainers         ryandesign openmaintainer
15license             PHP-3.01
16
17php.branches        5.3 5.4 5.5 5.6
18
19description         PHP interface to LibXL for reading and writing \
20                    Microsoft Excel spreadsheets
21
22long_description    ${name} is a ${description}.
23
24checksums           rmd160  f3d4e1167f4b39b3b2c2be7f8d94ab656d600359 \
25                    sha256  6e97b2f89de5bf18285c50115c3bed01863cb5f7230b67b298156b5f84fdcaa3
26
27if {${name} ne ${subport}} {
28    depends_lib-append  port:libxl
29   
30    patchfiles-append   libxl-3.6.3.patch
31   
32    # libxl is Intel-only
33    supported_archs     i386 x86_64
34    configure.universal_archs i386 x86_64
35   
36    configure.args      --with-libxl-incdir=${prefix}/include/libxl-c \
37                        --with-libxl-libdir=${prefix}/lib
38   
39    post-destroot {
40        xinstall -d ${destroot}${prefix}/share/doc
41        copy ${worksrcpath}/docs ${destroot}${prefix}/share/doc/${subport}
42        xinstall -m 644 -W ${worksrcpath} CREDITS ChangeLog README.markdown ${destroot}${prefix}/share/doc/${subport}
43    }
44}
Note: See TracBrowser for help on using the repository browser.