aboutsummaryrefslogtreecommitdiffstats
path: root/games/xjewel/Makefile
blob: 2b6232413765e5e920842182b8e48ff9bf41ca87 (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
# New ports collection makefile for:    xjewel
# Version required:     1.6
# Date created:         22 November 1994
# Whom:                 jmz
#
# $Id: Makefile,v 1.11 1997/06/12 04:23:19 asami Exp $
#

DISTNAME=   xjewel-1.6
CATEGORIES= games
MASTER_SITES=   ftp://ftp.warwick.ac.uk/pub/x11/
EXTRACT_SUFX=   .tar.z

MAINTAINER= jmz@FreeBSD.org

USE_IMAKE=  yes

pre-install:
    @${MKDIR} ${PREFIX}/bin
    @${MKDIR} ${PREFIX}/lib/X11/xjewel
    @${MKDIR} ${PREFIX}/man/man6
    @(cd ${WRKSRC}/bitmaps/; ${INSTALL_DATA} seven_seg.pcf.gz fonts.dir \
        ${PREFIX}/lib/X11/xjewel)

post-install:
    @(mv ${PREFIX}/bin/xjewel ${PREFIX}/bin/xjewel_; \
    $(ECHO) "#!/bin/sh" >${PREFIX}/bin/xjewel; \
    $(ECHO) "xset +fp ${PREFIX}/lib/X11/xjewel" >>${PREFIX}/bin/xjewel; \
    $(ECHO) "${PREFIX}/bin/xjewel_" >>${PREFIX}/bin/xjewel; \
    chmod ugo+x ${PREFIX}/bin/xjewel)

.include <bsd.port.mk>