43 lines
1.2 KiB
Makefile
43 lines
1.2 KiB
Makefile
# New ports collection makefile for: xgalaga
|
|
# Version required: 1.6c
|
|
# Date created: 27 August 1995
|
|
# Whom: asami
|
|
#
|
|
# $Id: Makefile,v 1.3 1996/11/18 09:53:22 asami Exp $
|
|
#
|
|
|
|
DISTNAME= xgalaga-1.6c
|
|
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>
|
|
|