# -*- 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
github.setup gdraheim zziplib 0.13.69 v
categories archivers devel
maintainers {@mojca mojca} openmaintainer
description library providing read access on ZIP-archives
long_description The ZZIPlib provides read access on ZIP-archives. The \
library uses only the patent-free compression-algorithms \
supported by Zlib. It provides functions that transparently \
access files being either real files or zipped files, \
both with the same filepath.
checksums rmd160 d401fc327138d5b997c0cd318f808f95cea1f937 \
sha256 c5cf1c11a6019862e5b6daea4d7c72124affe687b9637effc7ad3caf2b7b1d96 \
depends_build port:pkgconfig \
set docdir ${prefix}/share/doc/${name}
configure.python ${prefix}/bin/python2.7
configure.env ac_cv_path_PAX=":"
set builddir [glob -dir ${worksrcpath} "*apple-darwin*"]
reinplace -E {s|-arch [a-z0-9_]+||g} \
${builddir}/zzip/zziplib-uninstalled.pc \
${builddir}/zzip/zziplib.pc
xinstall -d ${destroot}${docdir}/html
xinstall -m 0644 -W ${worksrcpath} COPYING.LIB ChangeLog README TODO \
xinstall -m 0644 {*}[glob -directory ${worksrcpath}/docs "*.{css,htm}"] \
${destroot}${docdir}/html
# We replace every soelim stub with a soft link, as ".so" groff directives
# don't work with gzip'd manpages.
foreach {f} [glob -directory ${destroot}${prefix}/share/man/man3 *.3] {
if {[regexp {^\.so (.+)$} [read -nonewline ${channel}] _ target]} {
# This manpage is a soelim stub.
ln -sf [file tail ${target}] ${f}