Ticket #13509: isightcapture-use_dmg.diff
File isightcapture-use_dmg.diff, 1.1 KB (added by ryandesign (Ryan Carsten Schmidt), 17 years ago) |
---|
-
Portfile
10 10 homepage http://www.intergalactic.de/pages/iSight.html 11 11 master_sites http://www.intergalactic.de/pages/iSight_files/ 12 12 distname ${name}${version2} 13 extract.suffix .dmg 13 use_dmg yes 14 14 15 15 description \ 16 16 captures a frame from an iSight camera and saves it to a file … … 26 26 sha1 038cc8852641c4ca10f4960eb30d508a0e9b99c1 \ 27 27 rmd160 fcbfc6bf0dd08d3b8a4a268378a57b54a5bfd82e 28 28 29 set dmg_mount /tmp/${name}-${version}30 31 extract {32 file mkdir ${dmg_mount}33 system "hdiutil attach ${distpath}/${distname}${extract.suffix} -private -nobrowse -mountpoint ${dmg_mount}"34 }35 36 29 use_configure no 37 30 38 31 build {} 39 32 40 33 destroot { 41 xinstall -m 755 ${dmg_mount}/${name} ${destroot}${prefix}/bin34 xinstall -m 755 -W ${worksrcpath} ${name} ${destroot}${prefix}/bin 42 35 } 43 36 44 post-destroot {45 system "hdiutil detach ${dmg_mount}"46 file delete -force ${dmg_mount}47 }48 49 37 default_variants +universal 50 38 variant universal {} 51 39 pre-fetch {