Ticket #22416: Portfile.diff

File Portfile.diff, 1.1 KB (added by theconquerer@…, 15 years ago)

Patch for the portfile

  • Portfile

     
    2828worksrcdir          mico
    2929patch.pre_args      -p1
    3030post-patch          {
    31                        reinplace "s,@prefix@,${prefix},g" admin/mico-shld.def.in
    32                        reinplace "s,(SHARED_INSTDIR)/man,(SHARED_INSTDIR)/share/man,g" man/Makefile
    33                        reinplace "s,(SHARED_INSTDIR)/doc,(SHARED_INSTDIR)/share/doc,g" Makefile
    34                        reinplace "s,(INSTDIR)/doc,(INSTDIR)/share/doc,g" demo/MakeVars
     31                       reinplace "s,@prefix@,${prefix},g" ${worksrcpath}/admin/mico-shld.def.in
     32                       reinplace "s,(SHARED_INSTDIR)/man,(SHARED_INSTDIR)/share/man,g" ${worksrcpath}/man/Makefile
     33                       reinplace "s,(SHARED_INSTDIR)/doc,(SHARED_INSTDIR)/share/doc,g" ${worksrcpath}/Makefile
     34                       reinplace "s,(INSTDIR)/doc,(INSTDIR)/share/doc,g" ${worksrcpath}/demo/MakeVars
    3535                       system "find demo -name Makefile | xargs sed -i.bak s,\\(INSTDIR\\)/doc,\\(INSTDIR\\)/share/doc,g"
    3636                    }
    3737configure.args      --with-ssl=${prefix}