[26329] trunk/dports/gnustep/GNUMail/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Tue Jun 19 14:20:41 PDT 2007


Revision: 26329
          http://trac.macosforge.org/projects/macports/changeset/26329
Author:   yves at macports.org
Date:     2007-06-19 14:20:40 -0700 (Tue, 19 Jun 2007)

Log Message:
-----------
Fix a destroot bug because the port uses a deprecated installation variable

Modified Paths:
--------------
    trunk/dports/gnustep/GNUMail/Portfile

Modified: trunk/dports/gnustep/GNUMail/Portfile
===================================================================
--- trunk/dports/gnustep/GNUMail/Portfile	2007-06-19 21:17:05 UTC (rev 26328)
+++ trunk/dports/gnustep/GNUMail/Portfile	2007-06-19 21:20:40 UTC (rev 26329)
@@ -5,6 +5,7 @@
 
 name		GNUMail
 version		1.2.0pre3
+revision    1
 platforms	darwin
 maintainers	yves at macports.org
 description	Fully featured mail application using GNUStep or Cocoa.
@@ -21,17 +22,33 @@
 worksrcdir     ${name}
 
 post-patch {
-    set bundlepath ${worksrcpath}/Bundles
+   cd ${worksrcpath}/Bundles
    foreach i { Advanced Colors Fonts MIME Receiving Sending Viewing } {
         reinplace "s|lGNUMail|lGNUMail -lPantomime -lAddresses -lAddressView|g" \
-            $bundlepath/$i/GNUmakefile
+            $i/GNUmakefile
     }
     foreach i { Account Compose Import } {
         reinplace "s|lGNUMail|lGNUMail -lAddresses -lAddressView|g" \
-            $bundlepath/$i/GNUmakefile
+            $i/GNUmakefile
     }
     reinplace "s|lGNUMail|lGNUMail -lAddressView|g" \
-            $bundlepath/Filtering/GNUmakefile
+            Filtering/GNUmakefile
+    reinplace "s|\$(GNUSTEP_INSTALLATION_DIR)|${destroot}${prefix}/GNUstep/Local|g" \
+		Account/GNUmakefile \
+		Advanced/GNUmakefile \
+		Clock/GNUmakefile \
+		Colors/GNUmakefile \
+		Compose/GNUmakefile \
+		Emoticon/GNUmakefile \
+		Face/GNUmakefile \
+		Filtering/GNUmakefile \
+		Fonts/GNUmakefile \
+		Import/GNUmakefile \
+		MIME/GNUmakefile \
+		PGP/GNUmakefile \
+		Receiving/GNUmakefile \
+		Sending/GNUmakefile \
+		Viewing/GNUmakefile
 }
 
 build.args-append LINK_AGAINST_ALL_LIBS=yes    

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070619/2e128154/attachment.html


More information about the macports-changes mailing list