mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
for pf in */*/Portfile
do
ed -s "$pf" <<-'EOF'
1,3g/^[[:space:]]*#[[:space:]]*\$Id.*\$[[:space:]]*$/d
1g/^[[:space:]]*$/d
w
q
EOF
done
41 lines
1.5 KiB
Tcl
41 lines
1.5 KiB
Tcl
# -*- 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
|
|
|
|
PortSystem 1.0
|
|
|
|
name rtf2latex2e
|
|
version 2.2.2
|
|
set branch [join [lrange [split ${version} .] 0 1] .]
|
|
set my_version [strsed ${version} {g/\./-/}]
|
|
set my_branch [strsed ${branch} {g/\./-/}]
|
|
categories tex
|
|
platforms darwin
|
|
maintainers nomaintainer
|
|
license GPL-2+
|
|
|
|
description Filter to convert rtf files into LaTeX2e code.
|
|
|
|
long_description rtf2LaTeX2e is an RTF filter that generates LaTeX2e \
|
|
specific code, based on Paul DuBois' RTF reader. Its main \
|
|
features are detecting different text styles, reading \
|
|
embedded figures, tables, equations, footnotes, support \
|
|
for the inputenc package, translating hyperlinks.
|
|
|
|
homepage http://rtf2latex2e.sourceforge.net/
|
|
master_sites sourceforge:project/rtf2latex2e/rtf2latex2e-unix/${my_branch}
|
|
distname ${name}-${my_version}
|
|
|
|
checksums rmd160 ee54e037090cc2021bc25d74c8342ca3dd39fb8e \
|
|
sha256 eb742af22f2ae43c40ea1abc5f50215e04779e51dc9d91cac9276b98f91bb1af
|
|
|
|
use_configure no
|
|
|
|
variant universal {}
|
|
|
|
build.args-append prefix=${prefix} \
|
|
CC="${configure.cc} [get_canonical_archflags cc]"
|
|
|
|
destroot.args-append prefix=${prefix}
|
|
|
|
livecheck.version ${my_version}
|
|
livecheck.regex /${name}-(\[0-9-\]+)${extract.suffix}
|