Files

58 lines
2.1 KiB
Tcl
Raw Permalink Normal View History

2012-05-17 02:51:30 +00:00
# -*- 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
PortSystem 1.0
PortGroup github 1.0
PortGroup php 1.1
2012-05-17 02:51:30 +00:00
github.setup iliaal php_excel 1.0.2 Excel-
revision 1
name php-excel
2012-05-17 02:51:30 +00:00
categories-append textproc
2026-04-01 20:40:32 +02:00
maintainers {ryandesign @ryandesign} {mathiesen.info:macintosh @BjarneDMat} openmaintainer
2012-06-27 05:10:23 +00:00
license PHP-3.01
2012-05-17 02:51:30 +00:00
2021-02-01 03:33:47 -06:00
php.branches 5.3 5.4 5.5 5.6 7.0 7.1 7.2 7.3 7.4
2012-05-17 02:51:30 +00:00
description PHP interface to LibXL for reading and writing \
Microsoft Excel spreadsheets
long_description ${name} is a ${description}.
2023-08-01 04:01:17 -05:00
if {[vercmp ${php.branch} >= 7.0]} {
git.branch ${git.branch}-PHP7
checksums rmd160 c9a97835f6f22bf249f461db109a58d4b3cdcccf \
2023-08-01 04:01:17 -05:00
sha256 56e8df28f52d22223abae103e0d7a771523d4d84277e21680dd0c7fb128cfb36 \
size 85821
} elseif {[vercmp ${php.branch} >= 5.2]} {
git.branch ${git.branch}-PHP5
checksums rmd160 d5fb69d3834ddf03229bd0fbe554fde106b44d69 \
2023-08-01 04:01:17 -05:00
sha256 3620527fd821899747f52cfe4bb9e8243c00a5f5ca9c55c5fb320424d2be4673 \
size 86111
}
github.tarball_from releases
distname [string tolower ${git.branch}]
extract.suffix .tgz
worksrcdir excel-${version}
2012-05-17 02:51:30 +00:00
2013-11-20 00:50:34 +00:00
if {${name} ne ${subport}} {
depends_build-append \
port:libxml2
2012-05-17 02:51:30 +00:00
depends_lib-append port:libxl
2020-12-30 06:10:59 -06:00
2021-02-01 03:33:47 -06:00
# LibXL is only compiled for these architectures
supported_archs arm64 x86_64
2020-12-30 06:10:59 -06:00
2012-05-17 02:51:30 +00:00
configure.args --with-libxl-incdir=${prefix}/include/libxl-c \
--with-libxl-libdir=${prefix}/lib \
--with-libxml-dir=${prefix}/include/libxml2
2020-12-30 06:10:59 -06:00
post-destroot {
xinstall -d ${destroot}${prefix}/share/doc
copy ${worksrcpath}/docs ${destroot}${prefix}/share/doc/${subport}
2018-12-10 09:33:26 -06:00
xinstall -m 0644 -W ${worksrcpath} CREDITS ChangeLog README.markdown ${destroot}${prefix}/share/doc/${subport}
}
2012-05-17 02:51:30 +00:00
}
2023-08-01 04:01:17 -05:00
github.livecheck.regex {([0-9.]+)(-PHP\d+)?}