# $Id: Portfile,v 1.2 2004/05/23 07:31:49 pguyot Exp $

PortSystem		1.0
name			jpilot
version			0.99.7
revision		0
description		A Palm Pilot desktop for Unix
long_description	J-Pilot is a desktop organizer application for the palm pilot and other\
Palm OS devices.  It is similar in functionality to the one that\
3Com/Palm distributes.
categories		palm
homepage		http://www.jpilot.org/
platforms		darwin
maintainers		kristian.peters@korseby.net
master_sites 		http://www.jpilot.org/
checksums		md5 11bb7236702e2e4c7e3d06372bdc9695
patchfiles		patch-plugins.c
configure.args  	--with-libiconv-prefix=${prefix} \
			--with-pilot-prefix=${prefix} \
			--mandir=${prefix}/share/man \
			--disable-gtk2
depends_lib		lib:libiconv:libiconv lib:libgtk.a:gtk1 lib:libpisock.a:pilot-link

# adds gtk2-support
variant			gtk2 {
	configure.args-delete	--disable-gtk2
	configure.args-append	--enable-gtk2
	depends_lib-delete		lib:libgtk.a:gtk1
	depends_lib-append		lib:libgtk.2:gtk2
}

