FreeBSD Bugzilla – Attachment 18070 Details for
Bug 32599
[PATCH] games/xrobots does not build/install correctly
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 2.64 KB, created by
edwin
on 2001-12-08 12:20:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
edwin
Created:
2001-12-08 12:20:00 UTC
Size:
2.64 KB
patch
obsolete
>--- xrobots.old/Makefile Sat Dec 8 13:05:20 2001 >+++ xrobots/Makefile Sat Dec 8 23:00:11 2001 >@@ -8,10 +8,10 @@ > PORTNAME= xrobots > PORTVERSION= 1.0 > CATEGORIES= games >-MASTER_SITES= ftp://hpux.csc.liv.ac.uk/hpux/Games/Arcade/xrobots-1.0/ >+MASTER_SITES= http://www.mavetju.org/download/adopted/ > DISTNAME= ${PKGNAME}-ss-10.20 > >-MAINTAINER= ports@FreeBSD.org >+MAINTAINER= edwin@mavetju.org > > USE_IMAKE= yes > WRKSRC= ${WRKDIR}/xrobots-1.0 >@@ -19,5 +19,8 @@ > > post-install: > ${INSTALL} -c -g games -m 664 ${FILESDIR}/xrobotscores ${PREFIX}/lib/X11 >+ >+post-patch: >+ ${PERL} -pi -e 's|__PREFIX__|${PREFIX}|g' ${WRKSRC}/xrobots.man ${WRKSRC}/Imakefile > > .include <bsd.port.mk> >--- xrobots.old/files/patch-ac Sat Dec 8 13:05:20 2001 >+++ xrobots/files/patch-ac Sat Dec 8 22:51:34 2001 >@@ -1,15 +1,18 @@ >-*** Imakefile.orig Fri Nov 17 14:37:36 1989 >---- Imakefile Mon Jan 2 23:28:47 1995 >-*************** >-*** 1,5 **** >- >-! SCORE_FILE = -DSCORE_FILE=\"./xrobotscores\" >- MAXSCORES = -DMAXSCORES=20 >- MAXX = -DMAXX=35 >- MAXY = -DMAXY=20 >---- 1,5 ---- >- >-! SCORE_FILE = -DSCORE_FILE=\"/usr/X11R6/lib/X11/xrobotscores\" >- MAXSCORES = -DMAXSCORES=20 >- MAXX = -DMAXX=35 >- MAXY = -DMAXY=20 >+--- Imakefile.orig Fri Jan 23 01:14:38 1998 >++++ Imakefile Sat Dec 8 13:20:22 2001 >+@@ -1,5 +1,5 @@ >+ >+- SCORE_FILE = -DSCORE_FILE=\"./xrobotscores\" >++ SCORE_FILE = -DSCORE_FILE=\"__PREFIX__/lib/X11/xrobotscores\" >+ MAXSCORES = -DMAXSCORES=20 >+ MAXX = -DMAXX=35 >+ MAXY = -DMAXY=20 >+@@ -14,6 +14,8 @@ >+ SYS_LIBRARIES = -lm >+ >+ all:: xrobots >++MANSUFFIX=6 >++INSTPGMFLAGS = -s -g games -m 2755 >+ >+ ComplexProgramTarget(xrobots) >+ /* >--- xrobots.old/files/patch-xrobots.man Thu Jan 1 10:00:00 1970 >+++ xrobots/files/patch-xrobots.man Sat Dec 8 23:03:07 2001 >@@ -0,0 +1,29 @@ >+--- xrobots.man.orig Sat Nov 18 09:37:40 1989 >++++ xrobots.man Sat Dec 8 22:47:26 2001 >+@@ -3,7 +3,7 @@ >+ .SH NAME >+ xrobots \- fight off villainous robots (X Windows) >+ .SH SYNOPSIS >+-.B /usr/games/xrobots >++.B __PREFIX__/bin/xrobots >+ .SH DESCRIPTION >+ .LP >+ As in robots(6), xrobots puts you into a world of evil robots (but in >+@@ -110,7 +110,7 @@ >+ xrobots.scorefile >+ .RS >+ Set this to the path of your personal score file. The file will be >+-created if it does not exist. The default: /usr/games/lib/xrobots_scores >++created if it does not exist. The default: __PREFIX__/lib/X11/xrobots_scores >+ .RE >+ .LP >+ xrobots.showmovement >+@@ -214,7 +214,7 @@ >+ .LP >+ .SH FILES >+ .LP >+-/usr/games/lib/xrobots_scores \-\- the score file >++__PREFIX__/lib/X11/xrobots_scores \-\- the score file >+ .LP >+ .SH AUTHOR >+ .LP
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 32599
: 18070