# -*- 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                doodle
version             0.7.3
description         Doodle is a tool to quickly search the documents on a computer.
long_description    ${description}
categories          sysutils
license             GPL-2+
maintainers         nomaintainer

homepage            https://grothoff.org/christian/doodle
master_sites        ${homepage}/download/

checksums           rmd160  28fa178f45aa0653201c2359075ae58246ef4506 \
                    sha256  aa8769d9ea58ca8960dfc30d84157efcd30b99f5e386c9f65fdb8a4d49e2bf6b \
                    size    657044

depends_lib         port:gettext-runtime \
                    port:libextractor

# tree.c:1837: warning: implicit declaration of function 'fdatasync'
patchfiles          patch-fdatasync.diff

configure.args      --mandir=${prefix}/share/man
use_parallel_build  no

# Undefined symbols: "_libintl_gettext"
configure.ldflags-append \
                    -lintl
