# -*- 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 81291 2011-07-29 02:51:08Z snc@macports.org $

PortSystem		1.0

name			Books
version         3.2.5c
categories		aqua
license         MIT
maintainers		snc
description		Books provides a virtual card catalog for your personal library.

long_description	Books stores, sorts, and searches a virtual card catalog \
					for a personal library. It makes it simple to enter new \
					books, edit the information of older books, and sort the \
					books by attributes such as title and author. Books also \
					includes built-in searching for quick book information \
					retrieval, and XML support for importing and exporting \
					collection information in HTML and XML.

platforms       darwin
homepage            http://www.audacious-software.com/products/books
master_sites        ${homepage}/dist/
distname		${name}_${version}
use_bzip2       yes
extract.suffix  .tbz

checksums           rmd160  cdb2153da028040db22b7e52e14580d4dcfa4611 \
                    sha256  13d34ccc941a4e41f62fc8916746be3f13f81b8cd518527b471dc777a3e37a71

worksrcdir		${name}.app

universal_variant no
use_configure   no
build {}
destroot {
    move ${worksrcpath}  ${destroot}${applications_dir}
}

livecheck.type	regex
livecheck.url	http://books.aetherial.net/wordpress/
livecheck.regex "${name} (\\d+(?:\\.\\d+)*\\w?)"
