summaryrefslogtreecommitdiffstats
path: root/games/xtron/Makefile
blob: bbbfa63d76e9ad0f14403ca23a91b3fd1f88ea8a (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
34
35
# New ports collection makefile for:	xtron
# Version required:			1.1a
# Date created:				29 March 1998
# Whom:					Andrey Zakhvatov
#
# $Id$
#

DISTNAME=		xtron-1.1a
CATEGORIES=		games x11
MASTER_SITES=		${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR=	games/arcade
EXTRACT_SUFX=		.tgz

MAINTAINER=		andy@icc.surw.chel.su

LIB_DEPENDS=		Xpm.4:${PORTSDIR}/graphics/xpm

USE_X_PREFIX=		yes

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
	@ ${MKDIR} ${PREFIX}/share/doc/xtron

.if !defined(NOPORTDOCS)
post-install:
.for file in CHANGES COPYING README
	@ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/xtron
.endfor
.endif

.include <bsd.port.mk>
OpenPOWER on IntegriCloud