# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
# $Id: Portfile 75698 2011-02-04 20:30:38Z jmr@macports.org $

PortSystem	1.0
PortGroup xcode 1.0

name        bean
version		2.4.2
categories  editors aqua
maintainers	nomaintainer
description	A small, simple rich text editor.
long_description    \
    Bean is a small, simple word processor (or more precisely, a rich text \
    editor), with many niceties added to make writing convenient, efficient \
    and comfortable.
homepage    http://www.bean-osx.com/
master_sites    http://www.bean-osx.com/source/

distname	Bean-Source-[string map {. -} $version]
use_zip     yes
checksums	\
	md5 60905c342bee6cb5f17c76675ca25033 \
	sha1 68b53c7fa14004a7adaf47fe6dfb2bfba470b9a3 \
	rmd160 e7aad1b02fe0066a0ea136994ebd1d4e804e474d

supported_archs	i386 ppc

worksrcdir	Bean-[string map {. -} $version]

patchfiles	ApplicationDelegate.m.diff

xcode.target	Bean
xcode.configuration	Release

livecheck.type	regex
livecheck.url	http://www.bean-osx.com/releases/availableVersion.xml
livecheck.regex	"<availableVersion>(\[0-9\.\]+)</availableVersion>"
