diff options
author | William Grzybowski <wg@FreeBSD.org> | 2013-11-26 20:37:54 +0000 |
---|---|---|
committer | William Grzybowski <wg@FreeBSD.org> | 2013-11-26 20:37:54 +0000 |
commit | 05bef17c55455b02fdaad68cd6e24e58b37d95f6 (patch) | |
tree | b790bafdc682b436cad3006d9f5024fe25421376 /games/xspacewarp/Makefile | |
parent | 3e909c9747f5e12524da07f2a46931f2ccc42622 (diff) | |
download | ports-05bef17c55455b02fdaad68cd6e24e58b37d95f6.tar.gz ports-05bef17c55455b02fdaad68cd6e24e58b37d95f6.zip |
Notes
Diffstat (limited to 'games/xspacewarp/Makefile')
-rw-r--r-- | games/xspacewarp/Makefile | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/games/xspacewarp/Makefile b/games/xspacewarp/Makefile index c78f9b99f984..280e090efbba 100644 --- a/games/xspacewarp/Makefile +++ b/games/xspacewarp/Makefile @@ -5,8 +5,7 @@ PORTNAME= xspacewarp PORTVERSION= 1.2 PORTREVISION= 2 CATEGORIES= games -MASTER_SITES= ${MASTER_SITE_XCONTRIB} -MASTER_SITE_SUBDIR= games +MASTER_SITES= XCONTRIB/games MAINTAINER= ports@FreeBSD.org COMMENT= Time Trek - like game for X Window System @@ -19,6 +18,14 @@ PLIST_FILES= bin/xspacewarp \ lib/X11/app-defaults/XSpacewarp post-extract: - @${CP} ${WRKSRC}/XSpacewarp.app_def ${WRKSRC}/XSpacewarp.ad + @${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> |