View | Details | Raw Unified | Return to bug 215524 | Differences between
and this patch

Collapse All | Expand All

(-)osrm-backend/Makefile (+48 lines)
Line 0 Link Here
1
# $FreeBSD$
2
3
PORTNAME=		osrm-backend
4
DISTVERSIONPREFIX=	v
5
DISTVERSION=		5.10.0
6
CATEGORIES=		www
7
8
MAINTAINER=		a.andersson.thn@gmail.com
9
COMMENT=		Open Source Routing Machine (Backend)
10
11
LICENSE=		BSD2CLAUSE
12
LICENSE_FILE=		${WRKSRC}/LICENCE.TXT
13
14
BUILD_DEPENDS=		${LOCALBASE}/lib/libstxxl.a:devel/stxxl
15
LIB_DEPENDS=		libtbb.so:devel/tbb \
16
			libtbbmalloc.so:devel/tbb \
17
			libluabind.so:devel/luabind \
18
			libboost_program_options.so:devel/boost-libs \
19
			libboost_date_time.so:devel/boost-libs \
20
			libboost_chrono.so:devel/boost-libs \
21
			libboost_filesystem.so:devel/boost-libs \
22
			libboost_iostreams.so:devel/boost-libs \
23
			libboost_thread.so:devel/boost-libs \
24
			libboost_system.so:devel/boost-libs \
25
			libboost_regex.so:devel/boost-libs \
26
			libexpat.so:textproc/expat2
27
28
USES=			cmake:outsource lua:52 compiler:c++14-lang
29
30
CMAKE_BUILD_TYPE=	Release
31
USE_LDCONFIG=		yes
32
33
USE_RC_SUBR=		osrm
34
USERS=			osrm
35
GROUPS=			osrm
36
37
USE_GITHUB=		yes
38
GH_ACCOUNT=		Project-OSRM
39
40
LUA_VER=		5.2
41
42
post-extract:
43
	${RM} -r	${WRKSRC}/CMakeCache.txt
44
	${RM} -r	${WRKSRC}/CMakeFiles
45
46
pre-install:
47
	${MKDIR}	${STAGEDIR}/var/db/osrm-backend
48
.include <bsd.port.mk>
(-)osrm-backend/distinfo (+3 lines)
Line 0 Link Here
1
TIMESTAMP = 1502096246
2
SHA256 (Project-OSRM-osrm-backend-v5.10.0_GH0.tar.gz) = ca7f073a11568a8b1a004e9528a11ff8a45da8a4b42029ea58c08fb79ed6fb97
3
SIZE (Project-OSRM-osrm-backend-v5.10.0_GH0.tar.gz) = 4865206
(-)osrm-backend/files/osrm.in (+37 lines)
Line 0 Link Here
1
#!/bin/sh
2
3
# PROVIDE: osrm
4
# REQUIRE: LOGIN cleanvar
5
# KEYWORD: shutdown
6
7
. /etc/rc.subr
8
9
name="osrm"
10
rcvar=${name}_enable
11
load_rc_config $name
12
13
: ${osrm_user:="osrm"}
14
: ${osrm_group:="osrm"}
15
: ${osrm_flags:=""}
16
: ${osrm_file:=""}
17
: ${osrm_options:="${osrm_flags} ${osrm_file}"}
18
19
20
21
pidfile="/var/run/osrm.pid"
22
procname="/usr/local/bin/osrm-routed"
23
command=/usr/sbin/daemon
24
command_args="-f -c -p ${pidfile} ${procname} ${osrm_options}"
25
start_precmd="osrm_precmd"
26
27
osrm_precmd()
28
{
29
  if [ -n "$osrm_file" ]; then
30
    chown ${osrm_user}:${osrm_group} ${osrm_file}
31
  fi
32
33
  install -o $osrm_user -m 644 /dev/null ${pidfile}
34
}
35
36
37
run_rc_command "$1"
(-)osrm-backend/pkg-descr (+3 lines)
Line 0 Link Here
1
This is a port of osrm-backend of the open-streetmap project.
2
3
WWW: http://project-osrm.org/
(-)osrm-backend/pkg-plist (+91 lines)
Line 0 Link Here
1
bin/osrm-components
2
bin/osrm-contract
3
bin/osrm-customize
4
bin/osrm-datastore
5
bin/osrm-extract
6
bin/osrm-partition
7
bin/osrm-routed
8
include/mapbox/optional.hpp
9
include/mapbox/recursive_wrapper.hpp
10
include/mapbox/variant.hpp
11
include/mapbox/variant_io.hpp
12
include/mapbox/variant_visitor.hpp
13
include/osrm/approach.hpp
14
include/osrm/bearing.hpp
15
include/osrm/contractor.hpp
16
include/osrm/contractor/contractor.hpp
17
include/osrm/contractor/contractor_config.hpp
18
include/osrm/contractor_config.hpp
19
include/osrm/coordinate.hpp
20
include/osrm/engine/api/base_parameters.hpp
21
include/osrm/engine/api/match_parameters.hpp
22
include/osrm/engine/api/nearest_parameters.hpp
23
include/osrm/engine/api/route_parameters.hpp
24
include/osrm/engine/api/table_parameters.hpp
25
include/osrm/engine/api/tile_parameters.hpp
26
include/osrm/engine/api/trip_parameters.hpp
27
include/osrm/engine/approach.hpp
28
include/osrm/engine/bearing.hpp
29
include/osrm/engine/engine_config.hpp
30
include/osrm/engine/hint.hpp
31
include/osrm/engine/phantom_node.hpp
32
include/osrm/engine/status.hpp
33
include/osrm/engine_config.hpp
34
include/osrm/error_codes.hpp
35
include/osrm/exception.hpp
36
include/osrm/extractor.hpp
37
include/osrm/extractor/extractor.hpp
38
include/osrm/extractor/extractor_config.hpp
39
include/osrm/extractor/io_config.hpp
40
include/osrm/extractor/travel_mode.hpp
41
include/osrm/extractor_config.hpp
42
include/osrm/json_container.hpp
43
include/osrm/match_parameters.hpp
44
include/osrm/nearest_parameters.hpp
45
include/osrm/osrm.hpp
46
include/osrm/osrm_fwd.hpp
47
include/osrm/partition/partition_config.hpp
48
include/osrm/partition/partitioner.hpp
49
include/osrm/route_parameters.hpp
50
include/osrm/status.hpp
51
include/osrm/storage/io_config.hpp
52
include/osrm/storage/storage.hpp
53
include/osrm/storage/storage_config.hpp
54
include/osrm/storage_config.hpp
55
include/osrm/table_parameters.hpp
56
include/osrm/tile_parameters.hpp
57
include/osrm/trip_parameters.hpp
58
include/osrm/util/alias.hpp
59
include/osrm/util/coordinate.hpp
60
include/osrm/util/exception.hpp
61
include/osrm/util/json_container.hpp
62
include/osrm/util/typedefs.hpp
63
%%LUA_LIBDIR%%/%%LUA_LIBDIR%%osrm.a
64
%%LUA_LIBDIR%%/%%LUA_LIBDIR%%osrm_contract.a
65
%%LUA_LIBDIR%%/%%LUA_LIBDIR%%osrm_customize.a
66
%%LUA_LIBDIR%%/%%LUA_LIBDIR%%osrm_extract.a
67
%%LUA_LIBDIR%%/%%LUA_LIBDIR%%osrm_partition.a
68
%%LUA_LIBDIR%%/%%LUA_LIBDIR%%osrm_store.a
69
%%LUA_LIBDIR%%/%%LUA_LIBDIR%%osrm_update.a
70
%%LUA_LIBDIR%%data/pkgconfig/%%LUA_LIBDIR%%osrm.pc
71
share/osrm/profiles/bicycle.lua
72
share/osrm/profiles/car.lua
73
share/osrm/profiles/debug_example.lua
74
share/osrm/profiles/examples/postgis.lua
75
share/osrm/profiles/foot.lua
76
share/osrm/profiles/%%LUA_LIBDIR%%/access.lua
77
share/osrm/profiles/%%LUA_LIBDIR%%/destination.lua
78
share/osrm/profiles/%%LUA_LIBDIR%%/guidance.lua
79
share/osrm/profiles/%%LUA_LIBDIR%%/maxspeed.lua
80
share/osrm/profiles/%%LUA_LIBDIR%%/pprint.lua
81
share/osrm/profiles/%%LUA_LIBDIR%%/profile_debugger.lua
82
share/osrm/profiles/%%LUA_LIBDIR%%/sequence.lua
83
share/osrm/profiles/%%LUA_LIBDIR%%/set.lua
84
share/osrm/profiles/%%LUA_LIBDIR%%/tags.lua
85
share/osrm/profiles/%%LUA_LIBDIR%%/way_handlers.lua
86
share/osrm/profiles/rasterbot.lua
87
share/osrm/profiles/rasterbotinterp.lua
88
share/osrm/profiles/test.lua
89
share/osrm/profiles/testbot.lua
90
share/osrm/profiles/turnbot.lua
91
@dir /var/db/osrm-backend

Return to bug 215524