# $Id: Portfile 63630 2010-02-11 00:14:59Z ryandesign@macports.org $

PortSystem                  1.0

name                        exec-wrapper
version                     1.0.1
revision                    4
categories                  sysutils
platforms                   darwin
maintainers                 ryandesign
license                     GPL-3
homepage                    http://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
