[55276] trunk/dports/sysutils/MacPorts/Portfile

jmr at macports.org jmr at macports.org
Fri Aug 7 18:38:57 PDT 2009


Revision: 55276
          http://trac.macports.org/changeset/55276
Author:   jmr at macports.org
Date:     2009-08-07 18:38:56 -0700 (Fri, 07 Aug 2009)
Log Message:
-----------
update MacPorts port to 1.8.0-beta1

Modified Paths:
--------------
    trunk/dports/sysutils/MacPorts/Portfile

Modified: trunk/dports/sysutils/MacPorts/Portfile
===================================================================
--- trunk/dports/sysutils/MacPorts/Portfile	2009-08-08 01:28:59 UTC (rev 55275)
+++ trunk/dports/sysutils/MacPorts/Portfile	2009-08-08 01:38:56 UTC (rev 55276)
@@ -3,7 +3,7 @@
 PortSystem          1.0
 
 name                MacPorts
-version             1.7.1
+version             1.8.0-beta1
 
 categories          sysutils
 platforms           darwin freebsd
@@ -15,12 +15,12 @@
    management of freely available software on Mac OS X 10.3 or newer systems.
 
 homepage            http://www.macports.org
-master_sites        macports:${distname}
+master_sites        macports:testing
 use_bzip2           yes
 
-checksums           md5     2c5be5d03bb15b11774b2193131a0ce6 \
-                    sha1    a989e7623c258800ef84cb5b0387bff3ad148457 \
-                    rmd160  3e7f6b3f91f11aeba97fbfb8c8e23788b664f44c
+checksums           md5     b965007464602783338a9e2d7e71cae9 \
+                    sha1    e3e5ce02b77b94e9350ad72cf2e188c861c44964 \
+                    rmd160  0eb962ef88f95a8f52a3ed61f7a865ab71b0e306
 
 pre-fetch {
    if {${prefix} != {/opt/local}} {
@@ -40,10 +40,20 @@
 configure.cppflags
 configure.ldflags
 
+compiler.cpath
+compiler.library_path
+
 # MacPorts' configure removes ${prefix}/bin from $PATH,
 # so better do not use ccache to avoid problems
 configure.ccache no
 
+post-destroot {
+    # only install .default versions of config files
+    delete ${destroot}${prefix}/etc/macports/macports.conf
+    delete ${destroot}${prefix}/etc/macports/sources.conf
+    delete ${destroot}${prefix}/etc/macports/variants.conf
+}
+
 set resources_scripts ${workpath}/${name}-${version}.pkg/Contents/Resources
 set resources_lang ${workpath}/${name}-${version}.pkg/Contents/Resources
 
@@ -54,7 +64,6 @@
     }
     file copy -force -- ${worksrcpath}/portmgr/dmg/ReadMe.rtf ${resources_lang}
     file copy -force -- ${worksrcpath}/portmgr/dmg/License.html ${resources_lang}
-    file copy -force -- ${worksrcpath}/portmgr/dmg/preflight ${resources_scripts}
     file copy -force -- ${worksrcpath}/portmgr/dmg/postflight ${resources_scripts}
     file copy -force -- ${worksrcpath}/portmgr/dmg/InstallationCheck ${resources_scripts}
     file copy -force -- ${worksrcpath}/portmgr/dmg/InstallationCheck.strings ${resources_lang}
@@ -63,12 +72,8 @@
 }
 
 platform darwin 7 {
-    post-pkg {
-        global resources_scripts resources_lang
-        reinplace "s|__XVERS__|10.3|" ${resources_lang}/ReadMe.rtf \
-            ${resources_lang}/InstallationCheck.strings
-        reinplace "s|or newer ||" ${resources_lang}/Welcome.html
-        reinplace "s|__DARWINVERS__|7|" ${resources_scripts}/InstallationCheck
+    pre-fetch {
+        return -code error "$name $version does not work on Panther."
     }
 }
 
@@ -142,18 +147,6 @@
     configure.args-append SHLIB_LDFLAGS='-arch ppc -arch i386'
 }
 
-platform darwin 10 powerpc {
-    pre-fetch {
-        return -code error "Unavailable OS not supported"
-   }
-}
-
-platform darwin 10 i386 {
-    pre-fetch {
-        return -code error "Unavailable OS not supported"
-   }
-}
-
 destroot.violate_mtree yes
 destroot.keepdirs    ${destroot}${prefix}/include \
                      ${destroot}${prefix}/lib \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090807/5e5eb58f/attachment-0001.html>


More information about the macports-changes mailing list