Ignore:
Timestamp:
Jun 9, 2014, 5:48:58 AM (5 years ago)
Author:
ryandesign@…
Message:

ophcrack: use a patchfile instead of just a reinplace

Location:
trunk/dports/security/ophcrack
Files:
2 added
1 edited

Legend:

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

    r120774 r120831  
    4141        xinstall -m 755 -d ${tables_dir}/vista_free
    4242        system "unzip ${distpath}/tables_vista_free.zip -d ${tables_dir}/vista_free"
    43     }
    44 }
    45 
    46 pre-build {
    47     if {[variant_isset tables]} {
    48         reinplace "s|QString()|QString(\"${prefix}/share/${name}/tables\")|g" ${worksrcpath}/src/gui/tabledialog.cpp
    4943    }
    5044}
     
    9387   
    9488    extract.only ${distname}${extract.suffix}
     89   
     90    patchfiles-append patch-src-gui-tabledialog.cpp.diff
     91   
     92    post-patch {
     93        reinplace "s|@TABLES_DIR@|${prefix}/share/${name}/tables|g" ${worksrcpath}/src/gui/tabledialog.cpp
     94    }
    9595}
    9696
Note: See TracChangeset for help on using the changeset viewer.