mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-13 23:36:08 +00:00
06e2cf5c15
PR: 4473 Submitted by: Warner Losh <imp@village.org>
45 lines
1.2 KiB
Makefile
45 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.4 1996/11/30 00:12:17 torstenb Exp $
|
|
#
|
|
|
|
DISTNAME= xgalaga-1.6c
|
|
CATEGORIES= games
|
|
MASTER_SITES= ${MASTER_SITE_XCONTRIB}
|
|
MASTER_SITE_SUBDIR= games
|
|
|
|
MAINTAINER= asami@FreeBSD.ORG
|
|
|
|
LIB_DEPENDS= Xpm\\.4\\.:${PORTSDIR}/graphics/xpm
|
|
|
|
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>
|
|
|