[63277] trunk/dports/editors/wordgrinder

and.damore at macports.org and.damore at macports.org
Sun Jan 31 04:11:53 PST 2010


Revision: 63277
          http://trac.macports.org/changeset/63277
Author:   and.damore at macports.org
Date:     2010-01-31 04:11:50 -0800 (Sun, 31 Jan 2010)
Log Message:
-----------
Fixed wordgrinder build on Snow Leopard

Modified Paths:
--------------
    trunk/dports/editors/wordgrinder/Portfile
    trunk/dports/editors/wordgrinder/files/patch-pmfile.diff

Modified: trunk/dports/editors/wordgrinder/Portfile
===================================================================
--- trunk/dports/editors/wordgrinder/Portfile	2010-01-31 11:55:04 UTC (rev 63276)
+++ trunk/dports/editors/wordgrinder/Portfile	2010-01-31 12:11:50 UTC (rev 63277)
@@ -8,26 +8,28 @@
 maintainers         and.damore openmaintainer
 description         WordGrinder, lightweight character-cell word processor designed for the console
 long_description    WordGrinder is a light-weight character-cell word processor designed for text\
-					entry on the console, supporting Unicode and styled text. It provides a clean,\
-					easy-to-use interface that gets out of your way and get the job done.
+                    entry on the console, supporting Unicode and styled text. It provides a clean,\
+                    easy-to-use interface that gets out of your way and get the job done.
 homepage            http://wordgrinder.sourceforge.net/
 master_sites        sourceforge:wordgrinder
 checksums           md5     1ae3bcf2fc4ee027bdd9518a73733505 \
                     sha1    8a15b99872ffd7317e0c654ab74157c0bc1164fa \
                     rmd160  939dde7b35964e7ba41898eee5fdedaa5396d60d
 
-use_bzip2			yes
+use_bzip2           yes
 depends_lib         port:lua \
-					port:lua-luafilesystem \
-					port:ncursesw
+                    port:lua-luafilesystem \
+                    port:ncursesw
 
-patchfiles			patch-pmfile.diff
+patchfiles          patch-pmfile.diff
 post-patch {
-	reinplace "s|@@DESTROOT@@|${destroot}|g" ${worksrcpath}/pmfile
-	reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/pmfile
-	}
-use_configure		no
-build.cmd			./pm
-build.target		install
+    reinplace "s|@@DESTROOT@@|${destroot}|g" ${worksrcpath}/pmfile
+    reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/pmfile
+    }
+use_configure       no
+build.cmd           ./pm
+build.target        install
+build.args          -v
+#build.env-append    LIBRARY_PATH=${prefix}/lib
 destroot {
-	}
\ No newline at end of file
+    }
\ No newline at end of file

Modified: trunk/dports/editors/wordgrinder/files/patch-pmfile.diff
===================================================================
--- trunk/dports/editors/wordgrinder/files/patch-pmfile.diff	2010-01-31 11:55:04 UTC (rev 63276)
+++ trunk/dports/editors/wordgrinder/files/patch-pmfile.diff	2010-01-31 12:11:50 UTC (rev 63277)
@@ -15,14 +15,15 @@
  	'-Wall',
 -	'--std=c99'
 +	'--std=c99',
-+	'-L/opt/local/lib'
++	'-L@@PREFIX@@/lib'
  }
  
  -- Any other build options go in these three sections. Note the lack of -l, -D
-@@ -45,8 +46,8 @@
+@@ -45,8 +46,9 @@
  }
  	
  CINCLUDES = {
++	"@@PREFIX@@/include",
 -	"/usr/include/ncursesw",
 -	"/usr/include/lua5.1",
 +	"@@PREFIX@@/include/ncursesw",
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100131/64f75b53/attachment.html>


More information about the macports-changes mailing list