aboutsummaryrefslogtreecommitdiff
path: root/astro
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2013-09-28 15:32:24 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2013-09-28 15:32:24 +0000
commitfb9b8158a755bed339045457cae2bd79a94193ac (patch)
treedf828cf444c512546c78bc57d7c19cd05e72bdf0 /astro
parentefcc77ad4372f555f1294b6279fc901788e4a96b (diff)
downloadports-fb9b8158a755bed339045457cae2bd79a94193ac.tar.gz
ports-fb9b8158a755bed339045457cae2bd79a94193ac.zip
Notes
Diffstat (limited to 'astro')
-rw-r--r--astro/mkgmap-splitter/Makefile18
-rw-r--r--astro/mkgmap-splitter/distinfo4
-rw-r--r--astro/mkgmap-splitter/pkg-plist9
3 files changed, 11 insertions, 20 deletions
diff --git a/astro/mkgmap-splitter/Makefile b/astro/mkgmap-splitter/Makefile
index df692ba57acd..bd0637cde3bc 100644
--- a/astro/mkgmap-splitter/Makefile
+++ b/astro/mkgmap-splitter/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= splitter
-PORTVERSION= r304
+PORTVERSION= r310
CATEGORIES= astro converters java
MASTER_SITES= http://www.mkgmap.org.uk/download/ \
http://mirror.amdmi3.ru/distfiles/
@@ -11,7 +11,6 @@ PKGNAMEPREFIX= mkgmap-
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Tile splitter for mkgmap
-NO_STAGE= yes
NO_BUILD= yes
USE_JAVA= yes
@@ -19,21 +18,22 @@ JAVA_VERSION= 1.6+
SUB_FILES= ${PORTNAME}.sh
+PLIST_FILES= bin/${PKGNAMEPREFIX}${PORTNAME}
PORTDOCS= *
+PORTDATA= *
DATADIR= ${PREFIX}/share/${PKGNAMEPREFIX}${PORTNAME}
.include <bsd.port.options.mk>
do-install:
- ${MKDIR} ${DATADIR}/lib
- ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.jar ${DATADIR}/
- ${INSTALL_DATA} ${WRKSRC}/lib/*.jar ${DATADIR}/lib/
- ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${PREFIX}/bin/${PKGNAMEPREFIX}${PORTNAME}
+ ${MKDIR} ${STAGEDIR}${DATADIR}/lib
+ ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.jar ${STAGEDIR}${DATADIR}/
+ ${INSTALL_DATA} ${WRKSRC}/lib/*.jar ${STAGEDIR}${DATADIR}/lib/
+ ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${STAGEDIR}${PREFIX}/bin/${PKGNAMEPREFIX}${PORTNAME}
.if ${PORT_OPTIONS:MDOCS}
-post-install:
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/doc/intro.txt ${DOCSDIR}/
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/intro.txt ${STAGEDIR}${DOCSDIR}/
.endif
.include <bsd.port.mk>
diff --git a/astro/mkgmap-splitter/distinfo b/astro/mkgmap-splitter/distinfo
index 9aa0492d9e5f..4986b04aa9e6 100644
--- a/astro/mkgmap-splitter/distinfo
+++ b/astro/mkgmap-splitter/distinfo
@@ -1,2 +1,2 @@
-SHA256 (splitter-r304.tar.gz) = 1e2caef652d28ec1ed9323b4202f3baf787ab6fbc96acaf881921977d69dd5df
-SIZE (splitter-r304.tar.gz) = 2148570
+SHA256 (splitter-r310.tar.gz) = 24977c5e1f8ed6dfdca7eaef730e829d421fcfe005e09b444e5062c2e5da7c02
+SIZE (splitter-r310.tar.gz) = 2148515
diff --git a/astro/mkgmap-splitter/pkg-plist b/astro/mkgmap-splitter/pkg-plist
deleted file mode 100644
index a774c0f9f016..000000000000
--- a/astro/mkgmap-splitter/pkg-plist
+++ /dev/null
@@ -1,9 +0,0 @@
-bin/mkgmap-splitter
-%%DATADIR%%/lib/fastutil.jar
-%%DATADIR%%/lib/osmpbf.jar
-%%DATADIR%%/lib/protobuf.jar
-%%DATADIR%%/lib/testng-5.9-jdk15.jar
-%%DATADIR%%/lib/xpp3-1.1.4c.jar
-%%DATADIR%%/splitter.jar
-@dirrm %%DATADIR%%/lib
-@dirrm %%DATADIR%%