Source
# -*- 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 edelta
version 0.10b
categories archivers
platforms darwin
maintainers ryandesign
license GPL-2
description EDelta is a fast XDelta-style binary differ
long_description EDelta is a fast (linear time) XDelta-style \
binary differ, but optimized for executables \
that have a very systematic way of changing \
between versions.
homepage http://www.diku.dk/hjemmesider/ansatte/jacobg/edelta/
master_sites ${homepage}
checksums md5 f0306c9bca4518d86a08d8a4f98a9ca8 \
sha1 bcf24ff68c67da47484beb9f4869c726b9f06dc2 \
rmd160 1a7b676fe53b8ae079afd95109d4c98c82840ae7
depends_lib port:zlib
use_configure no
post-configure {
reinplace "s|<development version>|${version}|g" ${worksrcpath}/version.h
}
configure.ldflags-append -lz
build.target ${name}
build.args CC=${configure.cc} \
CFLAGS="${configure.cflags}" \
CPPFLAGS="${configure.cppflags}" \
LDFLAGS="${configure.ldflags}"
destroot {
xinstall ${worksrcpath}/${name} ${destroot}${prefix}/bin
set docdir ${destroot}${prefix}/share/doc/${name}
xinstall -d ${docdir}
xinstall -m 644 -W ${worksrcpath} \
COPYING \
${docdir}
}
livecheck.type regex
livecheck.regex ${name}-(\[0-9a-z.\]+)\\.tar