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 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name leveldb |
---|
7 | version 1.9.0 |
---|
8 | categories databases |
---|
9 | platforms darwin |
---|
10 | license BSD |
---|
11 | maintainers nomaintainer |
---|
12 | description A fast and lightweight key/value database library by Google |
---|
13 | long_description A fast and lightweight key/value database library by Google |
---|
14 | homepage http://code.google.com/p/leveldb/ |
---|
15 | master_sites googlecode:leveldb |
---|
16 | |
---|
17 | checksums rmd160 6d36b6b095c131aeb24fc75ecee8a7b9b4c5ce9e \ |
---|
18 | sha256 b2699b04e5aba8e98382c4955b94725d1f76bd0b5decd60c5628205b717a1d4f |
---|
19 | |
---|
20 | depends_lib port:snappy |
---|
21 | use_configure no |
---|
22 | |
---|
23 | variant universal {} |
---|
24 | |
---|
25 | build.env-append CXXFLAGS="[get_canonical_archflags]" \ |
---|
26 | LDFLAGS="[get_canonical_archflags]" \ |
---|
27 | INSTALL_PATH=${prefix}/lib |
---|
28 | |
---|
29 | destroot { |
---|
30 | eval file copy [glob ${worksrcpath}/libleveldb*] ${destroot}${prefix}/lib |
---|
31 | file copy ${worksrcpath}/include/leveldb ${destroot}${prefix}/include |
---|
32 | } |
---|