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

Last change on this file was 94610, checked in by ryandesign@…, 5 years ago

take over unmaintained PHP extensions (with openmaintainer)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 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 94610 2012-06-25 03:31:00Z ryandesign@macports.org $
3
4PortSystem      1.0
5PortGroup       php 1.1
6
7name            php-crack
8version         0.4
9revision        1
10license         PHP
11categories      php mail devel
12platforms       darwin
13maintainers     ryandesign openmaintainer
14
15php.branches    5.3
16php.pecl        yes
17
18description     \"Good Password\" Checking Utility
19
20long_description \
21    This package provides an interface to the cracklib (libcrack) libraries \
22    that come standard on most unix-like distributions. This allows you to \
23    check passwords against dictionaries of words to ensure some minimal level \
24    of password security.
25
26checksums       md5     7cfe9df99f546cf6bd55b535d71e3b1f \
27                sha1    aa1554747ef2d1c96e4a47fdb0057828661a918a \
28                rmd160  335b1cecb0ccd958fa01c499a636e0e22a5a46ea
29
30if {${name} != ${subport}} {
31    depends_lib-append  port:cracklib
32   
33    patchfiles          patch-crack.c.diff
34   
35    use_parallel_build  yes
36   
37    test.run            yes
38   
39    post-destroot {
40        set docdir ${prefix}/share/doc/${subport}
41        xinstall -d ${destroot}${docdir}
42        xinstall -m 644 -W ${worksrcpath} CREDITS \
43            ${destroot}${docdir}
44    }
45}
Note: See TracBrowser for help on using the repository browser.