# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id: Portfile 99564 2012-11-10 00:26:39Z hum@macports.org $

PortSystem          1.0

name                mgizapp
version             0.7.2
categories          textproc
maintainers         hum openmaintainer

description         a multi-threaded word alignment tool based on GIZA++

long_description    MGIZA++ is a multi-threaded word alignment tool based on GIZA++. \
                    It extends GIZA++ in multiple ways.

homepage            http://www.kyloo.net/software/doku.php/mgiza:overview
platforms           darwin
license             BSD

master_sites        sourceforge
checksums           rmd160  413c033f0752795d5eb836770f5696fa9d83af1c \
                    sha256  d67a9e69b8a6d935f6d123a0b616479452775fba4be5ee3601e9767808987a93

depends_lib         port:boost

conflicts           giza-pp

worksrcdir          ${name}

post-extract {
    file attributes ${worksrcpath}/install-sh -permissions 0755
}

compiler.blacklist  clang

build.args          LIBS="-lboost_system-mt -lboost_thread-mt"

livecheck.regex     ${name}-(\[\\d.\]+)\\.tar
