192c935829
- trim header while here PR: 172739 Submitted by: maintainer, turutani@scphys.kyoto-u.ac.jp Feature safe: yes
38 lines
760 B
Makefile
38 lines
760 B
Makefile
# 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 <bsd.port.options.mk>
|
|
|
|
.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 <bsd.port.mk>
|