PortSystem 1.0

name		pilot-link
version		0.12.5
revision	4
categories	palm sysutils
maintainers	nomaintainer
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_build	port:pkgconfig
depends_lib	port:libiconv \
		port:readline \
		port:popt \
		port:libpng

use_bzip2	yes
checksums	md5 568c55bf504b044f6fbd50baa407c990 \
		sha1 b822466333ba58bbb32d7cfe5c547f4e7a78bdee \
		rmd160  806c87b9849d37fc5f88b453fb0842504be71a76

patchfiles	libpng14.diff

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