diff options
author | Jean-Marc Zucconi <jmz@FreeBSD.org> | 2000-02-21 23:17:31 +0000 |
---|---|---|
committer | Jean-Marc Zucconi <jmz@FreeBSD.org> | 2000-02-21 23:17:31 +0000 |
commit | eb867c45b8fdb79b20a56bf4800603bcc48df80f (patch) | |
tree | a22c8dc6df8998c0a0fc2e6529a39180e59ab166 /games/xjewel/pkg-req | |
parent | 7939db3b3fd54d25efd46b3ec99b6b03188a2871 (diff) | |
download | ports-eb867c45b8fdb79b20a56bf4800603bcc48df80f.tar.gz ports-eb867c45b8fdb79b20a56bf4800603bcc48df80f.zip |
Notes
Diffstat (limited to 'games/xjewel/pkg-req')
-rw-r--r-- | games/xjewel/pkg-req | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/games/xjewel/pkg-req b/games/xjewel/pkg-req new file mode 100644 index 000000000000..c245d9493cc4 --- /dev/null +++ b/games/xjewel/pkg-req @@ -0,0 +1,27 @@ +#!/bin/sh + +if [ "x$1" = "x" ]; then + exit 1; +fi +if [ "x$2" != "xINSTALL" -a "x$2" != "xDEINSTALL" ]; then + exit 1; +fi + +export FONTDIR; FONTDIR=${PKG_PREFIX}/lib/X11/fonts/local + +if [ "$2x" = "INSTALLx" -a ! -d ${FONTDIR} ]; then + echo '**********************************************************************' + echo "****** ${FONTDIR}/ doesn't exist." + echo "****** Creating ${FONTDIR}/" + echo '****** Please upgrade your XFree86 to 3.3.3 or upper,' + echo "****** or add this directory to your /etc/XF86Config's FontPath entry." + echo '**********************************************************************' + mkdir ${FONTDIR} +fi + +echo "**********************************************************" +echo "You should restart X server or do 'xset fp rehash' command" +echo "to enable this update." +echo "**********************************************************" + +exit 0; |