aboutsummaryrefslogtreecommitdiffstats
path: root/games/xjewel/Makefile
blob: fec63077d9db4208c4d4ba57dd3b6805b6fd8a81 (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
38
39
40
# New ports collection makefile for:    xjewel
# Date created:         22 November 1994
# Whom:                 jmz
#
# $FreeBSD$
#

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

MAINTAINER= jmz@FreeBSD.org

USE_IMAKE=  yes

.include <bsd.port.pre.mk>

.if ${XFREE86_VERSION} == 4
BUILD_DEPENDS=  bdftopcf:${PORTSDIR}/x11/XFree86-4-clients
RUN_DEPENDS=    mkfontdir:${PORTSDIR}/x11/XFree86-4-clients
.endif

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.post.mk>