freebsd-ports/games/xspacewarp/Makefile
William Grzybowski 05bef17c55 games/xspacewarp: fix build on current
PR:		ports/184227
Submitted by:	KATO Tsuguru <tkato432 yahoo.com>
2013-11-26 20:37:54 +00:00

31 lines
678 B
Makefile

# Created by: Andrey Zakhvatov
# $FreeBSD$
PORTNAME= xspacewarp
PORTVERSION= 1.2
PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= XCONTRIB/games
MAINTAINER= ports@FreeBSD.org
COMMENT= Time Trek - like game for X Window System
USES= imake
USE_XORG= x11 xaw xext xmu xt xpm sm ice
NO_INSTALL_MANPAGES= yes
PLIST_FILES= bin/xspacewarp \
lib/X11/app-defaults/XSpacewarp
post-extract:
@${LN} -sf XSpacewarp.app_def ${WRKSRC}/XSpacewarp.ad
post-patch:
@${FIND} ${WRKSRC} -name "*.cc" -or -name "*.hh" | ${XARGS} \
${REINPLACE_CMD} -e \
's|<iostream.h>|<iostream>| ; \
s| cerr| std::cerr| ; \
s| cout| std::cout| ; \
s| endl| std::endl|'
.include <bsd.port.mk>