# -*- 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

name                        exec-wrapper
version                     1.0.1
revision                    4
categories                  sysutils
platforms                   darwin
maintainers                 ryandesign
license                     GPL-3
supported_archs             noarch
homepage                    https://code.google.com/p/exec-wrapper/
master_sites                googlecode
use_bzip2                   yes

description                 script that creates setuid-wrappers for scripts \
                            and other executables

long_description            ${name} is a ${description}.

checksums                   md5     a476a0b2ef0bc3e81c3c6983f8c5bda6 \
                            sha1    6007929d97f81ed5e3f4d46f0a8171e2ca5e73d3 \
                            rmd160  3fde4518e7907cac1147b8bc1404243426c871c6

depends_run                 path:bin/gseq:coreutils

patchfiles                  patch-exec-wrapper.in.diff \
                            patch-which.diff \
                            patch-CC.diff

use_configure               no

build.args                  prefix=${prefix} \
                            wrappersdir=${prefix}/libexec/${name}

destroot.args               ${build.args}

universal_variant           no