# -*- 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
# $Id: Portfile 77102 2011-03-20 06:07:11Z ryandesign@macports.org $

PortSystem          1.0

name                gtktalog
version             1.0.4
categories          x11
platforms           darwin
maintainers         comcast.net:terry.droeger

description         X11 catalog cd dvd

long_description    GTKtalog is a tool to make a disk catalog: you can use \
                    it to create a really small database with images of \
                    files and directories of your CDs. \
                    Then you can browse all your CDs very quickly, see \
                    contents of some files (tar.gz, rpm files ...). \
                    You can assign a category and a description to each \
                    directory and/or file. \
                    You can search files in your database using filename, \
                    category, description and/or file information \
                    parameters, and find which disc the file you are \
                    looking for is in.

homepage            http://www.nongnu.org/gtktalog/
master_sites        http://download.savannah.gnu.org/releases/gtktalog

checksums           md5     54ed43256a0d11d078f67485e0a80e0a \
                    sha1    4f68dfcc30f74a41ae7e88d00f3fd21265b8bfa4

use_bzip2           yes

depends_lib         port:gtk1 \
                    port:gnome-libs \
                    port:zlib \
                    port:cdrtools \
                    port:ncurses

# cdrtools is not universal
universal_variant   no

patchfiles          patch-gtktalog-changes.diff
patch.pre_args      -p1

use_autoreconf      yes

autoreconf.args     --force -i

use_parallel_build  yes

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