[50107] trunk/base/src/package1.0/portmpkg.tcl
jmr at macports.org
jmr at macports.org
Sat Apr 25 06:25:20 PDT 2009
Revision: 50107
http://trac.macports.org/changeset/50107
Author: jmr at macports.org
Date: 2009-04-25 06:25:18 -0700 (Sat, 25 Apr 2009)
Log Message:
-----------
fix mpkg target to cope with namespace encapsulation
Modified Paths:
--------------
trunk/base/src/package1.0/portmpkg.tcl
Modified: trunk/base/src/package1.0/portmpkg.tcl
===================================================================
--- trunk/base/src/package1.0/portmpkg.tcl 2009-04-25 12:53:12 UTC (rev 50106)
+++ trunk/base/src/package1.0/portmpkg.tcl 2009-04-25 13:25:18 UTC (rev 50107)
@@ -137,9 +137,9 @@
system "cp -PR ${pkgpath} ${mpkgpath}/Contents/Packages/"
lappend dependencies ${portname}-${portversion}.pkg
- write_PkgInfo ${mpkgpath}/Contents/PkgInfo
+ portpkg::write_PkgInfo ${mpkgpath}/Contents/PkgInfo
mpkg_write_info_plist ${mpkgpath}/Contents/Info.plist $portname $portversion $portrevision $prefix $dependencies
- write_description_plist ${mpkgpath}/Contents/Resources/Description.plist $portname $portversion $description
+ portpkg::write_description_plist ${mpkgpath}/Contents/Resources/Description.plist $portname $portversion $description
# long_description, description, or homepage may not exist
foreach variable {long_description description homepage} {
if {![info exists $variable]} {
@@ -148,7 +148,7 @@
set pkg_$variable [set $variable]
}
}
- write_welcome_html ${mpkgpath}/Contents/Resources/Welcome.html $portname $portversion $pkg_long_description $pkg_description $pkg_homepage
+ portpkg::write_welcome_html ${mpkgpath}/Contents/Resources/Welcome.html $portname $portversion $pkg_long_description $pkg_description $pkg_homepage
file copy -force -- [getportresourcepath $porturl "port1.0/package/background.tiff"] ${mpkgpath}/Contents/Resources/background.tiff
return 0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090425/6ba2888d/attachment.html>
More information about the macports-changes
mailing list