aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--astro/mkgmap/Makefile3
-rw-r--r--astro/mkgmap/files/mkgmap.sh.in9
2 files changed, 11 insertions, 1 deletions
diff --git a/astro/mkgmap/Makefile b/astro/mkgmap/Makefile
index 3b7ee05f1205..79d190121834 100644
--- a/astro/mkgmap/Makefile
+++ b/astro/mkgmap/Makefile
@@ -8,7 +8,8 @@
PORTNAME= mkgmap
PORTVERSION= r1625
CATEGORIES= astro java
-MASTER_SITES= http://www.mkgmap.org.uk/snapshots/
+MASTER_SITES= http://www.mkgmap.org.uk/snapshots/ \
+ http://mirror.amdmi3.ru/distfiles/
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Convert OpenStreetMap data into a Garmin format
diff --git a/astro/mkgmap/files/mkgmap.sh.in b/astro/mkgmap/files/mkgmap.sh.in
new file mode 100644
index 000000000000..fb04a043c06c
--- /dev/null
+++ b/astro/mkgmap/files/mkgmap.sh.in
@@ -0,0 +1,9 @@
+#!/bin/sh
+#
+# $FreeBSD: /tmp/pcvs/ports/astro/mkgmap/files/mkgmap.sh.in,v 1.1 2010-05-19 12:06:51 amdmi3 Exp $
+
+JAVA="%%LOCALBASE%%/bin/java"
+JARPATH="%%JAVALIBDIR%%"
+export JAVA_VERSION="%%JAVA_VERSION%%"
+
+exec "${JAVA}" -Xmx1024m -jar "${JARPATH}/mkgmap.jar" "$@"