Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Oct 2000 18:13:50 -0700 (PDT)
From:      tkato@prontomail.ne.jp
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/21977: Update port: games/xspacewarp
Message-ID:  <20001014011350.DB65B37B66C@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         21977
>Category:       ports
>Synopsis:       Update port: games/xspacewarp
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 13 18:20:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.1.1-RELEASE i386
>Organization:
>Environment:
>Description:
- Support CXX/CXXFLAGS properly
- Fix Imakefile breakage under XFree86 4.x

New file:
patches/patch-ad

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/games/xspacewarp/Makefile games/xspacewarp/Makefile
--- /usr/ports/games/xspacewarp/Makefile	Sat Apr 15 00:24:41 2000
+++ games/xspacewarp/Makefile	Sat Oct 14 05:59:47 2000
@@ -5,18 +5,18 @@
 # $FreeBSD: ports/games/xspacewarp/Makefile,v 1.5 2000/04/14 12:28:24 asami Exp $
 #
 
-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 -urN /usr/ports/games/xspacewarp/files/patch-ad games/xspacewarp/files/patch-ad
--- /usr/ports/games/xspacewarp/files/patch-ad	Thu Jan  1 09:00:00 1970
+++ games/xspacewarp/files/patch-ad	Sat Oct 14 06:14:29 2000
@@ -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)


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001014011350.DB65B37B66C>