Ticket #12401: Portfile.diff
File Portfile.diff, 2.1 KB (added by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), 17 years ago) |
---|
-
Portfile
old new 4 4 5 5 name aquaterm 6 6 version 1.0.1 7 revision 07 revision 1 8 8 categories aqua math science 9 9 maintainers davidm@astro.berkeley.edu 10 10 description AquaTerm is a viewer that displays vector graphics on Mac OS X … … 22 22 rmd160 aquaterm_src.1.0.1.tar.gz 24410589dd8c3071b6e0d5e652b7d92933d86b5f 23 23 worksrcdir . 24 24 25 patch {26 # Change default location of AquaTerm.app to avoid requiring the27 # use of AQUATERM_PATH.28 reinplace "s|AquaTerm.app|MacPorts/AquaTerm.app|g" \29 ${workpath}/aquaterm/AQTClientManager.m30 }25 #patch { 26 # # Change default location of AquaTerm.app to avoid requiring the 27 # # use of AQUATERM_PATH. 28 # reinplace "s|AquaTerm.app|MacPorts/AquaTerm.app|g" \ 29 # ${workpath}/aquaterm/AQTClientManager.m 30 #} 31 31 32 32 configure { 33 33 cd ${workpath}/${name} … … 68 68 69 69 build.type pbx 70 70 build.dir ${workpath}/${name} 71 build.target -buildstyle Deployment -target AquaTerm 72 post-build { 73 system "install_name_tool -id ${prefix}/lib/libaquaterm.1.dylib \ 74 ${workpath}/${name}/${xcodebuilddir}/AquaTerm.framework/Versions/Current/AquaTerm" 75 system "install_name_tool -change /Library/Frameworks/AquaTerm.framework/Versions/A/AquaTerm ${prefix}/lib/libaquaterm.1.dylib \ 76 ${workpath}/${name}/${xcodebuilddir}/AquaTerm.app/Contents/MacOS/AquaTerm" 77 } 71 build.target -buildstyle Deployment -target AquaTerm \ 72 DSTROOT=${destroot} \ 73 INSTALL_PATH=/Applications/MacPorts \ 74 DYLIB_INSTALL_NAME_BASE=${prefix}/Library/Frameworks 78 75 79 76 destroot { 80 77 cd ${workpath}/${name} … … 91 88 ${destroot}${prefix}/lib/libaquaterm.1.dylib" 92 89 xinstall -d -m 0755 ${destroot}/Applications/MacPorts 93 90 system "cp -R AquaTerm.app ${destroot}/Applications/MacPorts" 94 xinstall -d -m 0755 ${destroot} /Library/Frameworks95 system "cp -R AquaTerm.framework ${destroot} /Library/Frameworks"91 xinstall -d -m 0755 ${destroot}${prefix}/Library/Frameworks 92 system "cp -R AquaTerm.framework ${destroot}${prefix}/Library/Frameworks" 96 93 97 94 cd ${workpath}/adapters 98 95 xinstall -d -m 0755 ${destroot}${prefix}/share/${name}