# -*- 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 67453 2010-05-10 13:22:22Z jmr@macports.org $

PortSystem          1.0

name                luatex
version             0.50.0
categories          tex
maintainers         gundla.ch:patrick
description         TeX system programmable in Lua
long_description    LuaTeX is the successor of PDFTeX, Aleph and Omega. \
                    It is a typesetting system based on TeX but full \
                    unicode aware and programmable in Lua. This package \
                    provides luatex and texlua binaries only. It is not \
                    a full featured TeX installation. That means, you \
                    have to take care of format generation etc.
homepage            http://luatex.org/
platforms           darwin
use_bzip2           yes
use_configure       no
distname            ${name}-beta-${version}
master_sites        http://foundry.supelec.fr/gf/download/frsrelease/364/1424/
checksums           md5 125a21f67ff54440606660306106d331 \
                    sha1 9fd23438c546b27e6be725bb900cd083fa5b2056 \
                    rmd160 ad8eb0c9452779905abdcc58a1056c7134de425a
build.cmd           ./build.sh
build.args          --parallel
build.env           CC=${configure.cc} \
                    CXX=${configure.cxx}
build.target
destroot {
    xinstall -m 755 ${worksrcpath}/build/texk/web2c/luatex ${destroot}${prefix}/bin
    ln -s luatex ${destroot}${prefix}/bin/texlua
}
