[56467] trunk/dports/sysutils/isightcapture/Portfile
ryandesign at macports.org
ryandesign at macports.org
Fri Aug 28 01:58:31 PDT 2009
Revision: 56467
http://trac.macports.org/changeset/56467
Author: ryandesign at macports.org
Date: 2009-08-28 01:58:31 -0700 (Fri, 28 Aug 2009)
Log Message:
-----------
isightcapture: finally use "use_dmg yes"
Modified Paths:
--------------
trunk/dports/sysutils/isightcapture/Portfile
Modified: trunk/dports/sysutils/isightcapture/Portfile
===================================================================
--- trunk/dports/sysutils/isightcapture/Portfile 2009-08-28 08:56:29 UTC (rev 56466)
+++ trunk/dports/sysutils/isightcapture/Portfile 2009-08-28 08:58:31 UTC (rev 56467)
@@ -12,7 +12,7 @@
homepage http://www.intergalactic.de/pages/iSight.html
master_sites http://www.intergalactic.de/pages/iSight_files/
distname ${name}${version2}
-extract.suffix .dmg
+use_dmg yes
description captures a frame from an iSight camera and saves it \
to a file
@@ -27,26 +27,14 @@
sha1 038cc8852641c4ca10f4960eb30d508a0e9b99c1 \
rmd160 fcbfc6bf0dd08d3b8a4a268378a57b54a5bfd82e
-set dmg_mount /tmp/${name}-${version}
-
-extract {
- file mkdir ${dmg_mount}
- system "hdiutil attach ${distpath}/${distname}${extract.suffix} -private -nobrowse -mountpoint ${dmg_mount}"
-}
-
use_configure no
build {}
destroot {
- xinstall -m 755 ${dmg_mount}/${name} ${destroot}${prefix}/bin
+ xinstall -m 755 -W ${worksrcpath} ${name} ${destroot}${prefix}/bin
}
-post-destroot {
- system "hdiutil detach ${dmg_mount}"
- file delete -force ${dmg_mount}
-}
-
default_variants +universal
variant universal {}
pre-fetch {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090828/cfff1c06/attachment-0001.html>
More information about the macports-changes
mailing list