a project to simplify installation of open source software
on Mac OS X and Darwin
# $Id: Portfile 21857 2007-02-10 16:53:48Z rhwood@macports.org $
PortSystem 1.0
name radassist
version 0.9.6rc3
revision 2
categories aqua
maintainers nomaintainer@macports.org
description An Aqua wrapper for the radmind command-line clients
long_description The Radmind Assistant provides a point-and-click \
interface to create radmind loadsets and update \
radmind clients.
platforms darwin
homepage http://rsug.itd.umich.edu/software/radmind
master_sites ${homepage}/files/
checksums md5 f7e280de763ef0eef5f7d30815ae7182
depends_lib path:${prefix}/sbin/radmind:radmind \
path:/Applications/MacPorts/iHook.app:ihook
post-patch {
file copy ${filespath}/patch-darwinports.in ${workpath}/patch-darwinports
reinplace "s|@PREFIX@|${prefix}|g" ${workpath}/patch-darwinports
system "[command patch] < \"${workpath}/patch-darwinports\""
}
use_configure no
build.target install
destroot {
cd ${worksrcpath}
set appPath ${destroot}/Applications/MacPorts
xinstall -d -m 0755 ${appPath}
set appName "Radmind Assistant"
system "cp -R 'tmp/${appName}.app' '${appPath}/${appName}.app'"
destroot.keepdirs ${destroot}${prefix}/var/radmind/server_file_backup
}