[92904] trunk/dports/sysutils/MacPorts/Portfile
jmr at macports.org
jmr at macports.org
Thu May 10 07:36:53 PDT 2012
Revision: 92904
https://trac.macports.org/changeset/92904
Author: jmr at macports.org
Date: 2012-05-10 07:36:53 -0700 (Thu, 10 May 2012)
Log Message:
-----------
MacPorts port: use postinstall instead of postflight in flat pkgs (#34386)
Modified Paths:
--------------
trunk/dports/sysutils/MacPorts/Portfile
Modified: trunk/dports/sysutils/MacPorts/Portfile
===================================================================
--- trunk/dports/sysutils/MacPorts/Portfile 2012-05-10 14:34:22 UTC (rev 92903)
+++ trunk/dports/sysutils/MacPorts/Portfile 2012-05-10 14:36:53 UTC (rev 92904)
@@ -103,6 +103,7 @@
set next_major [lindex [split $macosx_deployment_target .] 0].[expr [lindex [split $macosx_deployment_target .] 1] + 1]
reinplace "s|__NEXT_XVERS__|$next_major|" ${workpath}/Distribution
reinplace "s|__VERSION__|${version}|" ${workpath}/Distribution
+ move ${package.scripts}/postflight ${package.scripts}/postinstall
} else {
file copy -force -- ${worksrcpath}/portmgr/dmg/InstallationCheck ${package.resources}
file copy -force -- ${worksrcpath}/portmgr/dmg/InstallationCheck.strings ${resources_lang}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120510/be0cfcb9/attachment-0001.html>
More information about the macports-changes
mailing list