# -*- 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
description terminal utility for Mac OS X that eases bundling dynamic \
libraries (.dylib) inside app bundles
long_description ${name} is a small command-line programs that aims to \
make bundling .dylibs as easy as possible. It \
automatically determines which dylibs are needed by your \
program, copies these libraries inside the app bundle, \
and fixes both them and the executable to be ready for \
distribution, all this with a single command. It will \
also work if your program uses plug-ins that have \
homepage http://macdylibbundler.sourceforge.net/
master_sites sourceforge:project/macdylibbundler/macdylibbundler/${version}
checksums rmd160 e6c4f4d6f7ba340775e5af3942f0d5740b3a7152 \
sha256 65d050327df99d12d96ae31a693bace447f4115e6874648f1b3960a014362200
if {${os.platform} ne "darwin"} {
ui_error "${name} is designed for use on Darwin or OS X only."
return -code error "incompatible platform"
patchfiles patch-makefile.diff \
patch-src-DylibBundler.cpp.diff \
reinplace "s|@VERSION@|${version}|g" ${worksrcpath}/src/main.cpp
build.args CXX="${configure.cxx} ${configure.cxxflags} [get_canonical_archflags cxx]"
destroot.args PREFIX=${prefix}
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
xinstall -m 644 -W ${worksrcpath} dylibbundler.png index.html maclib.jpg ${destroot}${docdir}