Ignore:
Timestamp:
Dec 28, 2009, 4:32:24 PM (9 years ago)
Author:
nox@…
Message:

Update aircrack-ng to 1.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/security/aircrack-ng/Portfile

    r51485 r62042  
    44
    55name            aircrack-ng
    6 version         0.9.3
    7 revision        1
     6version         1.0
    87categories      security
    98maintainers     nomaintainer
     
    1817platforms       darwin
    1918master_sites    http://download.aircrack-ng.org/
    20 checksums       sha1 b2f671324d056408b83d32eb1ab6061b7fa87ac5
    2119
     20checksums       md5     dafbfaf944ca9d523fde4bae86f0c067 \
     21                sha1    8a3c5b8e322ea11e5559109a9f9d668ad6aee5f0 \
     22                rmd160  e8360aabbec1e7e038f86579e1004234f0899409
     23
     24post-patch {
     25    reinplace s@/usr/local@${prefix}@ ${worksrcpath}/common.mak
     26    reinplace s/-Werror// ${worksrcpath}/common.mak
     27
     28    reinplace -E {s/#if defined.*/#if 0/} \
     29        ${worksrcpath}/src/aircrack-ng.c \
     30        ${worksrcpath}/src/common.h \
     31        ${worksrcpath}/src/sha1-sse2.h
     32}
     33
     34depends_lib \
     35    port:openssl
    2236
    2337use_configure   no
    2438
    25 configure {
    26     system "mv ${worksrcpath}/Makefile.osx ${worksrcpath}/Makefile"
    27     reinplace "s|\$(prefix)/man/man1|\$(prefix)/share/man/man1/|g" ${worksrcpath}/Makefile
    28     reinplace "s|\$(prefix)|${prefix}|g" ${worksrcpath}/Makefile
    29     reinplace "s|\$(destdir)|${destroot}|g" ${worksrcpath}/Makefile
    30 }
     39use_parallel_build yes
     40
     41build.args \
     42    ASM_AC=
     43
     44destroot.args \
     45    mandir=${prefix}/share/man/man1
     46
     47universal_variant no
Note: See TracChangeset for help on using the changeset viewer.