freebsd-ports/games/xgalaga/Makefile

43 lines
1.2 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: xgalaga
# Date created: 27 August 1995
# Whom: asami
#
1999-08-25 08:06:33 +02:00
# $FreeBSD$
#
PORTNAME= xgalaga
PORTVERSION= 2.0.34
PORTREVISION= 3
CATEGORIES= games
MASTER_SITES= http://people.FreeBSD.org/~linimon/public_distfiles/
MAINTAINER= ports@FreeBSD.org
2003-02-20 18:32:26 +01:00
COMMENT= Galaga resurrected on X
USE_XORG= xpm xmu
HAS_CONFIGURE= yes
1998-05-28 09:39:25 +02:00
# xgalaga has a very strange usage of these variables...
CONFIGURE_ARGS= --prefix=${LOCALBASE}/lib/X11/xgalaga \
--exec_prefix=${LOCALBASE}/bin
1998-05-28 09:39:25 +02:00
.if defined(NOSOUND)
CONFIGURE_ARGS+= --without-sound
PLIST_SUB= SOUND="@comment "
.else
PLIST_SUB= SOUND=""
1998-05-28 09:39:25 +02:00
pre-configure:
@${ECHO_CMD} "*****************************************************"
@${ECHO_CMD} "* Note that you can build a version of xgalaga that *"
@${ECHO_CMD} "* doesn't use the sound driver by typing *"
@${ECHO_CMD} "* \"make -DNOSOUND\" *"
@${ECHO_CMD} "* following a \"make clean\". *"
@${ECHO_CMD} "* Try it if you don't have a sound card and are *"
@${ECHO_CMD} "* getting core dumps. *"
@${ECHO_CMD} "*****************************************************"
.endif
post-install:
@${STRIP_CMD} ${PREFIX}/bin/xgalaga
.include <bsd.port.mk>