# $Id: Portfile 108119 2013-07-13 14:24:40Z jmr@macports.org $

PortSystem      1.0
PortGroup       python 1.0

name            nfoview
version         1.1
revision        1
categories      gnome
license         GPL-3+
maintainers     nomaintainer
description     Simple viewer for NFO files
long_description NFO Viewer is a simple viewer for NFO files, which are \
                ASCII art in the CP437 codepage. The advantages of    \
                using NFO Viewer instead of a text editor are preset    \
                font and encoding settings, automatic window size and   \
                clickable hyperlinks.
homepage        http://home.gna.org/nfoview/
platforms       darwin
supported_archs noarch
master_sites    http://download.gna.org/nfoview/${version}/
use_bzip2       yes
checksums       md5 07edd3f0a8e631778739f8f4a7a3b9fc

python.default_version 25

depends_lib     port:gettext \
                port:intltool \
                port:py${python.version}-pygtk \
                port:terminus-font \
                port:shared-mime-info

livecheck.type  regex
livecheck.url  http://download.gna.org/nfoview/
livecheck.regex {>(\d+(?:\.\d+)*)/<}
