# -*- 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                chmlib
version             0.40
revision            0
checksums           rmd160  f79d6b3d94f8eb8aa0c517c0805d2ac8e1128f64 \
                    sha256  3449d64b0cf71578b2c7e3ddc048d4af3661f44a83941ea074a7813f3a59ffa3 \
                    size    252036

categories          textproc
license             LGPL-2.1+
maintainers         nomaintainer
description         A library for dealing with Microsoft ITSS/CHM files
long_description \
   chmlib is a small library designed for accessing Microsoft ITSS files. \
   The ITSS file format is used for Microsoft Html Help files (.chm), which \
   have been the predominant medium for software documentation from \
   Microsoft during the past several years.

platforms           darwin

homepage            http://www.jedrea.com/chmlib/
master_sites        ${homepage}
use_bzip2           yes

patchfiles          patch-src-chm_http.c.diff \
                    patch-src-chm_lib.c.diff

configure.args      --disable-io64 --enable-examples

livecheck.type      regex
livecheck.regex     ${name}-(\[0-9.\]+)\\.tar
