mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
30 lines
701 B
Makefile
30 lines
701 B
Makefile
# Created by: Gleb Smirnoff <glebius@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= osmosis
|
|
PORTVERSION= 0.43.1
|
|
CATEGORIES= astro java
|
|
MASTER_SITES= http://bretth.dev.openstreetmap.org/osmosis-build/ \
|
|
http://mirror.amdmi3.ru/distfiles/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
|
COMMENT= Command line Java app for processing OpenStreetMap data
|
|
|
|
NO_STAGE= yes
|
|
NO_BUILD= yes
|
|
WRKSRC= ${WRKDIR}
|
|
|
|
USE_JAVA= yes
|
|
JAVA_VERSION= 1.6+
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|^\(MYAPP_HOME=\).*|\1${DATADIR}|' ${WRKSRC}/bin/osmosis
|
|
|
|
do-install:
|
|
${MKDIR} ${DATADIR}
|
|
cd ${WRKSRC} && ${COPYTREE_SHARE} "script config lib" ${DATADIR}/
|
|
${INSTALL_SCRIPT} ${WRKSRC}/bin/osmosis ${PREFIX}/bin/
|
|
|
|
.include <bsd.port.mk>
|