[72347] trunk/dports/databases

stromnov at macports.org stromnov at macports.org
Mon Oct 11 05:27:46 PDT 2010


Revision: 72347
          http://trac.macports.org/changeset/72347
Author:   stromnov at macports.org
Date:     2010-10-11 05:27:42 -0700 (Mon, 11 Oct 2010)
Log Message:
-----------
kyototycoon: new port

Added Paths:
-----------
    trunk/dports/databases/kyototycoon/
    trunk/dports/databases/kyototycoon/Portfile
    trunk/dports/databases/kyototycoon/files/
    trunk/dports/databases/kyototycoon/files/patch-configure.diff

Added: trunk/dports/databases/kyototycoon/Portfile
===================================================================
--- trunk/dports/databases/kyototycoon/Portfile	                        (rev 0)
+++ trunk/dports/databases/kyototycoon/Portfile	2010-10-11 12:27:42 UTC (rev 72347)
@@ -0,0 +1,66 @@
+# -*- 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$
+
+PortSystem          1.0
+
+name                kyototycoon
+version             0.8.0
+revision            0
+categories          databases
+maintainers         stromnov openmaintainer
+platforms           darwin
+
+description         Kyoto Tycoon is a lightweight database server.
+
+long_description    \
+    Kyoto Tycoon is a lightweight database server  with  auto  expiration \
+    mechanism,  which  is  useful  to  handle  cache  data   of   various \
+    applications.  Kyoto Tycoon is also a package of network interface to \
+    the DBM called Kyoto Cabinet. Though the DBM has high performance and \
+    high concurrency,  you might bother in case that  multiple  processes \
+    share the same database,  or remote processes  access  the  database. \
+    Thus, Kyoto Tycoon is provided for concurrent and remote  connections \
+    to Kyoto Cabinet.  Kyoto Tycoon is composed  of  the  server  process \
+    managing  multiple  databases  and  its  access  library  for  client \
+    applications.
+
+homepage            http://fallabs.com/${name}/
+master_sites        http://fallabs.com/${name}/pkg/
+
+checksums           md5     8895d6ebb34e568d80367cc1a9bbe0fe \
+                    sha1    d592fa0a81a31162a615e742d5f2fbc4dca73a49 \
+                    rmd160  f62ff7f8064bf0e212a41449dd3ec2ffec0bd81a
+
+patchfiles          patch-configure.diff
+
+depends_lib         port:kyotocabinet
+
+# 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
+
+universal_variant   no
+
+test.run            yes
+test.target         check
+
+variant debug conflicts devel profile description {build for debugging} {
+    configure.args-append   --enable-debug
+}
+
+variant devel conflicts debug profile description {build for development} {
+    configure.args-append   --enable-devel
+}
+
+variant profile conflicts debug devel description {build for profiling} {
+    configure.args-append   --enable-profile
+}
+
+livecheck.type      regex
+livecheck.url       ${master_sites}
+livecheck.regex     "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"


Property changes on: trunk/dports/databases/kyototycoon/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native

Added: trunk/dports/databases/kyototycoon/files/patch-configure.diff
===================================================================
--- trunk/dports/databases/kyototycoon/files/patch-configure.diff	                        (rev 0)
+++ trunk/dports/databases/kyototycoon/files/patch-configure.diff	2010-10-11 12:27:42 UTC (rev 72347)
@@ -0,0 +1,56 @@
+--- configure.orig	2010-10-11 15:45:55.000000000 +0400
++++ configure	2010-10-11 15:47:04.000000000 +0400
+@@ -2093,25 +2093,15 @@
+ # Building flags
+ MYCFLAGS="-Wall -ansi -pedantic -fPIC -fsigned-char -O2"
+ MYCXXFLAGS="-Wall -fPIC -fsigned-char -O2"
+-MYCPPFLAGS="-I. -I\$(INCLUDEDIR) -I$HOME/include -I/usr/local/include"
++MYCPPFLAGS="-I. -I\$(INCLUDEDIR)"
+ MYCPPFLAGS="$MYCPPFLAGS -DNDEBUG -D_GNU_SOURCE=1"
+ MYCPPFLAGS="$MYCPPFLAGS -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D__EXTENSIONS__"
+-MYLDFLAGS="-L. -L\$(LIBDIR) -L$HOME/lib -L/usr/local/lib"
++MYLDFLAGS="-L. -L\$(LIBDIR)"
+ MYCMDLDFLAGS=""
+ MYRUNPATH="\$(LIBDIR)"
+ MYLDLIBPATHENV="LD_LIBRARY_PATH"
+ MYPOSTCMD="true"
+ 
+-# Building paths
+-PATH="$PATH:$HOME/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin"
+-PATH="$PATH:/opt/SUNWspro/bin:/usr/ccs/bin:/usr/xpg4/bin:/usr/xpg6/bin:/usr/ucb"
+-CPATH="$HOME/include:/usr/local/include:$CPATH"
+-LIBRARY_PATH="$HOME/lib:/usr/local/lib:$LIBRARY_PATH"
+-LD_LIBRARY_PATH="$HOME/lib:/usr/local/lib:$LD_LIBRARY_PATH"
+-PKG_CONFIG_PATH="$HOME/lib/pkgconfig:/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH"
+-export PATH CPATH LIBRARY_PATH LD_LIBRARY_PATH PKG_CONFIG_PATH
+-
+-
+ 
+ #================================================================
+ # Options
+@@ -3384,25 +3374,6 @@
+ test -n "$CPPFLAGS" && MYCPPFLAGS="$CPPFLAGS $MYCPPFLAGS"
+ test -n "$LDFLAGS" && MYLDFLAGS="$LDFLAGS $MYLDFLAGS"
+ 
+-# System-depending optimization
+-printf 'checking for 64-bit availability... '
+-if printf 'main() {}' | $CC -xc -m64 -o /dev/null - >/dev/null 2>&1
+-then
+-  MYCFLAGS="-m64 $MYCFLAGS"
+-  MYCXXFLAGS="-m64 $MYCXXFLAGS"
+-  printf 'yes\n'
+-else
+-  printf 'no\n'
+-fi
+-printf 'checking whether the CPU is i686... '
+-if uname -a | egrep ' i686' >/dev/null
+-then
+-  MYCXXFLAGS="-march=i686 $MYCXXFLAGS"
+-  printf 'yes\n'
+-else
+-  printf 'no\n'
+-fi
+-
+ # Underlying libraries
+ 
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lc" >&5
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101011/a9f500e4/attachment.html>


More information about the macports-changes mailing list