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

(-)games/frotz/Makefile (-15 / +13 lines)
Lines 5-31 Link Here
5
# $FreeBSD: ports/games/frotz/Makefile,v 1.5 2000/04/14 06:42:56 mharo Exp $
5
# $FreeBSD: ports/games/frotz/Makefile,v 1.5 2000/04/14 06:42:56 mharo Exp $
6
#
6
#
7
7
8
PORTNAME=		frotz
8
PORTNAME=	frotz
9
PORTVERSION=		2.32
9
PORTVERSION=	2.40
10
CATEGORIES=		games
10
CATEGORIES=	games
11
MASTER_SITES=		ftp://ftp.gmd.de/if-archive/infocom/interpreters/frotz/
11
MASTER_SITES=	http://www.cs.csubak.edu/~dgriffi/frotz/files/ \
12
DISTNAME=		UnixFrotz232R2Std10
12
		ftp://ftp.gmd.de/if-archive/infocom/interpreters/frotz/
13
13
14
MAINTAINER=		ports@FreeBSD.org
14
MAINTAINER=	ports@FreeBSD.org
15
15
16
ALL_TARGET=
16
ALL_TARGET=	# empty
17
WRKSRC=			${WRKDIR}/frotz-2.32
18
17
19
MAN6=			frotz.6
18
MAN6=		frotz.6
20
19
21
do-install:
20
do-install:
22
	@ ${INSTALL_PROGRAM} ${WRKSRC}/frotz ${PREFIX}/bin
21
	${INSTALL_PROGRAM} ${WRKSRC}/frotz ${PREFIX}/bin
23
	@ ${INSTALL_MAN} ${WRKSRC}/frotz.6 ${PREFIX}/man/man6
22
	${INSTALL_MAN} ${WRKSRC}/frotz.6 ${PREFIX}/man/man6
24
25
.if !defined(NOPORTDOCS)
23
.if !defined(NOPORTDOCS)
26
	@ ${MKDIR} ${PREFIX}/share/doc/frotz
24
	@${MKDIR} ${PREFIX}/share/doc/frotz
27
.for file in Readme.unix Todo
25
.for file in AUTHORS BUGS ChangeLog HOW_TO_PLAY INSTALL README TODO
28
	@ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/frotz
26
	${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/frotz
29
.endfor
27
.endfor
30
.endif
28
.endif
31
29
(-)games/frotz/distinfo (-1 / +1 lines)
Line 1 Link Here
1
MD5 (UnixFrotz232R2Std10.tar.gz) = 5c40f4a9da46a65cd0fd09821bf93538
1
MD5 (frotz-2.40.tar.gz) = b19fa5528e6a5ea13afeecf8b38cccc3
(-)games/frotz/files/patch-aa (-31 / +53 lines)
Lines 1-39 Link Here
1
--- Makefile.orig	Fri Oct 17 16:11:10 1997
1
--- Makefile.orig	Sat Nov 11 20:50:16 2000
2
+++ Makefile	Sun Jun  7 18:26:02 1998
2
+++ Makefile	Wed Nov 22 21:16:35 2000
3
@@ -1,7 +1,7 @@
3
@@ -1,26 +1,26 @@
4
 
4
 #Define your C compiler.  I recommend gcc if you have it.
5
 # Define your c compiler.  I recommend gcc if you've got it.
6
 #CC = cc
7
-CC = gcc
5
-CC = gcc
8
+#CC = gcc
6
+#CC = gcc
7
 #CC = cc
9
 
8
 
10
 # Define your optimization flags.  Most compilers understand -O and -O2,
9
 # Define your optimization flags.  Most compilers understand -O and -O2,
11
 # Debugging (don't use)
10
 # Standard (note: Solaris on UltraSparc using gcc 2.8.x might not like this.)
12
@@ -43,7 +43,8 @@
11
-OPTS = -O2 
13
 #                     have that option.
12
+#OPTS = -O2 
14
 #
13
 # Pentium with gcc 2.7.0 or better
15
 #DEFS = -DUSE_GETOPT_H -DCOLOR_SUPPORT -DEMACS_EDITING
14
 #OPTS = -O2 -fomit-frame-pointer -malign-functions=2 -malign-loops=2 \
16
-DEFS =
15
 #-malign-jumps=2
17
+DEFS = -DCOLOR_SUPPORT -DEMACS_EDITING -DUSE_NCURSES_H -DUSE_NOTHING \
16
 
18
+	-DUSE_UNISTD_H
17
 # Define where you want Frotz to be installed.  Usually this is /usr/local
19
 
18
-PREFIX = /usr/local
20
 # This should point to the location of your curses or ncurses include file
19
+#PREFIX = /usr/local
21
 # if it's in a non-standard place.
20
 #PREFIX =
22
@@ -57,7 +58,7 @@
21
 
23
 #CURSES = -lncurses
22
 # Define where you want Frotz to look for frotz.conf.
23
-CONFIG_DIR = /usr/local/etc
24
+CONFIG_DIR = ${PREFIX}/etc
25
 #CONFIG_DIR = /etc
26
 #CONFIG_DIR = /usr/pkg/etc
27
 #CONFIG_DIR =
28
 
29
 # Uncomment this if you want color support.  Usually this requires ncurses.
30
-#COLOR_DEFS = -DCOLOR_SUPPORT
31
+COLOR_DEFS = -DCOLOR_SUPPORT
32
 
33
 # Uncomment this if you have an OSS soundcard driver and want classical
34
 # Infocom sound support.
35
@@ -28,7 +28,7 @@
36
 
37
 # This should point to the location of your curses.h or ncurses.h include
38
 # file if your compiler doesn't know about it.
39
-INCL = -I/usr/local/include
40
+#INCL = -I/usr/local/include
41
 #INCL = -I/usr/pkg/include
42
 #INCL = -I/usr/freeware/include
43
 #INCL = -I/5usr/include
44
@@ -37,7 +37,7 @@
45
 # This should define the location and name of whatever curses library you're
46
 # linking with.  Usually, this isn't necessary if /etc/ld.so.conf is set
47
 # up correctly.
48
-LIB = -L/usr/local/lib
49
+#LIB = -L/usr/local/lib
50
 #LIB = -L/usr/pkg/lib
51
 #LIB = -L/usr/freeware/lib
24
 #LIB = -L/5usr/lib
52
 #LIB = -L/5usr/lib
25
 LIB =
53
@@ -81,7 +81,7 @@
26
-CURSES = -lcurses
54
 COMP_DEFS = $(OPT_DEFS) $(COLOR_DEFS) $(SOUND_DEFS) $(SOUNDCARD) \
27
+CURSES = -lncurses
55
 	$(MEMMOVE_DEF)
28
 
29
 # Nothing under this line should need to be changed.
30
 
56
 
31
@@ -66,7 +67,7 @@
57
-CFLAGS = $(OPTS) $(COMP_DEFS) $(INCL)
32
           text.o ux_init.o ux_input.o ux_pic.o ux_screen.o ux_sample.o \
58
+CFLAGS += $(OPTS) $(COMP_DEFS) $(INCL)
33
           ux_text.o variable.o
34
 
59
 
35
-CFLAGS = $(OPTS) $(DEFS) $(INCL)
36
+CFLAGS+= $(DEFS)
37
 
60
 
38
 frotz: $(OBJECTS)
61
 $(BINNAME): soundcard.h $(OBJECTS)
39
 	$(CC) -o frotz $(OBJECTS) $(LIB) $(CURSES)
(-)games/frotz/pkg-descr (-1 / +1 lines)
Lines 7-10 Link Here
7
of new games available on the Internet. Check the if-archive
7
of new games available on the Internet. Check the if-archive
8
at ftp.gmd.de.
8
at ftp.gmd.de.
9
9
10
WWW: http://www.geocities.com/SiliconValley/Heights/3222/frotz.html
10
WWW: http://www.cs.csubak.edu/~dgriffi/frotz/
(-)games/frotz/pkg-plist (-2 / +7 lines)
Lines 1-4 Link Here
1
bin/frotz
1
bin/frotz
2
share/doc/frotz/Readme.unix
2
share/doc/frotz/AUTHORS
3
share/doc/frotz/Todo
3
share/doc/frotz/BUGS
4
share/doc/frotz/ChangeLog
5
share/doc/frotz/HOW_TO_PLAY
6
share/doc/frotz/INSTALL
7
share/doc/frotz/README
8
share/doc/frotz/TODO
4
@dirrm share/doc/frotz
9
@dirrm share/doc/frotz

Return to bug 23074