1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/russian/fortuneru/pkg-install
Pete Fritchman 6285db09ce - update to 0.2
- instead of echoing instructions from the Makefile, use a pkg-message
- re-do the install of this port (now has more than 3 fortunes)
- don't check for the games distribution in the Makefile, check in a
  pkg-install script
- install fortunes to ${PREFX}/share/games/fortune/rus, instead of just
  ${PREFIX}/share/games/fortune (this way other languages can have their
  own subdirectory).

PR:		38489
Submitted by:	Oleksandr Bezpalko <bestia@iptcom.net> (partially)
2002-06-02 03:47:27 +00:00

15 lines
221 B
Bash

#!/bin/sh
# $FreeBSD$
#
if [ "$2" != "PRE-INSTALL" ]; then
exit 0
fi
if [ ! -f "$STRCMD" ]; then
echo ""
echo "You must have the ``games'' distribution installed to use this port."
echo ""
exit 1
fi