Ignore:
Timestamp:
Aug 8, 2014, 12:49:39 PM (6 years ago)
Author:
hum@…
Message:

word2vec: add mt variant to apply multiple threads patch and set +mt as default.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/textproc/word2vec/Portfile

    r117500 r123335  
    66name                word2vec
    77version             20131218
     8revision            1
    89categories          textproc
    910maintainers         hum openmaintainer
     
    6364}
    6465
     66variant mt description {Apply multiple threads patch} {
     67    distfiles-append    word2vec.local.tgz:mt
     68    master_sites-append http://www.chokkan.org/software/word2vec-multi/:mt
     69    checksums           rmd160  5c9092531f1c4d8f5482359e9d78f847adcd260c \
     70                        sha256  57476a59f3f485ee5ada7214caf67fcbfa53f78283a7e85c5b6c764a96171844
     71    post-patch {
     72        system -W ${worksrcpath} "patch -p1 < ${workpath}/word2vec.local/word2vec.local.patch"
     73    }
     74}
     75
     76default_variants    +mt
     77
    6578livecheck.type      none
Note: See TracChangeset for help on using the changeset viewer.