summaryrefslogtreecommitdiffstats
path: root/games/xsoldier/Makefile
blob: 415bfc229444b9ac7a2e342175aa4c1d57436f79 (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
# New ports collection makefile for:	xsoldier
# Date created:		22 January 1997
# Whom:			Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
#
# $FreeBSD$
#

PORTNAME=	xsoldier
PORTVERSION=	1.3
PORTREVISION=	1
CATEGORIES=	games
MASTER_SITES=	http://www.interq.or.jp/libra/oohara/xsoldier/

MAINTAINER=	naddy@FreeBSD.org
COMMENT=	Space-based shoot-em up game for X11

USE_XLIB=	Yes
GNU_CONFIGURE=	Yes
CONFIGURE_ARGS=	--localstatedir=/var
MAKE_ARGS=	CC_OPTIMIZE="${CFLAGS}"

MAN6=		xsoldier.6

SCOREFILE=	/var/games/xsoldier.scores
PLIST_SUB=	SCOREFILE=${SCOREFILE}

post-install:
	${CHGRP} games ${PREFIX}/bin/xsoldier
	${CHMOD} g+s ${PREFIX}/bin/xsoldier
	${CP} ${EXAMPLESDIR}/xsoldier.scores ${SCOREFILE}
	${CHGRP} games ${SCOREFILE}
	${CHMOD} 664 ${SCOREFILE}

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