Download and Install brs version 4.03 on Mac OS X
Friday the 10th of October, 2008

    version 4.03

      View the most recent changes for the brs port at: brs.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for brs.
      The raw portfile for brs 4.03 is located here:
      http://brs.darwinports.com/dports/textproc/brs/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/brs
      Google
      Web Darwinports.com



      # $Id: Portfile 30256 2007-10-23 02:26:16Z jmpp macports.org $

      PortSystem 1.0

      Name: brs
      Version: 4.03
      revision 1
      Category: textproc
      Platform: darwin
      Maintainers: nomaintainer
      Description: An interactive King James Bible
      Long Description: Bible Retrieval System (BRS) consists of a textual database of the Authorized ("King James") Version of the Old and New Testaments, a set of libraries for finding and retrieving text, and a program ("bible") which uses the libraries to retrieve Bible passages given references on the command line or from standard input.

      Homepage: http://mirrors.playboy.com/misc/
      master_sites http://mirrors.playboy.com/misc/:bib http://www.unknown.nu/ports/:bib ftp://mirrors.playboy.com/misc/:bib freebsd:bib http://www.ibiblio.org/pub/packages/irc/eggdrop/users/bass/:egg
      distfiles bible.data.tar.bz2:bib bible.tar.bz2:bib bible_brs.tcl.gz:egg
      checksums bible.data.tar.bz2 md5 03eac0c7922a8190a5077ac65746c30b bible.tar.bz2 09ac9fe31a9ada1bcb91a16275243761 bible_brs.tcl.gz md5 1bcbd7305dd6fe872d2c2087d7bd9790
      use_bzip2 yes
      patchfiles patch-Makefile patch-bible.1 patch-brl.c patch-tsl.c

      pre-extract {
      file mkdir ${worksrcpath}
      file copy ${distpath}/bible_brs.tcl.gz ${worksrcpath}
      system "cd ${worksrcpath} && gunzip bible_brs.tcl.gz"
      }
      extract.only bible.data.tar.bz2 bible.tar.bz2
      extract.dir ${worksrcpath}

      post-patch {
      reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/brl.c ${worksrcpath}/bible.1
      reinplace "s|/usr/home/users/bass/eggdrop/bible|${prefix}/bin/bible|g" ${worksrcpath}/bible_brs.tcl
      }

      use_configure no

      build.target
      build.args PREFIX=${prefix}

      destroot.destdir PREFIX=${destroot}${prefix}
      post-destroot {
      xinstall -m 755 -d ${destroot}${prefix}/share/eggdrop/scripts
      xinstall -m 644 ${worksrcpath}/bible_brs.tcl ${destroot}${prefix}/share/eggdrop/scripts/
      }

      platform darwin 8 {
      build.args-append LD=/usr/bin/gcc-4.0 CC=/usr/bin/gcc-4.0
      }


    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/brs
      % sudo port install brs
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching brs
      ---> Verifying checksum for brs
      ---> Extracting brs
      ---> Configuring brs
      ---> Building brs with target all
      ---> Staging brs into destroot
      ---> Installing brs
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using brs with these commands:
      %  man brs
      % apropos brs
      % which brs
      % locate brs

     Where to find more information:

    Darwin Ports



    Lightbox this page.