# -*- 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
homepage http://www.cs.purdue.edu/homes/trinkle/detex/
# use_tar is new in MacPorts 2.5.0.
if {[info command use_tar] eq "use_tar"} {
removes TeX constructs from a text file
md5 7a96b647f43bb077323cde92faa1e893 \
sha1 57691f8e4dd52cbf632f38abebfd8c3725de019b \
rmd160 983ea90de9e3559317baf4a71de0e8de47863b7d
if {[variant_isset universal]} {
set archflags ${configure.universal_cflags}
set archflags ${configure.cc_archflags}
build.args CC="${configure.cc} ${archflags}"
xinstall -W ${worksrcpath} detex ${destroot}${prefix}/bin
xinstall -W ${worksrcpath} detex.1l ${destroot}${prefix}/share/man/man1/
set docdir ${destroot}${prefix}/share/doc/${name}
xinstall -W ${worksrcpath} COPYRIGHT README ${docdir}
livecheck.regex ${name}-(\[0-9.\]+)\\.tar