1 # Copyright 1999-2008 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
5 inherit java-pkg-2 java-ant-2 subversion
7 ESVN_REPO_URI
="http://svn.parabola.me.uk/mkgmap/trunk/"
9 DESCRIPTION
="Tool to create garmin maps"
10 HOMEPAGE
="http://wiki.openstreetmap.org/index.php/Mkgmap"
15 #No Keywords for overlay
19 DEPEND
=">=virtual/jdk-1.6"
20 RDEPEND
=">=virtual/jre-1.6"
24 JAVA_ANT_ENCODING
=UTF-8
29 java-pkg_newjar
"dist/${PN}.jar" || die
"java-pkg_newjar failed"
30 java-pkg_dolauncher
"${PN}" --jar "${PN}.jar" || die
"java-pkg_dolauncher failed"
32 dodoc dist
/README dist
/doc
/Credits dist
/doc
/*.txt || die
"dodoc failed"
33 doman dist
/doc
/mkgmap
.1 || die
"doman failed"