summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorAde Lovett <ade@FreeBSD.org>2000-10-14 19:49:51 +0000
committerAde Lovett <ade@FreeBSD.org>2000-10-14 19:49:51 +0000
commitfba7b30d45aafd92c09965ee48ac277bae69657a (patch)
treee9768c67d2fc5133c470fcc033ce4d116fe2ccce /games
parentFix Imakefile breakage under XFree86 4.x (diff)
Fix Imakefile breakage under XFree86 4.x
Respect CXX/CXXFLAGS PR: 21977 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=33837
Diffstat (limited to 'games')
-rw-r--r--games/xspacewarp/Makefile18
-rw-r--r--games/xspacewarp/files/patch-ad23
2 files changed, 32 insertions, 9 deletions
diff --git a/games/xspacewarp/Makefile b/games/xspacewarp/Makefile
index 11c7feb96f80..957885827433 100644
--- a/games/xspacewarp/Makefile
+++ b/games/xspacewarp/Makefile
@@ -5,18 +5,18 @@
# $FreeBSD$
#
-PORTNAME= xspacewarp
-PORTVERSION= 1.2
-CATEGORIES= games
-MASTER_SITES= ${MASTER_SITE_XCONTRIB}
+PORTNAME= xspacewarp
+PORTVERSION= 1.2
+CATEGORIES= games
+MASTER_SITES= ${MASTER_SITE_XCONTRIB}
MASTER_SITE_SUBDIR= games
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= ports@FreeBSD.org
-USE_IMAKE= yes
+USE_IMAKE= yes
+NO_INSTALL_MANPAGES= yes
-do-install:
- @ ${INSTALL_PROGRAM} ${WRKSRC}/xspacewarp ${PREFIX}/bin
- @ ${INSTALL_DATA} ${WRKSRC}/XSpacewarp.app_def ${X11BASE}/lib/X11/app-defaults/XSpacewarp
+post-extract:
+ @${CP} ${WRKSRC}/XSpacewarp.app_def ${WRKSRC}/XSpacewarp.ad
.include <bsd.port.mk>
diff --git a/games/xspacewarp/files/patch-ad b/games/xspacewarp/files/patch-ad
new file mode 100644
index 000000000000..868ed09b5d2f
--- /dev/null
+++ b/games/xspacewarp/files/patch-ad
@@ -0,0 +1,23 @@
+--- Imakefile.orig Fri Dec 29 16:39:19 1995
++++ Imakefile Sat Oct 14 06:14:22 2000
+@@ -2,12 +2,7 @@
+
+ XCOMM Use the C++ compiler of your choice.
+
+-CC = g++
+-
+-XCOMM Suffix rule for ".cc" files
+-
+-.cc.o:
+- $(CC) $(CFLAGS) -c $<
++CC = $(CXX)
+
+ LOCAL_LIBRARIES = XawClientLibs
+ SYS_LIBRARIES = -lm
+@@ -26,4 +21,5 @@
+ draw_summary.o draw_intro.o draw_mission.o draw_orientation.o \
+ draw_winlose.o
+
+-ComplexProgramTarget(xspacewarp)
++ComplexProgramTargetNoMan(xspacewarp)
++InstallAppDefaults(XSpacewarp)