6285db09ce
- 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)
14 lines
221 B
Bash
14 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
|