Ticket #12106: libxml2_catalog_in_macports_prefix.diff

File libxml2_catalog_in_macports_prefix.diff, 865 bytes (added by boeyms@…, 17 years ago)
  • textproc/libxml2/Portfile

     
    1616                      sha1 7642a52799efde2e0163d322b2aee8cd9f583268 \
    1717                      rmd160 65d0c2cef5ce40751bd72bb54462d9122558fa17
    1818depends_lib           port:libiconv port:zlib
     19post-extract {
     20    reinplace "s|/etc|${prefix}/etc|g" \
     21        ${worksrcpath}/catalog.c \
     22        ${worksrcpath}/runtest.c \
     23        ${worksrcpath}/xmlcatalog.c \
     24        ${worksrcpath}/xmllint.c \
     25        ${worksrcpath}/doc/xmlcatalog.1 \
     26        ${worksrcpath}/doc/xmllint.1
     27}
    1928configure.env         BASE_DIR=${prefix}/share/doc
    2029configure.args        --mandir=${prefix}/share/man --with-iconv=${prefix} \
    2130                        --enable-static=no \