# $Id: Portfile,v 1.3 2005/07/04 04:15:28 pguyot Exp $

PortSystem 1.0

name			Books
version			2.2.0
categories		aqua
platforms		darwin
maintainers		mww@opendarwin.org
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. 

homepage		http://books.aetherial.net/
master_sites	http://homepage.mac.com/cjkarr/Books/
distfiles		Source-${version}.tgz
checksums		md5 a7c75e8931dee9b5bc0733a71c3f307e

worksrcdir		Books

use_configure	no

build.type		pbx
build.target	-buildstyle Deployment

set xcodebuilddir		build
platform darwin 8 {
	if {$xcodeversion == "2.1"} {
		set xcodebuilddir	build/Deployment
	}
}

destroot	{
	xinstall -m 755 -d ${destroot}/Applications/DarwinPorts/
	file copy ${worksrcpath}/${xcodebuilddir}/Books.app \
		${destroot}/Applications/DarwinPorts/
}
