aboutsummaryrefslogtreecommitdiffstats
path: root/astro/osmosis
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2017-07-11 01:56:03 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2017-07-11 01:56:03 +0800
commit8d737015b2a488752ef84250de987faaed6f40a6 (patch)
tree3aca66a1b6b96d069d1e4c30381d0575c3726f33 /astro/osmosis
parentdc66d9619d3b1f7f23661d130890c067e510f2ba (diff)
downloadfreebsd-ports-gnome-8d737015b2a488752ef84250de987faaed6f40a6.tar.gz
freebsd-ports-gnome-8d737015b2a488752ef84250de987faaed6f40a6.tar.zst
freebsd-ports-gnome-8d737015b2a488752ef84250de987faaed6f40a6.zip
- Update to 0.45
Diffstat (limited to 'astro/osmosis')
-rw-r--r--astro/osmosis/Makefile22
-rw-r--r--astro/osmosis/distinfo5
2 files changed, 18 insertions, 9 deletions
diff --git a/astro/osmosis/Makefile b/astro/osmosis/Makefile
index aa2d2103abb3..a36d589d78fa 100644
--- a/astro/osmosis/Makefile
+++ b/astro/osmosis/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= osmosis
-PORTVERSION= 0.43.1
+PORTVERSION= 0.45
CATEGORIES= astro java
MASTER_SITES= http://bretth.dev.openstreetmap.org/osmosis-build/ \
http://mirror.amdmi3.ru/distfiles/
@@ -10,23 +10,31 @@ MASTER_SITES= http://bretth.dev.openstreetmap.org/osmosis-build/ \
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Command line Java app for processing OpenStreetMap data
-USES= tar:tgz
-NO_BUILD= yes
-NO_ARCH= yes
-WRKSRC= ${WRKDIR}
+LICENSE= PD
+NO_WRKSUBDIR= yes
+USES= tar:tgz
USE_JAVA= yes
JAVA_VERSION= 1.6+
+NO_BUILD= yes
+NO_ARCH= yes
PLIST_FILES= bin/${PORTNAME}
PORTDATA= *
+PORTDOCS= *
+
+OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's|^\(MYAPP_HOME=\).*|\1${DATADIR}|' ${WRKSRC}/bin/osmosis
do-install:
- ${MKDIR} ${STAGEDIR}${DATADIR}
- cd ${WRKSRC} && ${COPYTREE_SHARE} "script config lib" ${STAGEDIR}${DATADIR}/
+ @${MKDIR} ${STAGEDIR}${DATADIR}
+ @cd ${WRKSRC} && ${COPYTREE_SHARE} "script config lib" ${STAGEDIR}${DATADIR}/
${INSTALL_SCRIPT} ${WRKSRC}/bin/osmosis ${STAGEDIR}${PREFIX}/bin/
+do-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/changes.txt ${WRKSRC}/readme.txt ${STAGEDIR}${DOCSDIR}
+
.include <bsd.port.mk>
diff --git a/astro/osmosis/distinfo b/astro/osmosis/distinfo
index e64b795d86af..e73fc6da739b 100644
--- a/astro/osmosis/distinfo
+++ b/astro/osmosis/distinfo
@@ -1,2 +1,3 @@
-SHA256 (osmosis-0.43.1.tgz) = 68df488db3643499cbc3d56fd4bd8bcabb9d67e821f9ba365b7e2eed6bda426a
-SIZE (osmosis-0.43.1.tgz) = 9079737
+TIMESTAMP = 1479919535
+SHA256 (osmosis-0.45.tgz) = ff7186038026f63b29fa5a5fc3f5dd5cb7031a5ddd1bf67f4f131b25404c5c22
+SIZE (osmosis-0.45.tgz) = 10742868