mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
52 lines
1.8 KiB
Tcl
52 lines
1.8 KiB
Tcl
# -*- 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
|
|
|
|
PortSystem 1.0
|
|
PortGroup github 1.0
|
|
|
|
github.setup kr beanstalkd 1.13 v
|
|
github.tarball_from archive
|
|
name beanstalkd
|
|
revision 0
|
|
categories sysutils
|
|
maintainers {gmail.com:emanuele.giaquinta @exg} openmaintainer
|
|
license MIT
|
|
|
|
description a fast, distributed, in-memory workqueue service
|
|
|
|
long_description beanstalkd is a fast, distributed, in-memory workqueue \
|
|
service. Its interface is generic, but is intended for \
|
|
use in reducing the latency of page views in \
|
|
high-volume web applications by running most \
|
|
time-consuming tasks asynchronously.
|
|
|
|
checksums rmd160 914e0585a0d6e6e70cad3cffb9a85d1258ec1fca \
|
|
sha256 26292dcdc0a7011d2f8ad968612f2cd8b2ef07687224876015399ae85e9e5263 \
|
|
size 81234
|
|
|
|
use_configure no
|
|
|
|
variant universal {}
|
|
|
|
build.args CC="${configure.cc}" \
|
|
CFLAGS="${configure.cflags} [get_canonical_archflags]"
|
|
|
|
destroot.args PREFIX=${prefix}
|
|
|
|
test.run yes
|
|
test.target check
|
|
|
|
set vardir ${prefix}/var/lib/${name}
|
|
|
|
startupitem.create yes
|
|
if {[getuid] == 0} {
|
|
add_users ${name} group=${name}
|
|
startupitem.executable ${prefix}/bin/beanstalkd -b ${vardir} -u ${name}
|
|
} else {
|
|
startupitem.executable ${prefix}/bin/beanstalkd -b ${vardir}
|
|
}
|
|
|
|
post-destroot {
|
|
xinstall -o ${name} -g ${name} -d ${destroot}${vardir}
|
|
}
|
|
destroot.keepdirs ${destroot}${vardir}
|