Ticket #28356: Portfile-eggdrop.diff

File Portfile-eggdrop.diff, 960 bytes (added by BlackFrog1, 14 years ago)

system command converted into tcl extension

  • Portfile

    old new  
    2020use_bzip2       yes
    2121post-configure  { system "cd ${worksrcpath} && make config" }
    2222destroot.destdir DEST=${destroot}${prefix}/share/eggdrop
    23 post-destroot   { system "cd ${destroot}${prefix}/bin/ && rm ../share/eggdrop/eggdrop && ln -s ../share/eggdrop/eggdrop-${version} eggdrop && mv ../share/eggdrop/eggdrop.conf ../share/eggdrop/eggdrop.conf.sample && mv ../share/eggdrop/doc/man1/eggdrop.1 ../share/man/man1"
     23post-destroot   {
     24        delete ${destroot}${prefix}/share/eggdrop/eggdrop
     25        ln -s ../share/eggdrop/eggdrop-${version} ${destroot}${prefix}/bin/eggdrop
     26        move ${destroot}${prefix}/share/eggdrop/eggdrop.conf ${destroot}${prefix}/share/eggdrop/eggdrop.conf.sample
     27        move ${destroot}${prefix}/share/eggdrop/doc/man1/eggdrop.1 ${destroot}${prefix}/share/man/man1
    2428}
    2529platform darwin 8 {
    2630        configure.cflags-append "-DBIND_8_COMPAT"