| 95 | |
| 96 | # rename the header macros to the old structure |
| 97 | reinplace -W ${destroot}${prefix}/include/freetype2/config \ |
| 98 | "s|\<|\<freetype/|" ftheader.h |
| 99 | # except the <config/" stuff |
| 100 | reinplace -W ${destroot}${prefix}/include/freetype2/config \ |
| 101 | "s|\<freetype/config|\<config|" ftheader.h |
| 102 | # make a directory and move headers |
| 103 | xinstall -d ${destroot}${prefix}/include/freetype2/freetype |
| 104 | exec bash -c \ |
| 105 | "mv ${destroot}${prefix}/include/freetype2/*.h ${destroot}${prefix}/include/freetype2/freetype" |
| 106 | # except the ft2build.h! |
| 107 | file rename ${destroot}${prefix}/include/freetype2/freetype/ft2build.h \ |
| 108 | ${destroot}${prefix}/include/freetype2/ft2build.h |