Ticket #8957: libpng_Portfile.diff

File libpng_Portfile.diff, 681 bytes (added by pelopor@…, 19 years ago)

patch file for libpng 1.2.10 port

  • Portfile

    old new  
    6868        reinplace s|(prefix)/man|(prefix)/share/man| Makefile
    6969        reinplace s|ZLIBLIB=../zlib|ZLIBLIB=${prefix}/lib| Makefile
    7070        reinplace s|ZLIBINC=../zlib|ZLIBINC=${prefix}/include| Makefile
     71        reinplace s|@PREFIX@|@prefix@| Makefile
     72        reinplace s|@exec_prefix@|\${prefix}| scripts/libpng.pc.in
     73        reinplace s|@libdir@|\${exec_prefix}/lib| scripts/libpng.pc.in
     74        reinplace s|@includedir@|\${prefix}/include| scripts/libpng.pc.in
     75        reinplace s|@PNGLIB_MAJOR@|12| scripts/libpng.pc.in
     76        reinplace s|@PNGLIB_VERSION@|${version}| scripts/libpng.pc.in
    7177}
    7278
    7379post-destroot   {