aboutsummaryrefslogtreecommitdiff
path: root/games/xsoldier/Makefile
blob: 7b38f1e67913a91b10438c5fbff3721076b54952 (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
# 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=	2
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

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

USE_XORG=	x11 ice xpm
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>