---
name: ru-fortune-bashorgru
version: 20080903
origin: russian/fortune-bashorgru
comment: Fortunes from bash.org.ru and freebsd.rusnet.org.ru/bash
arch: freebsd:9:x86:64
www: http://bash.org.ru
maintainer: ports@FreeBSD.org
prefix: /usr/local
licenselogic: single
flatsize: 11514346
desc: |
  This package contains fortune files made from popular russian site bash.org.ru
  and from another site, http://freebsd.rusnet.org.ru/bash.
  Also it contains example script to keep your bash.org.ru fortunes up to date.

  WWW: http://bash.org.ru
categories: [russian]
files:
  /usr/local/share/examples/fortune-bashorgru/fortune-update.py: 6a257278b4db7ff368e77bb768e7ad0751a25cbdf15e64c598a8e287a45db004
  /usr/local/share/games/fortune/ru_RU.KOI8-R/fortune-bashorgru: 6f3340b77f0e55a1a2096fcfc2c79bdf80657e14d2b17e544318e99b6a50ea25
  /usr/local/share/games/fortune/ru_RU.KOI8-R/fortune-bashorgru-freebsd: c0ef589408e1a46d1fb4514ecb234d1ea43a5622022b21ed877e3343f232556c
  /usr/local/share/games/fortune/ru_RU.KOI8-R/fortune-bashorgru-freebsd.dat: e7b1016084abbefce1edd62b8e18bb88493017e3f2832be03355ef001b2b40ab
  /usr/local/share/games/fortune/ru_RU.KOI8-R/fortune-bashorgru.dat: 6360b04ba1a16862c137ffe3cd2632ac28a600a4b279da283671ad4d7941127c
  /usr/local/share/games/fortune/ru_RU.UTF-8/fortune-bashorgru: b192553c05d2996ab6ec4d2e58a0ac1028e0ff6b0fdbd5726ba72680a23a205d
  /usr/local/share/games/fortune/ru_RU.UTF-8/fortune-bashorgru-freebsd: 41e5254929fcb5597b621230fb7595ff2988c69f76df2abb63d403340216b275
  /usr/local/share/games/fortune/ru_RU.UTF-8/fortune-bashorgru-freebsd.dat: 0827fd7440685d8f310e161832b6e7909be7cb74ae40e3b341ba64202f202444
  /usr/local/share/games/fortune/ru_RU.UTF-8/fortune-bashorgru.dat: 3e6dc71ea8d7c87d5f524191ad9bf4c86418632477e968fad908bee4a4c13bcb
directories:
  /usr/local/share/games/fortune/ru_RU.UTF-8/: y
  /usr/local/share/games/fortune/ru_RU.KOI8-R/: y
  /usr/local/share/games/fortune/: y
  /usr/local/share/games/: y
  /usr/local/share/examples/fortune-bashorgru/: y
scripts:
  install: |
    #!/bin/sh
    # $FreeBSD: /tmp/pcvs/ports/russian/fortune-bashorgru/pkg-install,v 1.1 2007-04-20 12:13:55 miwi Exp $
    #

    if [ "$2" != "PRE-INSTALL" ]; then
        exit 0
    fi

    if [ ! -x "/usr/games/strfile" ]; then
        echo ""
        echo "You must have the ``games'' distribution installed to use this port."
        echo ""
        exit 1
    fi
message: |2

  Usage (if you are using utf-8):
  /usr/games/fortune /usr/local/share/games/fortune/ru_RU.UTF-8
  or (if you are using koi8-r)
  /usr/games/fortune /usr/local/share/games/fortune/ru_RU.KOI8-R

  Example script to keep your fortune up to date placed in
  /usr/local/share/examples/fortune-bashorgru/
