---
name: news
version: 1.2
origin: sysutils/news
comment: Print news items
arch: freebsd:9:x86:64
www: UNKNOWN
maintainer: hokan@me.umn.edu
prefix: /usr/local
licenselogic: single
flatsize: 12854
desc: "Introduction\n\nNews is used to read and maintain news relevant to a local
  system.  \nTypically it is run from the .login script so it can automatically \ncheck
  for any new news items.  If it finds any, it will report,  \n\"You have news:  item1
  item2 etc...\"\n\nTo read the news, simply type \"news\".  Note, you may wish to
  type\n\"news | more\" in case the news is too long to fit on a single\nscreen.\n\nFor
  complete information on the program, see the man page.\n\n\nAdministration\n\nTo
  add news items to your system, simply copy a text file containing\nthe information
  to the news directory.  (This directory defaults to \n/var/news, but can be changed
  in the Makefile or through the\nenvironment variable, NEWS_PATH)\n"
categories: [sysutils]
files:
  /usr/local/bin/news: 6c259f86c60992c9277012808febee42cc3d6a8dd8e897563de8f1cd17b4b94e
  /usr/local/man/man1/news.1.gz: 0ad84d18a2c253e3b1b22c54f4f1a8d095016d780f365372a29445b9f21be6ec
  /usr/local/share/examples/news/news.item.sample: 1824644ae55c397f4811fc986a9079928d53c23504e156f327f1d53edbe9f75e
directories:
  /usr/local/share/examples/news/: y
  /usr/local/news/: y
scripts:
  post-install: |
    mkdir /usr/local/news || true
    if [ ! -e /usr/local/news/news.item ]; then cp /usr/local/share/examples/news/news.item.sample /usr/local/news/news.item; fi
  pre-deinstall: |
    cmp /usr/local/news/news.item /usr/local/share/examples/news/news.item.sample && rm -f /usr/local/news/news.item || true
