mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-14 03:10:47 +00:00
46 lines
1.3 KiB
Makefile
46 lines
1.3 KiB
Makefile
# New ports collection makefile for: xgalaga
|
|
# Date created: 27 August 1995
|
|
# Whom: asami
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= xgalaga
|
|
PORTVERSION= 2.0.34
|
|
PORTREVISION= 0
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://www.cit.uws.edu.au/pub/unix/games/ \
|
|
http://ftp.yars.free.net/pub/software/unix/games/arcade/ \
|
|
${MASTER_SITE_XCONTRIB}
|
|
MASTER_SITE_SUBDIR= games
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Galaga resurrected on X
|
|
|
|
USE_X_PREFIX= yes
|
|
USE_XPM= yes
|
|
HAS_CONFIGURE= 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
|
|
PLIST= ${PKGDIR}/pkg-plist.nosound
|
|
.else
|
|
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>
|