# Created by: asami # # $FreeBSD$ PORTNAME= xgalaga PORTVERSION= 2.1.1.0 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/${PORTVERSION}/ MAINTAINER= turutani@scphys.kyoto-u.ac.jp COMMENT= Galaga resurrected on X USE_GMAKE= yes USE_XORG= xpm xmu HAS_CONFIGURE= yes MAN6= xgalaga.6x MANCOMPRESSED= yes # xgalaga has a very strange usage of these variables... CONFIGURE_ARGS= --prefix=${LOCALBASE}/lib/X11/xgalaga \ --mandir=${LOCALBASE}/man \ --exec_prefix=${LOCALBASE}/bin OPTIONS_DEFINE= SOUND OPTIONS_DEFAULT= SOUND .include .if empty(PORT_OPTIONS:MSOUND) CONFIGURE_ARGS+= --without-sound PLIST_SUB= SOUND="@comment " .else PLIST_SUB= SOUND="" .endif post-install: @${STRIP_CMD} ${PREFIX}/bin/xgalaga .include