Ticket #35191: kelbt-0.15.diff
File kelbt-0.15.diff, 2.1 KB (added by ryandesign (Ryan Carsten Schmidt), 12 years ago) |
---|
-
Portfile
4 4 PortSystem 1.0 5 5 6 6 name kelbt 7 version 0.1 47 version 0.15 8 8 categories lang textproc devel 9 9 platforms darwin 10 10 maintainers hhhh.org:wiml … … 20 20 21 21 homepage http://www.complang.org/kelbt/ 22 22 master_sites ${homepage} 23 checksums md5 6eeaaa79e665389d7953361d10815fb5 \24 sha1 72a2d64a65445da98bf63126203f3a00ea454067 \25 rmd160 56bf35f1fa3cd76c7e515741532cba01125788e326 23 24 checksums rmd160 baa8a9d616f2594fe0315c3b059a1286e8ac7ccc \ 25 sha256 000ae8e0906f34de13c3448f2422065e48407b6d85c61bbe51490ffdab0bc565 26 27 variant universal {} 28 27 29 # configure does substitution of CXXFLAGS but Makefile uses CFLAGS for some reason 28 30 # configure also doesn't substitute LDFLAGS 29 if {[variant_isset universal]} { 30 build.args CFLAGS="${configure.cxxflags} ${configure.universal_cxxflags}" \ 31 LDFLAGS="${configure.universal_ldflags}" 32 } else { 33 build.args CFLAGS="${configure.cxxflags} ${configure.cxx_archflags}" 34 if {[info exists configure.ld_archflags]} { 35 build.args-append LDFLAGS="${configure.ld_archflags}" 36 } else { 37 build.args-append LDFLAGS="${configure.cxx_archflags}" 38 } 39 } 31 build.args CFLAGS="${configure.cxxflags} [get_canonical_archflags cxx]" \ 32 LDFLAGS="[get_canonical_archflags ld]" 40 33 41 34 test.run yes 42 35 test.dir ${worksrcpath}/test … … 45 38 destroot.destdir prefix=${destroot}${prefix} 46 39 47 40 # TODO: Install kelbt.vim as well? 41 42 post-destroot { 43 set docdir ${prefix}/share/doc/${name} 44 xinstall -d ${destroot}${docdir} 45 xinstall -m 644 -W ${worksrcpath} \ 46 COPYING \ 47 CREDITS \ 48 ChangeLog \ 49 TODO \ 50 ${destroot}${docdir} 51 } 52 53 livecheck.type regex 54 livecheck.regex ${name}-(\[0-9.\]+)${extract.suffix}