# $Id: Portfile,v 1.3 2004/06/01 19:59:41 rshaw Exp $ PortSystem 1.0 name ihook version 1.0.2 categories aqua maintainers rshaw@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/ set appName iHook distname ${appName}-${version} checksums md5 32665aa7e4fec14fb060bb9205ebac7b platforms darwin use_configure no 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} }