Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,49 @@ | |||
# -*- 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 | |||
|
|||
PortSystem 1.0 | |||
PortGroup github 1.0 | |||
|
|||
github.setup openvenues libpostal 1.0.0 v | |||
name libpostal-data | |||
categories textproc | |||
platforms darwin | |||
supported_archs noarch | |||
maintainers {amake @amake} openmaintainer | |||
license Permissive NoMirror | |||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
amake
Author
Contributor
|
|||
|
|||
description Data files required by the libpostal port | |||
long_description ${description} | |||
|
|||
github.tarball_from releases | |||
|
|||
distfiles parser${extract.suffix}:parser \ | |||
language_classifier${extract.suffix}:classifier \ | |||
libpostal_data${extract.suffix}:data | |||
|
|||
dist_subdir ${name}/${version} | |||
|
|||
checksums parser${extract.suffix} \ | |||
rmd160 ad8effd4ac1cc90ce0467604c4dec76b893719eb \ | |||
sha256 7194e9b0095f71aecb861269f675e50703e73e352a0b9d41c60f8d8ef5a03624 \ | |||
size 752483239 \ | |||
language_classifier${extract.suffix} \ | |||
rmd160 6271c131ffc69633956e8d343f85299ecf1cfe79 \ | |||
sha256 16a6ecb6d37e7e25d8fe514255666852ab9dbd4d9cc762f64cf1e15b4369a277 \ | |||
size 50334317 \ | |||
libpostal_data${extract.suffix} \ | |||
rmd160 c70e51b09bcda0ae01b6eaf21c17289c76a0915a \ | |||
sha256 d2ec50587bf3a7e46e18e5dcde32419134266f90774e3956f2c2f90d818ff9a1 \ | |||
size 10190140 | |||
|
|||
use_configure no | |||
worksrcdir . | |||
|
|||
build {} | |||
|
|||
destroot { | |||
set target_dir ${destroot}${prefix}/share/libpostal | |||
xinstall -d ${target_dir} | |||
foreach item {address_expansions address_parser language_classifier numex transliteration} { | |||
copy ${worksrcpath}/${item} ${target_dir} | |||
} | |||
} |
I'm curious why we aren't allowed to mirror these files.