aboutsummaryrefslogtreecommitdiffstats
path: root/games/xgalaga/Makefile
blob: 3b3de7fdbfb8fba4dc06759e73def10fad19ef6a (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
35
# Created by: Satoshi Asami <asami@FreeBSD.org>
# $FreeBSD$

PORTNAME=   xgalaga
PORTVERSION=    2.1.1.0
CATEGORIES= games
MASTER_SITES=   SF/${PORTNAME}

MAINTAINER= turutani@scphys.kyoto-u.ac.jp
COMMENT=    Clone of the classic game Galaga for X11

LICENSE=    GPLv2

USES=       gmake
USE_XORG=   xpm xmu
HAS_CONFIGURE=  yes

# xgalaga has a very strange usage of these variables...
CONFIGURE_ARGS= --prefix=${LOCALBASE}/lib/X11/xgalaga \
        --mandir=${LOCALBASE}/man \
        --exec_prefix=${LOCALBASE}/bin

MAN6=       xgalaga.6x
MANCOMPRESSED=  yes

OPTIONS_DEFINE= SOUND
OPTIONS_DEFAULT=    SOUND
OPTIONS_SUB=    yes

SOUND_CONFIGURE_OFF=    --without-sound

post-install:
    @${STRIP_CMD} ${PREFIX}/bin/xgalaga

.include <bsd.port.mk>