# -*- 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                rpm2html
version             1.11.2
platforms           darwin freebsd
license             mit
categories          sysutils
maintainers         nomaintainer
description         Translates an RPM database and dependency information into HTML
long_description    The rpm2html utility automatically generates web pages that describe a \
                    set of RPM packages.  The goals of rpm2html are to identify the \
                    dependencies between various packages, and to find the package(s) that \
                    will provide the resources needed to install a given package. \
                    Rpm2html analyzes the provides and requires of the given set of RPMs, \
                    and then shows the dependency cross-references using hypertext links.

homepage            https://www.nongnu.org/rpm2html/
master_sites        https://savannah.nongnu.org/download/rpm2html/

checksums           rmd160  4b27da6930825dc45c01640e62b74faa2049ed01 \
                    sha256  a7725cc9d0ac41659d07ece6752885ce0cbada6a3071c5209fb9db12ead69f2d \
                    size    201286

depends_lib         lib:librpm:rpm \
                    lib:libxml2:libxml2 \
                    port:bzip2 \
                    port:zlib

depends_build       port:autoconf \
                    port:automake

patchfiles          patch-rpmopen.c \
                    patch-memory.c \
                    patch-rpm2html.config

configure.cmd       ./autogen.sh

configure.args      --with-rpm-prefix=${prefix}
