1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00
freebsd-ports/games/xspacewarp/Makefile
Niclas Zeising be6c15b5c6 Add USES=xorg USES=gl, ports categories g
Add USES=xorg and USES=gl to ports in categories starting with 'g'.
While here, try to sprinkle other USES (mostly gnome and sdl) as needed.
2019-11-05 22:16:14 +00:00

31 lines
664 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:noman xorg
USE_XORG= x11 xaw xext xmu xt xpm sm ice
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>