[63276] users/anddam

and.damore at macports.org and.damore at macports.org
Sun Jan 31 03:55:07 PST 2010


Revision: 63276
          http://trac.macports.org/changeset/63276
Author:   and.damore at macports.org
Date:     2010-01-31 03:55:04 -0800 (Sun, 31 Jan 2010)
Log Message:
-----------
added wip files for wordgrinder into user dir

Added Paths:
-----------
    users/anddam/wordgrinder-wip/
    users/anddam/wordgrinder-wip/Portfile
    users/anddam/wordgrinder-wip/patch-pmfile.diff

Added: users/anddam/wordgrinder-wip/Portfile
===================================================================
--- users/anddam/wordgrinder-wip/Portfile	                        (rev 0)
+++ users/anddam/wordgrinder-wip/Portfile	2010-01-31 11:55:04 UTC (rev 63276)
@@ -0,0 +1,35 @@
+# $Id$
+PortSystem 1.0
+
+name                wordgrinder
+version             0.3.3
+categories          editors
+platforms           darwin
+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.
+homepage            http://wordgrinder.sourceforge.net/
+master_sites        sourceforge:wordgrinder
+checksums           md5     1ae3bcf2fc4ee027bdd9518a73733505 \
+                    sha1    8a15b99872ffd7317e0c654ab74157c0bc1164fa \
+                    rmd160  939dde7b35964e7ba41898eee5fdedaa5396d60d
+
+use_bzip2           yes
+depends_lib         port:lua \
+                    port:lua-luafilesystem \
+                    port:ncursesw
+
+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
+build.args          -v
+#build.env-append    LIBRARY_PATH=${prefix}/lib
+destroot {
+    }
\ No newline at end of file


Property changes on: users/anddam/wordgrinder-wip/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native

Added: users/anddam/wordgrinder-wip/patch-pmfile.diff
===================================================================
--- users/anddam/wordgrinder-wip/patch-pmfile.diff	                        (rev 0)
+++ users/anddam/wordgrinder-wip/patch-pmfile.diff	2010-01-31 11:55:04 UTC (rev 63276)
@@ -0,0 +1,58 @@
+--- pmfile.orig	2010-01-30 16:19:08.000000000 +0100
++++ pmfile	2010-01-30 16:20:40.000000000 +0100
+@@ -19,7 +19,7 @@
+ -- Where do you want WordGrinder installed? By default, it goes into your
+ -- home directory.
+ 
+-PREFIX = HOME
++PREFIX = "@@DESTROOT@@@@PREFIX@@"
+ -- PREFIX = "/usr/local"
+ 
+ -- What build flags do you want to use? (Not including -g or -Os, which are
+@@ -27,7 +27,8 @@
+ 
+ CBUILDFLAGS = {
+ 	'-Wall',
+-	'--std=c99'
++	'--std=c99',
++	'-L@@PREFIX@@/lib'
+ }
+ 
+ -- Any other build options go in these three sections. Note the lack of -l, -D
+@@ -45,8 +46,9 @@
+ }
+ 	
+ CINCLUDES = {
++	"@@PREFIX@@/include",
+-	"/usr/include/ncursesw",
+-	"/usr/include/lua5.1",
++	"@@PREFIX@@/include/ncursesw",
++	"@@PREFIX@@/include/lua5.1",
+ 	"src/c"
+ }
+ 
+@@ -215,7 +216,7 @@
+ 	CLIBRARIES = {
+ 		PARENT,
+ 		'ncursesw',
+-		'lua5.1'
++		'lua'
+ 	}
+ }
+ 
+@@ -369,9 +370,12 @@
+ install = simple {
+ 	outputs = {"dummy"},
+ 	command = {
+-		"install -D -m 755 %in[1]% %PREFIX%/bin/wordgrinder",
+-		"install -D -m 644 %in[2]% %PREFIX%/man/man1/wordgrinder.1",
+-		"install -D -m 644 %in[3]% %PREFIX%/share/doc/wordgrinder/README.wg"
++		"install -d -m 755         %PREFIX%/bin",
++		"install    -m 755 %in[1]% %PREFIX%/bin/wordgrinder",
++		"install -d -m 755         %PREFIX%/share/man/man1",
++		"install    -m 644 %in[2]% %PREFIX%/share/man/man1/wordgrinder.1",
++		"install -d -m 755         %PREFIX%/share/doc/wordgrinder",
++		"install    -m 644 %in[3]% %PREFIX%/share/doc/wordgrinder/README.wg"
+ 	},
+ 	
+ 	wordgrinder_release_exe,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100131/dca10252/attachment.html>


More information about the macports-changes mailing list