# $Id: Portfile,v 1.5 2005/08/11 21:33:15 rshaw Exp $ PortSystem 1.0 name ihook version 1.0.3 categories aqua maintainers darwinports@opendarwin.org description A graphical interface frontend for commandline executables long_description iHook is a graphical frontend for any commandline \ executable. It gives scripts a pleasant Aqua face, \ and allows script writers to provide graphical \ feedback without having to learn one of the higher \ APIs available for Mac OS X. homepage http://rsug.itd.umich.edu/software/ihook/ master_sites ${homepage}/files/ checksums md5 22e7bcc0ff6c592a7a28001adf81aca1 platforms darwin use_configure no set appName iHook pre-build { cd ${worksrcpath} system "cc -framework Security -o shookexec selfrepair.c shookexec.c" } build.type pbx build.target -buildstyle Deployment -target ${appName} destroot { cd ${worksrcpath} set appPath ${destroot}/Applications/DarwinPorts xinstall -d -m 0755 ${appPath} system "cp -R build/${appName}.app ${appPath}/${appName}.app" set docPath ${destroot}${prefix}/share/doc/${name} xinstall -d -m 0755 ${docPath} xinstall -m 0644 "${appName} Lexicon.rtf" ${docPath} xinstall -m 0644 "${appName} README.rtf" ${docPath} }