# -*- 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                libpub
version             0.40
checksums           rmd160  8c4e761f297f2ab1dda920b461625cc7bc173ef9 \
                    sha256  35ec7d0682265a494bb585beba34900d18a5fb1a93c687bee4e7e28a8e0498b9 \
                    size    144932

categories          devel
platforms           darwin
maintainers         nomaintainer
license             BSD

description         library of C functions for various purposes
long_description    publib is a {*}${description}.

homepage            https://code.google.com/p/publib/
master_sites        googlecode:publib
distname            publib-${version}

patchfiles          patch-Makefile.in \
                    link-alternative-names.patch

post-destroot {
    # Don't conflict with xorg-libX11's XFree.3 on case-insensitive filesystems.
    move ${destroot}${prefix}/share/man/man3/xfree.3.gz ${destroot}${prefix}/share/man/man3/xfree-publib.3.gz
}
