Changeset 63277


Ignore:
Timestamp:
Jan 31, 2010, 12:11:50 PM (10 years ago)
Author:
and.damore@…
Message:

Fixed wordgrinder build on Snow Leopard

Location:
trunk/dports/editors/wordgrinder
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/editors/wordgrinder/Portfile

    r63246 r63277  
    99description         WordGrinder, lightweight character-cell word processor designed for the console
    1010long_description    WordGrinder is a light-weight character-cell word processor designed for text\
    11                                         entry on the console, supporting Unicode and styled text. It provides a clean,\
    12                                         easy-to-use interface that gets out of your way and get the job done.
     11                    entry on the console, supporting Unicode and styled text. It provides a clean,\
     12                    easy-to-use interface that gets out of your way and get the job done.
    1313homepage            http://wordgrinder.sourceforge.net/
    1414master_sites        sourceforge:wordgrinder
     
    1717                    rmd160  939dde7b35964e7ba41898eee5fdedaa5396d60d
    1818
    19 use_bzip2                       yes
     19use_bzip2           yes
    2020depends_lib         port:lua \
    21                                         port:lua-luafilesystem \
    22                                         port:ncursesw
     21                    port:lua-luafilesystem \
     22                    port:ncursesw
    2323
    24 patchfiles                      patch-pmfile.diff
     24patchfiles          patch-pmfile.diff
    2525post-patch {
    26         reinplace "s|@@DESTROOT@@|${destroot}|g" ${worksrcpath}/pmfile
    27         reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/pmfile
    28         }
    29 use_configure           no
    30 build.cmd                       ./pm
    31 build.target            install
     26    reinplace "s|@@DESTROOT@@|${destroot}|g" ${worksrcpath}/pmfile
     27    reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/pmfile
     28    }
     29use_configure       no
     30build.cmd           ./pm
     31build.target        install
     32build.args          -v
     33#build.env-append    LIBRARY_PATH=${prefix}/lib
    3234destroot {
    33         }
     35    }
  • trunk/dports/editors/wordgrinder/files/patch-pmfile.diff

    r63246 r63277  
    1616-       '--std=c99'
    1717+       '--std=c99',
    18 +       '-L/opt/local/lib'
     18+       '-L@@PREFIX@@/lib'
    1919 }
    2020 
    2121 -- Any other build options go in these three sections. Note the lack of -l, -D
    22 @@ -45,8 +46,8 @@
     22@@ -45,8 +46,9 @@
    2323 }
    2424       
    2525 CINCLUDES = {
     26+       "@@PREFIX@@/include",
    2627-       "/usr/include/ncursesw",
    2728-       "/usr/include/lua5.1",
Note: See TracChangeset for help on using the changeset viewer.