diff options
author | Satoshi Asami <asami@FreeBSD.org> | 1998-11-17 03:10:55 +0000 |
---|---|---|
committer | Satoshi Asami <asami@FreeBSD.org> | 1998-11-17 03:10:55 +0000 |
commit | f34d94e2c3ba4f81c58fb206161b996bd7547067 (patch) | |
tree | b4e1c0ba6b04e1e373b96acdbba7cdc43cda90f2 /games/xmahjongg | |
parent | The install target should be "install", not "${INSTALL}". (diff) |
Move font file to ${X11BASE}/lib/X11/fonts/local.
Diffstat (limited to 'games/xmahjongg')
-rw-r--r-- | games/xmahjongg/Makefile | 15 | ||||
-rw-r--r-- | games/xmahjongg/pkg-plist | 2 |
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 |