source: trunk/dports/databases/kyotocabinet/Portfile

Last change on this file was 125371, checked in by stromnov@…, 3 years ago

kyotocabinet: make compatible with clang libc++

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.7 KB
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: Portfile 125371 2014-09-14 21:24:39Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                kyotocabinet
7version             1.2.76
8revision            1
9categories          databases
10license             GPL
11platforms           darwin
12
13maintainers         stromnov openmaintainer
14
15description         Kyoto Cabinet is a library of routines for managing   \
16                    a database.
17
18long_description    \
19    Kyoto Cabinet  is a library of routines for managing a database.  The \
20    database is a simple data file containing records,  each is a pair of \
21    a key and a value.  Every key and value is serial bytes with variable \
22    length.  Both binary data  and  character string can be used as a key \
23    and  a  value.  Each key must be unique within a database.   There is \
24    neither concept of data tables nor data types.
25
26homepage            http://fallabs.com/${name}/
27master_sites        http://fallabs.com/${name}/pkg/
28
29checksums           rmd160  3bc2feb6e01310764c422cc93d9a98ced1da2cfb \
30                    sha256  812a2d3f29c351db4c6f1ff29d94d7135f9e601d7cc1872ec1d7eed381d0d23c
31
32dist_subdir         ${name}/${version}_${revision}
33
34patchfiles          patch-configure.diff \
35                    patch-kcthread.cc \
36                    patch-kccommon.h.diff
37
38depends_lib         port:zlib
39
40# To avoid linking against a previously installed version, remove the default
41# CPPFLAGS and LDFLAGS. The build scripts already add the
42# destination include and lib directories.
43configure.cppflags
44configure.ldflags
45
46configure.args      --mandir=${prefix}/share/man \
47                    --datadir=${prefix}/share/doc \
48                    --disable-lzo \
49                    --disable-lzma
50
51universal_variant   no
52
53test.run            yes
54test.target         check
55
56variant debug conflicts devel profile description {build for debugging} {
57    configure.args-append   --enable-debug
58}
59
60variant devel conflicts debug profile description {build for development} {
61    configure.args-append   --enable-devel
62}
63
64variant profile conflicts debug devel description {build for profiling} {
65    configure.args-append   --enable-profile
66}
67
68variant lzo description {build with LZO compression} {
69    configure.args-delete   --disable-lzo
70    configure.args-append   --enable-lzo
71    depends_lib-append      port:lzo2
72}
73
74variant lzma description {build with LZMA compression} {
75    configure.args-delete   --disable-lzma
76    configure.args-append   --enable-lzma
77    depends_lib-append      port:xz
78}
79
80livecheck.type      regex
81livecheck.url       ${master_sites}
82livecheck.regex     "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
Note: See TracBrowser for help on using the repository browser.