# $Id: Portfile 44955 2009-01-05 04:42:14Z css@macports.org $

PortSystem 1.0

name		pilot-link
version		0.12.3
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 257124484d50552679c53cae8e118aa3 \
		sha1 d459ec2626ee19367a5329e604e33b337ef37602 \
		rmd160  938f367a38572d456b37e62ab0d309139b50403b

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}
}

