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

Last change on this file was 124944, checked in by ryandesign@…, 3 years ago

add php56 subports

  • 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 124944 2014-09-01 01:05:32Z ryandesign@macports.org $
3
4PortSystem      1.0
5PortGroup       php 1.1
6
7name            php-big_int
8version         1.0.7
9revision        1
10categories      php devel
11platforms       darwin
12maintainers     ryandesign openmaintainer
13license         Permissive
14
15php.branches    5.3 5.4 5.5 5.6
16php.pecl        yes
17
18description     big_int library
19
20long_description \
21    A big_int library provides a set of functions for calculations with \
22    arbitrary length integers and bitsets. Functions from this package are \
23    useful for number theory applications. For example, in two-keys \
24    cryptography. The package has many bitset functions, which allow to work \
25    with arbitrary length bitsets. This package is much faster than bundled \
26    into PHP BCMath and consists almost all functions, which are implemented \
27    in PHP GMP extension, but it needn't any external libraries.
28
29checksums       md5     d858d5bcfd3f789cb1ae8cb8ff09d3e9 \
30                sha1    3687c4b479c50118a4a4182e567242f0bf88d557 \
31                rmd160  bfb06f73e73578ff7e01b6d9c56bc594f354839a
32
33if {${name} ne ${subport}} {
34    use_parallel_build yes
35   
36    post-destroot {
37        set docdir ${prefix}/share/doc/${subport}
38        xinstall -d ${destroot}${docdir}
39        xinstall -m 644 -W ${worksrcpath} CREDITS LICENSE README ${destroot}${docdir}
40        copy ${worksrcpath}/docs ${destroot}${docdir}/html
41    }
42}
Note: See TracBrowser for help on using the repository browser.