aboutsummaryrefslogtreecommitdiffstats
path: root/games/xsoldier/Makefile
blob: fa3df2c99191b9896ff85bdf04e0d1cc4176e293 (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
# 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
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>