source: trunk/dports/databases/tokyocabinet/Portfile

Last change on this file was 133694, checked in by khindenburg@…, 3 years ago

tokyocabinet: fix typo in variant swap #47021

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.6 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 133694 2015-03-09 02:41:10Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                tokyocabinet
7version             1.4.48
8revision            0
9categories          databases
10license             LGPL
11platforms           darwin
12
13maintainers         stromnov openmaintainer
14
15description         Tokyo Cabinet is a library of routines for managing   \
16                    a database.
17
18long_description    \
19    Tokyo 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.  There is neither concept of data tables nor data types. \
24    Records are organized in hash table or B+ tree.
25
26homepage            http://fallabs.com/tokyocabinet/
27master_sites        ${homepage}
28
29checksums           rmd160  8fb3c2f2e424a2135cb021d46905a783a1032a7b \
30                    sha256  a003f47c39a91e22d76bc4fe68b9b3de0f38851b160bbb1ca07a4f6441de1f90
31
32patchfiles          patch-configure.diff
33
34depends_lib         port:zlib \
35                    port:bzip2
36
37# To avoid linking against a previously installed version, remove the default
38# CPPFLAGS and LDFLAGS. The build scripts already add the
39# destination include and lib directories.
40configure.cppflags
41configure.ldflags
42
43configure.args      --mandir=${prefix}/share/man \
44                    --datadir=${prefix}/share/doc
45
46test.run            yes
47test.target         check
48
49# broken on snow leopard, ticket #25513
50if {${os.major} < 10 || ${os.platform} ne "darwin"} {
51variant debug conflicts devel profile fastest description {build for debugging} {
52    configure.args-append   --enable-debug
53}
54}
55
56variant devel conflicts profile fastest description {build for development} {
57    configure.args-append   --enable-devel
58}
59
60variant profile conflicts devel fastest description {build for profiling} {
61    configure.args-append   --enable-profile
62}
63
64variant fastest conflicts devel profile description {build for fastest run} {
65    configure.args-append   --enable-fastest
66}
67
68variant off64 description {build with 64-bit file offset on 32-bit system} {
69    configure.args-append   --enable-off64
70}
71
72variant swap description {build for swapping byte-orders} {
73    configure.args-append   --enable-swab
74}
75
76livecheck.type      regex
77livecheck.url       ${homepage}
78livecheck.regex     "Latest Source Package \\(version (\\d+(?:\\.\\d+)*)\\)"
Note: See TracBrowser for help on using the repository browser.