#!/bin/sh -e

  export PREFIX="%p"
  . ./environment-helper.sh

#darwinports
  export UNSERMAKE="no"

  ./build-helper.sh install %N %v %r make -j1 install DESTDIR=%d

  [ -f %i/share/services/irc.protocol  ] && mv %i/share/services/irc.protocol  %i/share/services/konvirc.protocol
  [ -f %i/share/services/irc6.protocol ] && mv %i/share/services/irc6.protocol %i/share/services/konvirc6.protocol

  mkdir -p %i/share/doc/installed-packages
  touch %i/share/doc/installed-packages/%N
