mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
OpenStreetMap data into Polish map format (MP) convertor
WWW: http://code.google.com/p/osm2mp/
This commit is contained in:
parent
2c089e5ed4
commit
2372f8ec7a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=276067
@ -48,6 +48,7 @@
|
||||
SUBDIR += mule-ucs
|
||||
SUBDIR += nomyso
|
||||
SUBDIR += o3read
|
||||
SUBDIR += osm2mp
|
||||
SUBDIR += p5-Boulder
|
||||
SUBDIR += p5-Convert-ASCII-Armour
|
||||
SUBDIR += p5-Convert-ASN1
|
||||
|
42
converters/osm2mp/Makefile
Normal file
42
converters/osm2mp/Makefile
Normal file
@ -0,0 +1,42 @@
|
||||
# New ports collection makefile for: osm2mp
|
||||
# Date created: 21 Jun 2011
|
||||
# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= osm2mp
|
||||
PORTVERSION= r475
|
||||
CATEGORIES= converters geography
|
||||
MASTER_SITES= http://mirror.amdmi3.ru/distfiles/
|
||||
|
||||
MAINTAINER= amdmi3@FreeBSD.org
|
||||
COMMENT= OpenStreetMap data into Polish map format (MP) convertor
|
||||
|
||||
RUN_DEPENDS= ${SITE_PERL}/YAML.pm:${PORTSDIR}/textproc/p5-YAML \
|
||||
${SITE_PERL}/Encode/Locale.pm:${PORTSDIR}/converters/p5-Encode-Locale \
|
||||
${SITE_PERL}/Math/Polygon.pm:${PORTSDIR}/math/p5-Math-Polygon \
|
||||
${SITE_PERL}/Math/Polygon/Tree.pm:${PORTSDIR}/math/p5-Math-Polygon-Tree \
|
||||
${SITE_PERL}/Tree/R.pm:${PORTSDIR}/devel/p5-Tree-R \
|
||||
${SITE_PERL}/${PERL_ARCH}/Template.pm:${PORTSDIR}/www/p5-Template-Toolkit \
|
||||
${SITE_PERL}/${PERL_ARCH}/Math/Geometry/Planar/GPC/Polygon.pm:${PORTSDIR}/math/p5-Math-Geometry-Planar-GPC-Polygon \
|
||||
${SITE_PERL}/${PERL_ARCH}/List/MoreUtils.pm:${PORTSDIR}/lang/p5-List-MoreUtils
|
||||
|
||||
LICENSE= GPLv2
|
||||
|
||||
USE_BZIP2= yes
|
||||
USE_PERL5_RUN= yes
|
||||
NO_BUILD= yes
|
||||
|
||||
SUB_FILES= pkg-message
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|garmin.yml|${DATADIR}/&|' ${WRKSRC}/osm2mp.pl
|
||||
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/osm2mp.pl ${PREFIX}/bin/osm2mp
|
||||
${MKDIR} ${DATADIR}
|
||||
cd ${WRKSRC} && ${COPYTREE_SHARE} '*.cmap *.yml *.txt *.typ polish-mp' ${DATADIR}/
|
||||
@${ECHO_CMD}; ${CAT} ${PKGMESSAGE}; ${ECHO_CMD}
|
||||
|
||||
.include <bsd.port.mk>
|
2
converters/osm2mp/distinfo
Normal file
2
converters/osm2mp/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (osm2mp-r475.tar.bz2) = 9ca7083594a6b433d7bf515587cc7d55650a9f7041fafc442c7dd838d1d4d65c
|
||||
SIZE (osm2mp-r475.tar.bz2) = 47053
|
3
converters/osm2mp/files/pkg-message.in
Normal file
3
converters/osm2mp/files/pkg-message.in
Normal file
@ -0,0 +1,3 @@
|
||||
If you need to tune osm2mp configuration files, you may copy
|
||||
%%DATADIR%% to some directory you own and use
|
||||
osm2mp's --config option to point it to modified files.
|
3
converters/osm2mp/pkg-descr
Normal file
3
converters/osm2mp/pkg-descr
Normal file
@ -0,0 +1,3 @@
|
||||
OpenStreetMap data into Polish map format (MP) convertor
|
||||
|
||||
WWW: http://code.google.com/p/osm2mp/
|
35
converters/osm2mp/pkg-plist
Normal file
35
converters/osm2mp/pkg-plist
Normal file
@ -0,0 +1,35 @@
|
||||
bin/osm2mp
|
||||
%%DATADIR%%/cp1250.cmap
|
||||
%%DATADIR%%/cp1251.cmap
|
||||
%%DATADIR%%/garmin-auto-ru.yml
|
||||
%%DATADIR%%/garmin-auto.yml
|
||||
%%DATADIR%%/garmin-ru.yml
|
||||
%%DATADIR%%/garmin-water.yml
|
||||
%%DATADIR%%/garmin.yml
|
||||
%%DATADIR%%/iso-3166-1-a2-en.txt
|
||||
%%DATADIR%%/iso-3166-1-a2-ru.txt
|
||||
%%DATADIR%%/osm.typ
|
||||
%%DATADIR%%/osm_pv.txt
|
||||
%%DATADIR%%/polish-mp/nodes-common-en.yml
|
||||
%%DATADIR%%/polish-mp/nodes-common-ru.yml
|
||||
%%DATADIR%%/polish-mp/nodes-common-univ.yml
|
||||
%%DATADIR%%/polish-mp/nodes-common.yml
|
||||
%%DATADIR%%/polish-mp/nodes-garmin-custom-univ.yml
|
||||
%%DATADIR%%/polish-mp/nodes-garmin-custom.yml
|
||||
%%DATADIR%%/polish-mp/nodes-garmin-marine.yml
|
||||
%%DATADIR%%/polish-mp/output-polish.yml
|
||||
%%DATADIR%%/polish-mp/ways-areas-common-univ.yml
|
||||
%%DATADIR%%/polish-mp/ways-areas-common.yml
|
||||
%%DATADIR%%/polish-mp/ways-areas-garmin-custom-univ.yml
|
||||
%%DATADIR%%/polish-mp/ways-areas-garmin-custom.yml
|
||||
%%DATADIR%%/polish-mp/ways-lines-common-univ.yml
|
||||
%%DATADIR%%/polish-mp/ways-lines-common.yml
|
||||
%%DATADIR%%/polish-mp/ways-lines-garmin-custom-univ.yml
|
||||
%%DATADIR%%/polish-mp/ways-lines-garmin-custom.yml
|
||||
%%DATADIR%%/polish-mp/ways-roads-common-univ.yml
|
||||
%%DATADIR%%/polish-mp/ways-roads-common.yml
|
||||
%%DATADIR%%/polish-mp/ways-roads-garmin-univ.yml
|
||||
%%DATADIR%%/polish-mp/ways-roads-garmin.yml
|
||||
%%DATADIR%%/polish-mp/ways-roads-waterway.yml
|
||||
@dirrm %%DATADIR%%/polish-mp
|
||||
@dirrm %%DATADIR%%
|
Loading…
Reference in New Issue
Block a user