aboutsummaryrefslogtreecommitdiffstats
path: root/astro
diff options
context:
space:
mode:
Diffstat (limited to 'astro')
-rw-r--r--astro/mkgmap/Makefile14
-rw-r--r--astro/mkgmap/distinfo4
2 files changed, 8 insertions, 10 deletions
diff --git a/astro/mkgmap/Makefile b/astro/mkgmap/Makefile
index b91ee82fe350..da3b6a33d7fe 100644
--- a/astro/mkgmap/Makefile
+++ b/astro/mkgmap/Makefile
@@ -1,14 +1,10 @@
-# New ports collection makefile for: mkgmap
-# Date created: 17 May 2010
-# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org>
-#
+# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= mkgmap
-PORTVERSION= r2164
+PORTVERSION= r2487
CATEGORIES= astro converters java
-MASTER_SITES= http://www.mkgmap.org.uk/snapshots/ \
+MASTER_SITES= http://www.mkgmap.org.uk/download/ \
http://mirror.amdmi3.ru/distfiles/
MAINTAINER= amdmi3@FreeBSD.org
@@ -24,11 +20,13 @@ SUB_FILES= ${PORTNAME}.sh
PLIST_FILES= bin/${PORTNAME} ${JAVAJARDIR:C,${PREFIX}/?,,}/${PORTNAME}.jar
PORTDOCS= *
+.include <bsd.port.options.mk>
+
do-install:
${MKDIR} ${JAVAJARDIR}/
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.jar ${JAVAJARDIR}/
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${PREFIX}/bin/${PORTNAME}
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
post-install:
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/
diff --git a/astro/mkgmap/distinfo b/astro/mkgmap/distinfo
index 7a12e286871e..056f1674187a 100644
--- a/astro/mkgmap/distinfo
+++ b/astro/mkgmap/distinfo
@@ -1,2 +1,2 @@
-SHA256 (mkgmap-r2164.tar.gz) = 7f78d51f9697b2ae97bfd44cf02e391a731ad9ca99b61b164c0a3a4566009fc0
-SIZE (mkgmap-r2164.tar.gz) = 2079519
+SHA256 (mkgmap-r2487.tar.gz) = 20447f8182eeddf86b4d79b126f6adf4ac24b098f8fdcf910879a5af6f2dc47b
+SIZE (mkgmap-r2487.tar.gz) = 2447326