aboutsummaryrefslogtreecommitdiff
path: root/games/xgalaga/Makefile
blob: a1f851032c18e267685bb574b4127ae76983327a (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
39
40
41
42
# New ports collection makefile for:	xgalaga
# Version required:	1.6b
# Date created:		27 August 1995
# Whom:			asami
#
# $Id: Makefile,v 1.2 1996/01/16 10:39:49 asami Exp $
#

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

MAINTAINER=	asami@FreeBSD.ORG

USE_IMAKE=	yes
NO_INSTALL_MANPAGES=	yes

EXTRA_PATCH=	patch-ab

nosound:
	@echo "Okay, making a quiet version of xgalaga...."
	@cp ${FILESDIR}/${EXTRA_PATCH} ${PATCHDIR}
	@${MAKE} ${.MAKEFLAGS} all

pre-clean:
	@rm -f ${PATCHDIR}/${EXTRA_PATCH}

pre-patch:
	@if [ ! -f ${PATCHDIR}/${EXTRA_PATCH} ]; then \
	  echo "*****************************************************" ; \
	  echo "* Note that you can build a version of xgalaga that *" ; \
	  echo "* doesn't use the sound driver by typing            *" ; \
	  echo "* \"make nosound\"                                    *" ; \
	  echo "* following a \"make clean\".                         *" ; \
	  echo "* Try it if you don't have a sound card and are     *" ; \
	  echo "* getting core dumps.                               *" ; \
	  echo "*****************************************************" ; \
	fi

.include <bsd.port.mk>