a project to simplify installation of open source software
on Mac OS X and Darwin
# $Id: Portfile 20224 2006-10-29 06:34:27Z blair@macports.org $
PortSystem 1.0
name s710
version 0.19
categories comms
maintainers philippe.barthelemy_DARWINPORTS@gadzarts.org
description communicate to a Polar S710 heart rate monitor
long_description This software lets you communicate from a computer to a Polar S710 \
heart rate monitor via the serial IR interface. It is not complete, but a utility is \
provided that gives you the ability to view the settings on the watch and download \
exercise files. Other utilities (also provided) allow you to print the contents of \
exercise files and render the data in PNG.
homepage http://daveb.net/s710/
master_sites http://daveb.net/s710/src/
checksums md5 cb7cdfdd03ade0c9a64f1b1af8d8ccd3
depends_lib lib:libgd:gd2 lib:libiconv:libiconv
configure.env CFLAGS="-DS710_SERIAL_ALT_INTER_CHAR_TIMER_IMP -L${prefix}/libs710" \
CPPFLAGS="-I${prefix}/include" LDFLAGS="-lz -liconv"
configure.args --with-filedir=${prefix}/var/polar/s710/raw
variant usb {
depends_build-append lib:libusb:libusb
configure.args-append --with-usb
}