Ticket #13938: Portfile-netpbm.diff

File Portfile-netpbm.diff, 789 bytes (added by ryandesign (Ryan Carsten Schmidt), 16 years ago)
  • Portfile

     
    44
    55name            netpbm
    66version         10.26.48
     7revision        1
    78categories      graphics
    89maintainers    mas openmaintainer
    910description     Image manipulation
     
    4546        mv bin/doc.url misc/* share/netpbm &&
    4647        mv man share &&
    4748        rm -rf README VERSION config_template link misc pkginfo share/man/web"
     49    set new_library [file readlink ${destroot}${prefix}/lib/libnetpbm.dylib]
     50    foreach old_library {pbm pgm pnm ppm} {
     51        ln -s ${new_library} ${destroot}${prefix}/lib/lib${old_library}.dylib
     52    }
    4853}
    4954
    5055# "Netpbm has a sophisticated, rather novel system of releasing source code"