[63246] trunk/dports/editors
and.damore at macports.org
and.damore at macports.org
Sat Jan 30 08:06:09 PST 2010
Revision: 63246
http://trac.macports.org/changeset/63246
Author: and.damore at macports.org
Date: 2010-01-30 08:06:09 -0800 (Sat, 30 Jan 2010)
Log Message:
-----------
Added wordgrinder, a Lua based console text editor
Added Paths:
-----------
trunk/dports/editors/wordgrinder/
trunk/dports/editors/wordgrinder/Portfile
trunk/dports/editors/wordgrinder/files/
trunk/dports/editors/wordgrinder/files/patch-pmfile.diff
Added: trunk/dports/editors/wordgrinder/Portfile
===================================================================
--- trunk/dports/editors/wordgrinder/Portfile (rev 0)
+++ trunk/dports/editors/wordgrinder/Portfile 2010-01-30 16:06:09 UTC (rev 63246)
@@ -0,0 +1,33 @@
+# $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
+destroot {
+ }
\ No newline at end of file
Property changes on: trunk/dports/editors/wordgrinder/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/editors/wordgrinder/files/patch-pmfile.diff
===================================================================
--- trunk/dports/editors/wordgrinder/files/patch-pmfile.diff (rev 0)
+++ trunk/dports/editors/wordgrinder/files/patch-pmfile.diff 2010-01-30 16:06:09 UTC (rev 63246)
@@ -0,0 +1,57 @@
+--- 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/opt/local/lib'
+ }
+
+ -- Any other build options go in these three sections. Note the lack of -l, -D
+@@ -45,8 +46,8 @@
+ }
+
+ CINCLUDES = {
+- "/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/20100130/0bc73c39/attachment-0001.html>
More information about the macports-changes
mailing list