Ticket #49459: Portfile

File Portfile, 1.9 KB (added by ramundsen85, 9 years ago)
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id$
3
4PortSystem              1.0
5
6name                    routino
7version                 3.0
8
9categories              gis
10platforms               darwin
11maintainers             web.de:framic5 openmaintainer
12
13description             Route planner for OpenStreetMap data
14long_description        Routino is an application for finding a route between two points using the dataset of \
15                        topographical information collected by http://www.OpenStreetMap.org. \
16                        This router uses a routing algorithm that takes OSM format data as its input and \
17                        calculates either the shortest or quickest route between two points. To optimise the \
18                        routing a custom database format is used. This allows the routing to be performed \
19                        quickly after a modest one-off pre-processing stage.
20homepage                http://routino.org/
21license                 GPL-3
22
23master_sites            http://routino.org/download/
24extract.suffix          .tgz
25
26checksums               rmd160  ea9f8a1fd5f728f6f2a5382543be29ba1b2f1e00 \
27                        sha256  376512ef9627ce5c12e8c7a98dba7fe5125acfb89a9f9ee6758fbe36b5cf942f
28
29patchfiles              patch-Makefile_conf.diff \
30                        patch-src_Makefile_dylib_extension.diff
31
32depends_lib             port:libzip \
33                        port:bzip2
34
35use_parallel_build      no
36use_configure           no
37
38post-patch {
39    reinplace -W ${worksrcpath} s|prefix=/usr/local|prefix=${prefix}|g Makefile.conf
40    reinplace -W ${worksrcpath} s|docdir=\$(prefix)/doc/routino|docdir=\$(prefix)/share/doc/routino|g Makefile.conf
41}
42
43build.args-append       CC=${configure.cc} \
44                        LD=${configure.cc}