[113311] trunk/dports/_resources/port1.0/group/app-1.0.tcl
ryandesign at macports.org
ryandesign at macports.org
Wed Nov 13 06:14:03 PST 2013
Revision: 113311
https://trac.macports.org/changeset/113311
Author: ryandesign at macports.org
Date: 2013-11-13 06:14:03 -0800 (Wed, 13 Nov 2013)
Log Message:
-----------
app-1.0.tcl: create the app directory in pre-destroot instead of post-destroot so that ports can put files into it during their destroot phase
Modified Paths:
--------------
trunk/dports/_resources/port1.0/group/app-1.0.tcl
Modified: trunk/dports/_resources/port1.0/group/app-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/app-1.0.tcl 2013-11-13 14:05:47 UTC (rev 113310)
+++ trunk/dports/_resources/port1.0/group/app-1.0.tcl 2013-11-13 14:14:03 UTC (rev 113311)
@@ -157,7 +157,7 @@
platform macosx {
- post-destroot {
+ pre-destroot {
if {[tbool app.create]} {
# Ensure app.name is valid.
if {[regexp {[/]} ${app.name}]} {
@@ -167,7 +167,11 @@
# Make the app bundle directories.
xinstall -d ${destroot}${applications_dir}/${app.name}.app/Contents/MacOS \
${destroot}${applications_dir}/${app.name}.app/Contents/Resources
+ }
+ }
+ post-destroot {
+ if {[tbool app.create]} {
# Ensure app.identifier is valid.
if {[regexp -nocase {[^a-z0-9.-]} ${app.identifier}]} {
return -code error "app.identifier ${app.identifier} contains illegal characters"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131113/8afe46a6/attachment.html>
More information about the macports-changes
mailing list