aboutsummaryrefslogtreecommitdiffstats
path: root/games/xjewel/Makefile
blob: 4f15f2692d6c2ad9dc60988ef3704523b8684645 (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.10 1997/01/03 09:37:17 obrien Exp $
#

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

MAINTAINER= jmz@FreeBSD.org

USE_IMAKE=  yes

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

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

.include <bsd.port.mk>