# -*- 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 62905 2010-01-21 12:31:44Z 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

platform darwin 7 {
pre-fetch {
return -code error "\n
    ${name} ${version} will not install on less than OS X 10.4 and there isn't a
    a ${name} 2.x port contributed as yet to accomodate 10.3.9\n"
}
}

checksums           md5     e319caed606743a2199ffc83bb15b078 \
                    sha1    864b2c894e470b46b33f70115584b590795fd9ca \
                    rmd160  cdb2153da028040db22b7e52e14580d4dcfa4611

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?)"
