aboutsummaryrefslogtreecommitdiff
path: root/astro/osmosis
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2017-07-10 17:56:03 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2017-07-10 17:56:03 +0000
commit8dc619750b9c152d9b30a219c6e7fec52d7083b2 (patch)
tree3aca66a1b6b96d069d1e4c30381d0575c3726f33 /astro/osmosis
parentfd6450880310d096a5674df710840331d772f6fb (diff)
downloadports-8dc619750b9c152d9b30a219c6e7fec52d7083b2.tar.gz
ports-8dc619750b9c152d9b30a219c6e7fec52d7083b2.zip
- Update to 0.45
Notes
Notes: svn path=/head/; revision=445446
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