aboutsummaryrefslogtreecommitdiffstats
path: root/games/xgalaga/Makefile
blob: 896c3edccfc4d1b87b523040452c71d5a56e5bcd (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
36
37
38
# New ports collection makefile for:    xgalaga
# Version required: 2.0
# Date created:     27 August 1995
# Whom:         asami
#
# $Id: Makefile,v 1.8 1998/08/05 09:30:59 asami Exp $
#

DISTNAME=   xgalaga-2.0
CATEGORIES= games
MASTER_SITES=   ${MASTER_SITE_XCONTRIB}
MASTER_SITE_SUBDIR= games

MAINTAINER= ports@FreeBSD.ORG

LIB_DEPENDS=    Xpm.5:${PORTSDIR}/graphics/xpm

HAS_CONFIGURE=  yes
USE_X_PREFIX=   yes
# xgalaga has a very strange usage of these variables...
CONFIGURE_ARGS= --prefix=${X11BASE}/lib/X11/xgalaga \
        --exec_prefix=${X11BASE}/bin

.if defined(NOSOUND)
CONFIGURE_ARGS+=    --without-sound
.endif

pre-configure:
    @${ECHO} "*****************************************************"
    @${ECHO} "* Note that you can build a version of xgalaga that *"
    @${ECHO} "* doesn't use the sound driver by typing            *"
    @${ECHO} "* \"make -DNOSOUND\"                                  *"
    @${ECHO} "* following a \"make clean\".                         *"
    @${ECHO} "* Try it if you don't have a sound card and are     *"
    @${ECHO} "* getting core dumps.                               *"
    @${ECHO} "*****************************************************"

.include <bsd.port.mk>