View | Details | Raw Unified | Return to bug 32599
Collapse All | Expand All

(-)xrobots/Makefile (-2 / +5 lines)
Lines 8-17 Link Here
8
PORTNAME=	xrobots
8
PORTNAME=	xrobots
9
PORTVERSION=	1.0
9
PORTVERSION=	1.0
10
CATEGORIES=	games
10
CATEGORIES=	games
11
MASTER_SITES=	ftp://hpux.csc.liv.ac.uk/hpux/Games/Arcade/xrobots-1.0/
11
MASTER_SITES=	http://www.mavetju.org/download/adopted/
12
DISTNAME=	${PKGNAME}-ss-10.20
12
DISTNAME=	${PKGNAME}-ss-10.20
13
13
14
MAINTAINER=	ports@FreeBSD.org
14
MAINTAINER=	edwin@mavetju.org
15
15
16
USE_IMAKE=	yes
16
USE_IMAKE=	yes
17
WRKSRC=		${WRKDIR}/xrobots-1.0
17
WRKSRC=		${WRKDIR}/xrobots-1.0
Lines 19-23 Link Here
19
19
20
post-install:
20
post-install:
21
	${INSTALL} -c -g games -m 664 ${FILESDIR}/xrobotscores ${PREFIX}/lib/X11
21
	${INSTALL} -c -g games -m 664 ${FILESDIR}/xrobotscores ${PREFIX}/lib/X11
22
23
post-patch:
24
	${PERL} -pi -e 's|__PREFIX__|${PREFIX}|g' ${WRKSRC}/xrobots.man ${WRKSRC}/Imakefile
22
25
23
.include <bsd.port.mk>
26
.include <bsd.port.mk>
(-)xrobots/files/patch-ac (-15 / +18 lines)
Lines 1-15 Link Here
1
*** Imakefile.orig	Fri Nov 17 14:37:36 1989
1
--- Imakefile.orig	Fri Jan 23 01:14:38 1998
2
--- Imakefile	Mon Jan  2 23:28:47 1995
2
+++ Imakefile	Sat Dec  8 13:20:22 2001
3
***************
3
@@ -1,5 +1,5 @@
4
*** 1,5 ****
4
 
5
  
5
-     SCORE_FILE = -DSCORE_FILE=\"./xrobotscores\"
6
!      SCORE_FILE = -DSCORE_FILE=\"./xrobotscores\"
6
+     SCORE_FILE = -DSCORE_FILE=\"__PREFIX__/lib/X11/xrobotscores\"
7
        MAXSCORES = -DMAXSCORES=20
7
       MAXSCORES = -DMAXSCORES=20
8
             MAXX = -DMAXX=35
8
            MAXX = -DMAXX=35
9
             MAXY = -DMAXY=20
9
            MAXY = -DMAXY=20
10
--- 1,5 ----
10
@@ -14,6 +14,8 @@
11
  
11
   SYS_LIBRARIES = -lm
12
!      SCORE_FILE = -DSCORE_FILE=\"/usr/X11R6/lib/X11/xrobotscores\"
12
 
13
        MAXSCORES = -DMAXSCORES=20
13
 all:: xrobots
14
             MAXX = -DMAXX=35
14
+MANSUFFIX=6
15
             MAXY = -DMAXY=20
15
+INSTPGMFLAGS = -s -g games -m 2755
16
 
17
 ComplexProgramTarget(xrobots)
18
 /*
(-)xrobots/files/patch-xrobots.man (+29 lines)
Line 0 Link Here
1
--- xrobots.man.orig	Sat Nov 18 09:37:40 1989
2
+++ xrobots.man	Sat Dec  8 22:47:26 2001
3
@@ -3,7 +3,7 @@
4
 .SH NAME
5
 xrobots \- fight off villainous robots (X Windows)
6
 .SH SYNOPSIS
7
-.B /usr/games/xrobots 
8
+.B __PREFIX__/bin/xrobots 
9
 .SH DESCRIPTION
10
 .LP
11
 As in robots(6), xrobots puts you into a world of evil robots (but in
12
@@ -110,7 +110,7 @@
13
 xrobots.scorefile
14
 .RS
15
 Set this to the path of your personal score file.  The file will be
16
-created if it does not exist.  The default: /usr/games/lib/xrobots_scores
17
+created if it does not exist.  The default: __PREFIX__/lib/X11/xrobots_scores
18
 .RE
19
 .LP
20
 xrobots.showmovement
21
@@ -214,7 +214,7 @@
22
 .LP
23
 .SH FILES
24
 .LP
25
-/usr/games/lib/xrobots_scores \-\- the score file
26
+__PREFIX__/lib/X11/xrobots_scores \-\- the score file
27
 .LP
28
 .SH AUTHOR
29
 .LP

Return to bug 32599