Ignore:
Timestamp:
Feb 4, 2008, 9:27:39 AM (11 years ago)
Author:
afb@…
Message:

minor maintainer port enhancements (#14167)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/security/cracklib/Portfile

    r33588 r33730  
    99categories       security
    1010maintainers      theonelab.com:june
     11revision         1
    1112description      A ProActive Password Sanity Library
    1213long_description CrackLib is a library containing a C function (well, \
     
    2021platforms        darwin
    2122depends_lib      port:gettext
    22 default_variants +largedict
     23depends_build    port:cracklib-words
    2324
    2425master_sites     sourceforge
     
    3132configure.args-append --without-python
    3233
    33 variant largedict {
    34     depends_build port:cracklib-words
    35     destroot.target-append dict-local
     34variant nolargedict {
     35    depends_build-delete port:cracklib-words
    3636}
    3737
    3838post-build {
    39     if {[variant_isset largedict]} {
    40         file copy /opt/local/share/cracklib/cracklib-words ${worksrcpath}/dicts
     39    if {![variant_isset nolargedict]} {
     40        file copy ${prefix}/share/dict/cracklib-words ${worksrcpath}/dicts
    4141    }
    4242
     
    4444}
    4545
     46destroot.target-append dict-local
     47
     48post-destroot {
     49    xinstall -d -m 0755 ${destroot}${prefix}/share/dict
     50    file rename ${destroot}${prefix}/share/cracklib/cracklib-small ${destroot}${prefix}/share/dict
     51}
     52
    4653test.run        yes
    4754test.cmd        make
Note: See TracChangeset for help on using the changeset viewer.