From c157a26487f88358efd0bb0f99a04bb304e42216 Mon Sep 17 00:00:00 2001 From: amdmi3 Date: Wed, 19 May 2010 12:06:51 +0000 Subject: - Fix build by adding forgotten files/ - Mirror the distfile Reported by: pointyhat via erwin --- astro/mkgmap/Makefile | 3 ++- astro/mkgmap/files/mkgmap.sh.in | 9 +++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 astro/mkgmap/files/mkgmap.sh.in 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" "$@" -- cgit