aboutsummaryrefslogtreecommitdiffstats
path: root/astro
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2010-05-18 11:20:55 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2010-05-18 11:20:55 +0800
commite2f97747fd11c1ddcfd5bc873f32205b20d68d2d (patch)
treec861049813b44c19fc0026373772d6aede862068 /astro
parenta18d9a6b57e4538393251232ce23de1ce1954cde (diff)
downloadfreebsd-ports-gnome-e2f97747fd11c1ddcfd5bc873f32205b20d68d2d.tar.gz
freebsd-ports-gnome-e2f97747fd11c1ddcfd5bc873f32205b20d68d2d.tar.zst
freebsd-ports-gnome-e2f97747fd11c1ddcfd5bc873f32205b20d68d2d.zip
This program converts OpenStreetMap data into a map that can be
loaded onto a Garmin GPS device. It does the conversion in one step without depending on any other program. WWW: http://wiki.openstreetmap.org/wiki/Mkgmap
Diffstat (limited to 'astro')
-rw-r--r--astro/Makefile1
-rw-r--r--astro/mkgmap/Makefile37
-rw-r--r--astro/mkgmap/distinfo3
-rw-r--r--astro/mkgmap/pkg-descr5
4 files changed, 46 insertions, 0 deletions
diff --git a/astro/Makefile b/astro/Makefile
index f4a9a711a1b9..2ea8057aa30e 100644
--- a/astro/Makefile
+++ b/astro/Makefile
@@ -37,6 +37,7 @@
SUBDIR += luna
SUBDIR += match
SUBDIR += merkaartor
+ SUBDIR += mkgmap
SUBDIR += mymoon
SUBDIR += nightfall
SUBDIR += nova
diff --git a/astro/mkgmap/Makefile b/astro/mkgmap/Makefile
new file mode 100644
index 000000000000..3b7ee05f1205
--- /dev/null
+++ b/astro/mkgmap/Makefile
@@ -0,0 +1,37 @@
+# New ports collection makefile for: mkgmap
+# Date created: 17 May 2010
+# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= mkgmap
+PORTVERSION= r1625
+CATEGORIES= astro java
+MASTER_SITES= http://www.mkgmap.org.uk/snapshots/
+
+MAINTAINER= amdmi3@FreeBSD.org
+COMMENT= Convert OpenStreetMap data into a Garmin format
+
+NO_BUILD= yes
+
+USE_JAVA= yes
+JAVA_VERSION= 1.6+
+
+SUB_FILES= ${PORTNAME}.sh
+
+PLIST_FILES= bin/${PORTNAME} ${JAVAJARDIR:C,${PREFIX}/?,,}/${PORTNAME}.jar
+PORTDOCS= *
+
+do-install:
+ ${MKDIR} ${JAVAJARDIR}/
+ ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.jar ${JAVAJARDIR}/
+ ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${PREFIX}/bin/${PORTNAME}
+.if !defined(NOPORTDOCS)
+post-install:
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/
+ ${INSTALL_DATA} ${WRKSRC}/doc/*.txt ${DOCSDIR}/
+.endif
+
+.include <bsd.port.mk>
diff --git a/astro/mkgmap/distinfo b/astro/mkgmap/distinfo
new file mode 100644
index 000000000000..cdcad5ed1bf6
--- /dev/null
+++ b/astro/mkgmap/distinfo
@@ -0,0 +1,3 @@
+MD5 (mkgmap-r1625.tar.gz) = e09ddf4861f68bd335bd11fce54cbf48
+SHA256 (mkgmap-r1625.tar.gz) = c94ce2b789343f4e39df30021e26fec8976887ef1b549f86bf1d589488005640
+SIZE (mkgmap-r1625.tar.gz) = 2025810
diff --git a/astro/mkgmap/pkg-descr b/astro/mkgmap/pkg-descr
new file mode 100644
index 000000000000..7c682e7ac1ab
--- /dev/null
+++ b/astro/mkgmap/pkg-descr
@@ -0,0 +1,5 @@
+This program converts OpenStreetMap data into a map that can be
+loaded onto a Garmin GPS device. It does the conversion in one step
+without depending on any other program.
+
+WWW: http://wiki.openstreetmap.org/wiki/Mkgmap