diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2001-12-12 05:25:44 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2001-12-12 05:25:44 +0000 |
commit | 7a393f237f701602e8f0e9b442488e026115727b (patch) | |
tree | 4e0465ccb03b304c4c4a54b5cc535712ca450e97 /games | |
parent | fe9c80cfd04dcb256eb8cbf4868dfd774a3f00c8 (diff) | |
download | ports-7a393f237f701602e8f0e9b442488e026115727b.tar.gz ports-7a393f237f701602e8f0e9b442488e026115727b.zip |
Notes
Diffstat (limited to 'games')
-rw-r--r-- | games/xrobots/Makefile | 7 | ||||
-rw-r--r-- | games/xrobots/files/patch-ac | 33 | ||||
-rw-r--r-- | games/xrobots/files/patch-xrobots.man | 29 |
3 files changed, 52 insertions, 17 deletions
diff --git a/games/xrobots/Makefile b/games/xrobots/Makefile index dfcc236d3f2d..6a5195fa9782 100644 --- a/games/xrobots/Makefile +++ b/games/xrobots/Makefile @@ -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 @@ -20,4 +20,7 @@ MAN6= xrobots.6 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> diff --git a/games/xrobots/files/patch-ac b/games/xrobots/files/patch-ac index ebdcf5a025aa..636f5bd2efc7 100644 --- a/games/xrobots/files/patch-ac +++ b/games/xrobots/files/patch-ac @@ -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) + /* diff --git a/games/xrobots/files/patch-xrobots.man b/games/xrobots/files/patch-xrobots.man new file mode 100644 index 000000000000..a51f9f2f62e5 --- /dev/null +++ b/games/xrobots/files/patch-xrobots.man @@ -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 |