summaryrefslogtreecommitdiffstats
path: root/games/xjewel/Makefile
blob: 3303ee0fd6a5d31952c9e10653c4b53c36cdb44c (plain)
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
# New ports collection makefile for:    xjewel
# Version required:     1.6
# Date created:         22 November 1994
# Whom:                 jmz
#
# $Id: Makefile,v 1.13 1998/09/28 02:20:01 steve 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
MAN6=		xjewel.6

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>
OpenPOWER on IntegriCloud