Changeset 43262


Ignore:
Timestamp:
Dec 7, 2008, 10:17:44 PM (11 years ago)
Author:
blb@…
Message:

sysutils/john-devel - version update to 1.7.3.1, clean how the paths are
set up (getting rid of the massive escaping), switch default x86 build to
the SSE2 one, and add a 64 bit variant

Location:
trunk/dports/sysutils/john-devel
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/sysutils/john-devel/Portfile

    r30254 r43262  
    33PortSystem          1.0
    44name                john-devel
    5 version             1.7.2
     5version             1.7.3.1
    66categories          sysutils security
    77maintainers         nomaintainer
     
    3030                    ftp://ftp.cz.openwall.com/pub/projects/john/${version}/
    3131use_bzip2           yes
    32 checksums           md5 dc6a6c2a885110ccb5da4c1e2010cb07 \
    33                     sha1 7cc994f9cbd1582b46cbdeb1d5f318891ea8b411 \
    34                     rmd160 3754da88a98f1c120e28de1eb10b214bf7dd3baf
     32checksums           md5     4a8de450ff332bd0c7cbc573eb5032d9 \
     33                    sha1    45f6ed73f7ea82460f3a33d6452bd8c17bdf863d \
     34                    rmd160  f6e01c72c068904fe9e49a0669a9cdf0dc745be2
    3535distname            john-${version}
    3636worksrcdir          ${distname}/src
    3737
     38# Patch params.h since that avoids lots of messy escaping and quoting
     39# issues
     40patchfiles          patch-params.h
    3841post-patch {
    39     if {[variant_isset powerpc]} {
    40     reinplace "s,CFLAGS =,CFLAGS = -DJOHN_SYSTEMWIDE=1 -DJOHN_SYSTEMWIDE_EXEC=\\\\\\\\\\\\\"${prefix}/share/john\\\\\\\\\\\\\" -DJOHN_SYSTEMWIDE_HOME=\\\\\\\\\\\\\"${prefix}/share/john\\\\\\\\\\\\\",g" ${worksrcpath}/Makefile
    41     reinplace "s,CFLAGS=\",CFLAGS=\"-DJOHN_SYSTEMWIDE=1 -DJOHN_SYSTEMWIDE_EXEC=\\\\\\\\\\\\\"${prefix}/share/john\\\\\\\\\\\\\" -DJOHN_SYSTEMWIDE_HOME=\\\\\\\\\\\\\"${prefix}/share/john\\\\\\\\\\\\\" ,g" ${worksrcpath}/Makefile
    42     } else {
    43         reinplace "s,CFLAGS =,CFLAGS = -DJOHN_SYSTEMWIDE=1 -DJOHN_SYSTEMWIDE_EXEC=\\\\\\\"${prefix}/share/john\\\\\\\" -DJOHN_SYSTEMWIDE_HOME=\\\\\\\"${prefix}/share/john\\\\\\\",g" ${worksrcpath}/Makefile
    44         reinplace "s,CFLAGS=\",CFLAGS=\"-DJOHN_SYSTEMWIDE=1 -DJOHN_SYSTEMWIDE_EXEC=\\\\\\\"${prefix}/share/john\\\\\\\" -DJOHN_SYSTEMWIDE_HOME=\\\\\\\"${prefix}/share/john\\\\\\\" ,g" ${worksrcpath}/Makefile
    45     }
     42    reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/params.h
    4643}
     44
    4745use_configure       no
    4846
     
    5048    build.target    "clean macosx-ppc32"
    5149}
     50
    5251platform i386 {
    53     build.target    "clean macosx-x86-mmx"
     52    build.target    "clean macosx-x86-sse2"
    5453}
    55 variant altivec conflicts i386 {
     54
     55variant altivec conflicts i386 description {Enable AltiVec support} {
    5656    build.target    "clean macosx-ppc32-altivec"
     57}
     58
     59variant use_64_bit conflicts altivec description {Enable 64bit support} {
     60    if {[variant_isset powerpc]} {
     61        build.target    "clean macosx-ppc64"
     62    } else {
     63        build.target    "clean macosx-x86-64"
     64    }
    5765}
    5866
     
    7280    ui_msg  ""
    7381}
     82
Note: See TracChangeset for help on using the changeset viewer.