Ticket #22778: tre2.diff
File tre2.diff, 1.0 KB (added by ryandesign (Ryan Carsten Schmidt), 15 years ago) |
---|
-
Portfile
3 3 PortSystem 1.0 4 4 name tre 5 5 version 0.8.0 6 revision 1 6 7 categories devel 7 8 platforms darwin 8 9 maintainers erickt 10 license BSD 9 11 description TRE is a lightweight POSIX compliant regular expression library 10 12 long_description TRE is a lightweight POSIX compliant regular expression library 11 13 homepage http://laurikari.net/tre/ … … 18 20 port:libiconv 19 21 test.run yes 20 22 test.target check 23 24 post-build { 25 reinplace -E {s|-arch [a-z0-9_]+||g} ${worksrcpath}/tre.pc 26 } 27 28 post-destroot { 29 set docdir ${destroot}${prefix}/share/doc/${name} 30 xinstall -d ${docdir} 31 xinstall -m 644 -W ${worksrcpath} \ 32 AUTHORS \ 33 ChangeLog \ 34 LICENSE \ 35 NEWS \ 36 README \ 37 THANKS \ 38 TODO \ 39 ${docdir} 40 }