Ignore:
Timestamp:
Sep 7, 2002, 12:44:03 AM (17 years ago)
Author:
eric
Message:

Install properly.

Location:
trunk/dports/irc/infobot
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/irc/infobot/Portfile

    r453 r547  
    99configure       {}
    1010build           {}
     11install         { system "install -o root -m 755 -d ${prefix}/bin"
     12                  set script [open "${prefix}/bin/infobot" w 0755]
     13                  puts $script "#/bin/sh"
     14                  puts $script "cd ${prefix}/share/infobot && perl infobot"
     15                  close $script
     16                  cd ${portpath}/${workdir}/${worksrcdir}
     17                  system "install -o root -m 755 -d ${prefix}/share/infobot"
     18                  system "cp -Rp * ${prefix}/share/infobot" }
     19
     20# Obtain the rather large contents list from a separate file
     21include         contents
Note: See TracChangeset for help on using the changeset viewer.