aboutsummaryrefslogtreecommitdiff
path: root/games/xtron/Makefile
blob: abf0d3391c3af77956d238827b144bf14b950d3d (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:	xtron
# Date created:				29 March 1998
# Whom:					Andrey Zakhvatov
#
# $FreeBSD$
#

PORTNAME=	xtron
PORTVERSION=	1.1a
CATEGORIES=	games
MASTER_SITES=	${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR=	games/arcade
EXTRACT_SUFX=	.tgz

MAINTAINER=	ports@FreeBSD.org

PORTCOMMENT=	Avoid running into walls, your own tail, and that of your opponent

USE_REINPLACE=	yes
USE_X_PREFIX=	yes
USE_XPM=	yes

post-patch:
	@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/xtronrc

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/xtron ${PREFIX}/bin
	@${MKDIR} ${PREFIX}/share/xtron
	${INSTALL_DATA} ${WRKSRC}/pixmaps/* ${PREFIX}/share/xtron
	${INSTALL_DATA} ${WRKSRC}/xtronrc ${PREFIX}/lib/X11/app-defaults/Tron
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
	@${INSTALL_DATA} ${WRKSRC}/CHANGES ${DOCSDIR}
	@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif

.include <bsd.port.mk>