aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2010-05-19 20:06:51 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2010-05-19 20:06:51 +0800
commitc157a26487f88358efd0bb0f99a04bb304e42216 (patch)
tree405e5533fb08dc564308673de1a73b76b973b118
parent9b7743743316925d835dcb9794b23d58f29f6d36 (diff)
downloadfreebsd-ports-gnome-c157a26487f88358efd0bb0f99a04bb304e42216.tar.gz
freebsd-ports-gnome-c157a26487f88358efd0bb0f99a04bb304e42216.tar.zst
freebsd-ports-gnome-c157a26487f88358efd0bb0f99a04bb304e42216.zip
- Fix build by adding forgotten files/
- Mirror the distfile Reported by: pointyhat via erwin
-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" "$@"