[131311] trunk/dports/sysutils/beanstalkd/Portfile

khindenburg at macports.org khindenburg at macports.org
Thu Jan 8 18:50:27 PST 2015


Revision: 131311
          https://trac.macports.org/changeset/131311
Author:   khindenburg at macports.org
Date:     2015-01-08 18:50:27 -0800 (Thu, 08 Jan 2015)
Log Message:
-----------
beanstalkd: update to 1.10 - use github - part of patch from #36789

Modified Paths:
--------------
    trunk/dports/sysutils/beanstalkd/Portfile

Modified: trunk/dports/sysutils/beanstalkd/Portfile
===================================================================
--- trunk/dports/sysutils/beanstalkd/Portfile	2015-01-09 02:12:52 UTC (rev 131310)
+++ trunk/dports/sysutils/beanstalkd/Portfile	2015-01-09 02:50:27 UTC (rev 131311)
@@ -1,10 +1,11 @@
 # $Id$
 
 PortSystem 1.0
+PortGroup               github 1.0
 
-name                    beanstalkd
-version                 1.4.6
-revision                4
+github.setup            kr beanstalkd 1.10 v
+
+license                 MIT
 description             a fast, distributed, in-memory workqueue service
 long_description        \
         beanstalkd is a fast, distributed, in-memory workqueue service. \
@@ -14,24 +15,21 @@
 maintainers             nomaintainer
 categories              sysutils
 platforms               darwin
-homepage                http://xph.us/software/beanstalkd/
-master_sites            http://xph.us/dist/beanstalkd/
-checksums               md5 3dbbb64a6528efaaaa841ea83b30768e \
-                        sha1 1ee0d731e22aa45fb22e816f6e364913595f6e65 \
-                        rmd160 f1641f15b32731f19a39721d8b37da940a145672
 
-patchfiles              patch-configure.diff patch-dprintf.diff
-patch.pre_args          -p1
+checksums               rmd160  a5ac5261b14092b087747500324753df01c11f26 \
+                        sha256  9d8119ac782c2d699842020fd6776eca21afa199b046884bbb2f3e01037b1026
 
-depends_build           port:gmake
+patchfiles              patch-Makefile.diff
 
-depends_lib             port:libevent1
+use_configure           no
 
-configure.args          --with-event=${prefix}
+build.args              PREFIX=${prefix} \
+                        CC="${configure.cc} [get_canonical_archflags cc]"
 
-if {[string match *clang* ${configure.compiler}]} {
-    configure.cflags-append -Wno-error=gnu
-}
+eval destroot.args      ${build.args}
 
+test.run                yes
+test.target             check
+
 startupitem.create      yes
 startupitem.executable  ${prefix}/bin/beanstalkd -u nobody
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150108/a76671df/attachment.html>


More information about the macports-changes mailing list