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 40100 2008-09-20 17:11:26Z akira@macports.org $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name tokyotyrant |
---|
7 | version 1.1.11 |
---|
8 | categories databases |
---|
9 | maintainers openmaintainer gmail.com:paul.dlug |
---|
10 | platforms darwin |
---|
11 | description Tokyo Tyrant is the network interface for Tokyo Cabinet. |
---|
12 | long_description \ |
---|
13 | Tokyo Tyrant is a the network interface for Tokyo Cabinet. It consists of a\ |
---|
14 | network server process managing a database and providing concurrent and remote\ |
---|
15 | connections. |
---|
16 | homepage http://tokyocabinet.sourceforge.net/ |
---|
17 | master_sites ${homepage}/tyrantpkg \ |
---|
18 | sourceforge:tokyocabinet |
---|
19 | checksums md5 6006aa820377a9e8a25c7e6d512ce930 \ |
---|
20 | sha1 1927ecc0e313e82815d216336052529cf40a4f9e \ |
---|
21 | rmd160 165ad5df56812cdea9cf772ac2a7fc78512d9400 |
---|
22 | |
---|
23 | depends_lib port:zlib port:tokyocabinet |
---|
24 | |
---|
25 | configure.args --mandir=${prefix}/share/man \ |
---|
26 | --datadir=${prefix}/share/doc |
---|
27 | |
---|
28 | post-patch { |
---|
29 | # configure |
---|
30 | reinplace "s|\$HOME|\${prefix}|g" ${worksrcpath}/configure |
---|
31 | # Makefile.in |
---|
32 | reinplace "s|\$(HOME)|\$(prefix)|g" ${worksrcpath}/Makefile.in |
---|
33 | } |
---|
34 | |
---|
35 | test.run yes |
---|
36 | test.target check |
---|
37 | |
---|
38 | #default_variants +fastest |
---|
39 | |
---|
40 | variant debug conflicts devel profile fastest description {build for debugging} { |
---|
41 | configure.args-append --enable-debug |
---|
42 | } |
---|
43 | |
---|
44 | variant devel conflicts debug profile fastest description {build for development} { |
---|
45 | configure.args-append --enable-devel |
---|
46 | } |
---|
47 | |
---|
48 | variant profile conflicts debug devel fastest description {build for profiling} { |
---|
49 | configure.args-append --enable-profile |
---|
50 | } |
---|
51 | |
---|
52 | variant fastest conflicts debug devel profile description {build for fastest run} { |
---|
53 | configure.args-append --enable-fastest |
---|
54 | } |
---|
55 | |
---|
56 | variant lua description {Build with lua extension} { |
---|
57 | configure.args-append --enable-lua |
---|
58 | depends_lib-append port:lua |
---|
59 | } |
---|
60 | |
---|
61 | livecheck.check sourceforge |
---|