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

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

MAINTAINER=	TsurutaniNaoki@gmail.com
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

OPTIONS_DEFINE=	SOUND
OPTIONS_DEFAULT=	SOUND
OPTIONS_SUB=	yes

SOUND_CONFIGURE_OFF=	--without-sound

BROKEN_aarch64=		Fails to configure: machine arm64-unknown not recognized

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

.include <bsd.port.mk>