# -*- 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                ssed
version             3.62
checksums           rmd160  997ed98147539e67934c5756bf37a11b7125f4ab \
                    sha256  af7ff67e052efabf3fd07d967161c39db0480adc7c01f5100a1996fec60b8ec4 \
                    size    855644

categories          textproc
license             GPL-2+
platforms           darwin
maintainers         nomaintainer

description         Super-sed - a heavily enhanced version of sed

long_description    This is a version of sed based on GNU sed. It is \
                    not a version of GNU sed, though. There are \
                    several new features (including in-place editing \
                    of files, extended regular expression syntax and \
                    a few new commands) and some bug fixes.

homepage            http://sed.sourceforge.net/
master_sites        http://sed.sourceforge.net/grabbag/ssed/ freebsd
distname            sed-${version}

depends_lib         port:gettext \
                    port:libiconv

patchfiles          implicit.patch

configure.args      --infodir=${prefix}/share/info \
                    --mandir=${prefix}/share/man \
                    --program-prefix=s \
                    --with-libiconv-prefix=${prefix} \
                    --with-libintl-prefix=${prefix}

livecheck.type      regex
livecheck.url       [lindex ${master_sites} 0]
livecheck.regex     sed-(\[0-9.\]+)${extract.suffix}
