# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
PortGroup active_variants 1.1
PortGroup conflicts_build 1.0
github.setup htcondor htcondor 8_6_0 V
version [strsed ${github.version} g/_/\./]
categories science parallel net
specialized workload management system for compute-intensive jobs
HTCondor is a specialized workload management system for compute-intensive \
jobs. Like other full-featured batch systems, HTCondor provides a job \
queueing mechanism, scheduling policy, priority scheme, resource monitoring, \
and resource management. Users submit their serial or parallel jobs to \
HTCondor, HTCondor places them into a queue, chooses when and where to run \
the jobs based upon a policy, carefully monitors their progress, and \
ultimately informs the user upon completion.
homepage http://research.cs.wisc.edu/htcondor
default_variants +personal +kerberos
description "configure your computer as a one-node personal Condor pool" {
add_users condor group=condor
startupitem.start "${prefix}/sbin/condor_master -f"
startupitem.stop "${prefix}/sbin/condor_off -all -master"
set pythons_suffixes {27 34}
if {![variant_isset python34]} {
default_variants +python27
foreach s ${pythons_suffixes} {
lappend pythons_ports python${s}
configure.args-append -DWITH_PYTHON_BINDINGS:BOOL="0" -DWITH_KRB5:BOOL="0"
foreach s ${pythons_suffixes} {
set v [string index ${s} 0].[string index ${s} 1]
set i [lsearch -exact ${pythons_ports} ${p}]
set c [lreplace ${pythons_ports} ${i} ${i}]
set d ${frameworks_dir}/Python.framework/Versions/${v}/lib/python${v}