aboutsummaryrefslogtreecommitdiffstats
path: root/games/xjewel/Makefile
blob: 244ddfc3ba3f5a9c2375d5c0b0456cbf37dce72d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# New ports collection makefile for:    xjewel
# Date created:         22 November 1994
# Whom:                 jmz
#
# $FreeBSD$
#

PORTNAME=   xjewel
PORTVERSION=    1.6
PORTREVISION=   1
CATEGORIES= games
MASTER_SITES=   ftp://ftp.warwick.ac.uk/pub/x11/ \
        ftp://ftp.x.org/R5contrib/
EXTRACT_SUFX=   .tar.z

MAINTAINER= jmz@FreeBSD.org
COMMENT=    X11 dropping jewels game

BUILD_DEPENDS=  bdftopcf:${X_CLIENTS_PORT}
RUN_DEPENDS=    mkfontdir:${X_CLIENTS_PORT}

USE_IMAKE=  yes

MAN6=       xjewel.6

FONTSDIR=   lib/X11/fonts/local
PLIST_SUB=  FONTSDIR=${FONTSDIR}

pre-install:
    @${SETENV} PKG_PREFIX=${PREFIX} \
        ${SH} ${PKGREQ} ${PKGNAME} INSTALL

post-install:
    ${INSTALL_DATA} ${WRKSRC}/bitmaps/seven_seg.pcf.gz ${PREFIX}/${FONTSDIR}
    @(cd ${PREFIX}/${FONTSDIR} ; mkfontdir)

.include <bsd.port.mk>