Portfile

# $Id: Portfile 20224 2006-10-29 06:34:27Z blair@macports.org $
PortSystem 1.0
name malsync
version 2.2.0
# not a great match; FreeBSD has a "palm" category but we don't yet
categories comms
maintainers fenner@research.att.com
homepage http://www.tomw.org/malsync/
master_sites http://www.tomw.org/malsync/
checksums md5 d1c41526b91bb38c21a4ced01d26328c
distfiles ${name}_${version}.src.tar.gz
worksrcdir malsync
description AvantGo.com palm pilot synchronization utility
depends_lib lib:pisock.8:pilot-link
patchfiles malsync.patch
long_description MalSync is a command line tool that allows Palm \
Pilots to synchronize to the AvantGo.com server.
configure {}
build { system "make PREFIX=${prefix}" }
destroot {
xinstall -m 755 ${worksrcpath}/malsync ${destroot}${prefix}/bin
set docdst "${destroot}${prefix}/share/doc/malsync"
xinstall -d ${docdst}
xinstall -m 644 ${worksrcpath}/Doc/README_AvantGo ${docdst}
xinstall -m 644 ${worksrcpath}/Doc/README_malsync ${docdst}
}

files