---
name: lexter
version: 1.0.3_5
origin: games/lexter
comment: A real-time word puzzle for text terminals
arch: freebsd:9:x86:64
www: http://www.kyne.com.au/~mark/software/lexter.php
maintainer: ports@FreeBSD.org
prefix: /usr/local
licenselogic: single
flatsize: 765561
desc: |
  Lexter is a real-time word puzzle for text terminals. Arrange the
  falling letters into words to score points. It has support for
  multiple languages and dictionaries. The package contains English
  and French dictionaries, but needs a French gettext translation
  for the in game text.

  WWW: http://www.kyne.com.au/~mark/software/lexter.php
deps:
  gettext: {origin: devel/gettext, version: 0.18.1.1_1}
  libiconv: {origin: converters/libiconv, version: 1.14_1}
categories: [games]
files:
  /usr/local/bin/lexter: e46a864673a7ed5573f03a43366668df46dea0cf716d4aea594da617b79daf38
  /usr/local/man/man6/lexter.6.gz: f096236f97108037c6bc9d3263184ad91c5e14d4d470eae95337feeeb8637f15
  /usr/local/share/lexter/dict.en: e808d1d01415e9aca5da4e618bdd5096a4a1e45a6a8a334df5245ae51e8c0f1d
  /usr/local/share/lexter/dict.fr: f7821f8cfc3b398d67fdc6b03a03d50d7f3846dc67f7e110a0fc7c78e3a2e734
directories:
  /usr/local/share/lexter/: n
scripts:
  install: |
    #!/bin/sh

    FILE="/var/games/lexter.scores"
    [ "$2" != "POST-INSTALL" -o -f "$FILE" ] && exit 0

    echo "===>   Creating initial high score file $FILE"
    touch $FILE
    chown root:games $FILE
    chmod 664 $FILE
