summaryrefslogtreecommitdiffstats
path: root/games/antipolix/Makefile
blob: 96154f38b4b90d3f3c76598f1ea5c2c3b7bbaf77 (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
36
# New ports collection makefile for:	antipolix
# Version required:		2.1
# Date created:			2 December 1998
# Whom:				Andrey Zakhvatov
#
# $Id$
#

DISTNAME=		AntipoliX_2.1
PKGNAME=		antipolix-2.1
CATEGORIES=		games
MASTER_SITES=		${MASTER_SITE_XCONTRIB}
MASTER_SITE_SUBDIR=	games/multiplayer

MAINTAINER=	andy@icc.surw.chel.su

WRKSRC=		${WRKDIR}
USE_IMAKE=	yes

do-install:
	@ ${INSTALL_PROGRAM} ${WRKSRC}/client ${PREFIX}/bin/antipolix-client
	@ ${INSTALL_PROGRAM} ${WRKSRC}/server ${PREFIX}/bin/antipolix-server
	@ ${MKDIR} ${PREFIX}/share/examples/antipolix
	@ ${INSTALL_DATA} ${WRKSRC}/.motd ${PREFIX}/share/examples/antipolix/dot.motd.sample
	@ ${INSTALL_DATA} ${WRKSRC}/.players ${PREFIX}/share/examples/antipolix/dot.players.sample
	@ ${INSTALL_DATA} ${WRKSRC}/.server_defaults ${PREFIX}/share/examples/antipolix/dot.server_defaults.sample

post-install:
.if !defined(NOPORTDOCS)
	@ ${MKDIR} ${PREFIX}/share/doc/antipolix
.for file in ANTIPOLIX_RULES CLIENT_USE COPYRIGHT SERVER_USE
	@ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/antipolix
.endfor
.endif

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