# -*- 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 108771 2013-08-01 17:38:51Z cal@macports.org $

PortSystem            1.0

name                  rhyme
version               0.9
categories            textproc
platforms             darwin
license               GPL-2
maintainers           gmail.com:israelchauca
description           Rhyming dictionary.
long_description      Command-line program that takes a word and returns to you \
                      a formatted list of all words that rhyme with it.
homepage              http://rhyme.sourceforge.net/
master_sites          sourceforge:project/rhyme/rhyme/${version}
checksums             rmd160 5049ee3f2ad6d56d03fd28a7399129213f4ca808 \
                      sha256 11d4862cc3adfc18ea83ca233854c562fcebdc838fa7fb62de6ef3f63f992bd4

depends_lib           port:gdbm \
                      port:readline \
                      port:ncurses

patchfiles            patch-Makefile.diff

use_configure         no

build.env-append      FLAGS="${configure.cflags} [get_canonical_archflags]"

use_parallel_build    no
build.args-append     PREFIX=${prefix}   \
                      CC=${configure.cc}

destroot.args-append  DESTDIR=${destroot} \
                      PREFIX=${prefix}

livecheck.type        regex
livecheck.url         http://sourceforge.net/projects/$name/files/$name/
livecheck.regex       /${name}/(\[0-9.\]+)/
