Files

47 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
# Based on: http://www.openbsd.org/cgi-bin/cvsweb/ports/textproc/par/Makefile
PortSystem 1.0
PortGroup makefile 1.0
name par
version 1.52
revision 3
categories textproc
platforms darwin
maintainers {gmail.com:qbarnes @qbarnes} openmaintainer
description paragraph reflow for email
long_description ${description}
license Permissive
homepage http://www.nicemice.net/${name}/
master_sites ${homepage}
distname [string totitle $name][string map {. {}} $version]
checksums rmd160 253070f319a7f3b3a6f0dad5797882efdbf597bc \
sha256 33dcdae905f4b4267b4dc1f3efb032d79705ca8d2122e17efdecfd8162067082 \
size 47999
patchfiles patch-nbspace.diff \
patch-ptrdiffwarn.diff \
patch-spelling.diff \
patch-protoMakefile.diff
default_variants +i18n
variant i18n description adds support for multibyte characters {
patchfiles-append patch-i18n.diff
}
makefile.override CC CFLAGS LDFLAGS
build.target
build.args -f protoMakefile
destroot {
xinstall "${worksrcpath}/${name}" "${destroot}${prefix}/bin/"
xinstall -m 444 "${worksrcpath}/${name}.1" "${destroot}${prefix}/share/man/man1/"
}
livecheck.type regex
livecheck.regex {Par-(\d+(?:\.\d+)*)\.tar\.gz}