# $Id: Portfile 60182 2009-11-04 10:40:42Z css@macports.org $

PortSystem 1.0

name		pilot-link
version		0.12.4
categories	palm sysutils
maintainers	css
description	palm-pilot libraries and tools
long_description	pilot-link is a suite of tools used to connect your \
	Palm or PalmOS compatible handheld. It includes userspace conduits  \
	that allow you to synchronize information to and from your Palm.

platforms	darwin
homepage	http://www.pilot-link.org/
master_sites	http://downloads.pilot-link.org/
depends_lib	port:libiconv \
		port:readline \
		port:popt \
		port:libpng

use_bzip2	yes
checksums	md5 a62baf6fd709c6a3d93077abda936e7a \
		sha1 cb1fcf11f8f1b26cfa3b83fab0293ea55ae62471 \
		rmd160  c7f8fb0312d8d071c12cf9e3333981b050f281df

configure.args	--libexecdir=${prefix}/lib \
		--mandir=${prefix}/share/man \
		--enable-conduits \
		--with-libpng=${prefix} \
		--with-libiconv=${prefix} \
		--with-pic \
		--enable-shared \
		--enable-static

post-destroot {
	xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
	xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING NEWS README \
		${destroot}${prefix}/share/doc/${name}
}

