aboutsummaryrefslogtreecommitdiffstats
path: root/games/xmahjongg
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1998-11-17 11:10:55 +0800
committerasami <asami@FreeBSD.org>1998-11-17 11:10:55 +0800
commit6777bb40591946567408619755d5af4874aa7ac2 (patch)
tree2fb5cf71ba0e49622d9602dadcabe468bc4f9c90 /games/xmahjongg
parentbf019ed39a91635f10c9be0bc9df5a5e1c8f6351 (diff)
downloadfreebsd-ports-gnome-6777bb40591946567408619755d5af4874aa7ac2.tar.gz
freebsd-ports-gnome-6777bb40591946567408619755d5af4874aa7ac2.tar.zst
freebsd-ports-gnome-6777bb40591946567408619755d5af4874aa7ac2.zip
Move font file to ${X11BASE}/lib/X11/fonts/local.
Diffstat (limited to 'games/xmahjongg')
-rw-r--r--games/xmahjongg/Makefile15
-rw-r--r--games/xmahjongg/pkg-plist2
2 files changed, 14 insertions, 3 deletions
diff --git a/games/xmahjongg/Makefile b/games/xmahjongg/Makefile
index d8bf6eb0c3ba..4f2c856be381 100644
--- a/games/xmahjongg/Makefile
+++ b/games/xmahjongg/Makefile
@@ -3,7 +3,7 @@
# Date created: 16 Aug 1996
# Whom: joerg@freebsd.org
#
-# $Id: Makefile,v 1.4 1998/09/28 02:25:12 steve Exp $
+# $Id: Makefile,v 1.5 1998/10/03 13:39:46 jseger Exp $
#
DISTNAME= xmahjongg
@@ -22,7 +22,18 @@ MAN6= xmahjongg.6
NO_CDROM= "Restrictive copyright"
+.include <bsd.port.pre.mk>
+
post-extract:
@${CP} ${WRKSRC}/xmahjongg.6 ${WRKSRC}/xmahjongg.man
-.include <bsd.port.mk>
+pre-install:
+.if !exists(${X11BASE}/lib/X11/fonts/local)
+ @${ECHO} "*********************************************************"
+ @${ECHO} "Please update your XFree86 to version 3.3.3 or later"
+ @${ECHO} "or add ${X11BASE}/lib/X11/fonts/local to your font path"
+ @${ECHO} "in /etc/XF86Config."
+ @${ECHO} "*********************************************************"
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/games/xmahjongg/pkg-plist b/games/xmahjongg/pkg-plist
index b0d960a7608f..caf7d4957c30 100644
--- a/games/xmahjongg/pkg-plist
+++ b/games/xmahjongg/pkg-plist
@@ -3,6 +3,6 @@ lib/X11/xmahjongg/bridge
lib/X11/xmahjongg/default
lib/X11/xmahjongg/wedges
@dirrm lib/X11/xmahjongg
-lib/X11/fonts/misc/xmahjongg.bdf
+lib/X11/fonts/local/xmahjongg.bdf
@exec /usr/X11R6/bin/mkfontdir %B
@unexec /usr/X11R6/bin/mkfontdir %B