aboutsummaryrefslogtreecommitdiff
path: root/astro
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2010-05-19 12:06:51 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2010-05-19 12:06:51 +0000
commit05d565ebb3d993670b4e614d54a736c91da209f4 (patch)
tree479156888fc636eb8e86df572d25155e07679e72 /astro
parent8ce5c1503bb54336f2c953e1e882254c5cee8f1d (diff)
downloadports-05d565ebb3d993670b4e614d54a736c91da209f4.tar.gz
ports-05d565ebb3d993670b4e614d54a736c91da209f4.zip
Notes
Diffstat (limited to 'astro')
-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" "$@"