Skip to content

Instantly share code, notes, and snippets.

@tizoc
Created June 3, 2009 00:52
Show Gist options
  • Save tizoc/122715 to your computer and use it in GitHub Desktop.
Save tizoc/122715 to your computer and use it in GitHub Desktop.
# -*- 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
# $Id: Portfile 50687 2009-05-06 22:32:26Z [email protected] $
PortSystem 1.0
name tokyocabinet
version 1.4.19
categories databases
maintainers nomaintainer
platforms darwin
description Tokyo Cabinet is a library of routines for managing a database.
long_description \
Tokyo Cabinet is a library of routines for managing a database. The database\
is a simple data file containing records, each is a pair of a key and a value.\
Every key and value is serial bytes with variable length. Both binary data and\
character string can be used as a key and a value. There is neither concept of\
data tables nor data types. Records are organized in hash table or B+ tree.
homepage http://tokyocabinet.sourceforge.net/
master_sites ${homepage} \
sourceforge:${name}
#checksums md5 8c7a796358263dcc1757126b6ad44ef6 \
# sha1 29a73bddca5693dc77272f1c609fef9a186a6481 \
# rmd160 22b2dc06772aaca942e682b221438c633a27ef9d
checksums md5 190c043db889f9339d1fde2a416f688b \
sha1 41a13ae1fdcd1863896bbf128f4fdc73b391d62f \
rmd160 83ca4d7f6e1597abdcee0979417665a38c69a1a4
depends_lib port:zlib
# To avoid linking against a previously installed version, remove the default
# CPPFLAGS and LDFLAGS. The build scripts already add the
# destination include and lib directories.
configure.cppflags
configure.ldflags
configure.args --mandir=${prefix}/share/man \
--datadir=${prefix}/share/doc
test.run yes
test.target check
#default_variants +fastest
variant debug conflicts devel profile fastest description {build for debugging} {
configure.args-append --enable-debug
}
variant devel conflicts debug profile fastest description {build for development} {
configure.args-append --enable-devel
}
variant profile conflicts debug devel fastest description {build for profiling} {
configure.args-append --enable-profile
}
variant fastest conflicts debug devel profile description {build for fastest run} {
configure.args-append --enable-fastest
}
variant off64 description {build with 64-bit file offset on 32-bit system} {
configure.args-append --enable-off64
}
variant swap description {build for swapping byte-orders} {
configure.args-append --enable-swap
}
livecheck.check sourceforge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment