Applied patch to update to 2.41.

Also removed useless documentation and added PORTDOCS to the plist.

PR:		28045
Submitted by:	Kato Tsuguru <tkato@prontomail.com>
This commit is contained in:
Mark Pulford 2001-06-11 16:50:25 +00:00
parent c5a927e1e2
commit 21a02650af
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=43856
4 changed files with 10 additions and 74 deletions

View file

@ -6,23 +6,24 @@
#
PORTNAME= frotz
PORTVERSION= 2.40
PORTVERSION= 2.41
CATEGORIES= games
MASTER_SITES= http://www.cs.csubak.edu/~dgriffi/frotz/files/ \
ftp://ftp.gmd.de/if-archive/infocom/interpreters/frotz/
MAINTAINER= ports@FreeBSD.org
ALL_TARGET= # empty
MAKE_ARGS= CC="${CC}" OPTS="${CFLAGS}" PREFIX="${PREFIX}" \
CONFIG_DIR="${PREFIX}/etc" INCL="" LIB=""
MAN6= frotz.6
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/frotz ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/frotz.6 ${PREFIX}/man/man6
${INSTALL_MAN} ${WRKSRC}/frotz.6 ${MANPREFIX}/man/man6
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/frotz
.for file in AUTHORS BUGS ChangeLog HOW_TO_PLAY INSTALL README TODO
.for file in BUGS HOW_TO_PLAY README
${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/frotz
.endfor
.endif

View file

@ -1 +1 @@
MD5 (frotz-2.40.tar.gz) = b19fa5528e6a5ea13afeecf8b38cccc3
MD5 (frotz-2.41.tar.gz) = 520e0b6c39ddcd11f7adb6486b6d913a

View file

@ -1,61 +0,0 @@
--- Makefile.orig Sat Nov 11 20:50:16 2000
+++ Makefile Wed Nov 22 21:16:35 2000
@@ -1,26 +1,26 @@
#Define your C compiler. I recommend gcc if you have it.
-CC = gcc
+#CC = gcc
#CC = cc
# Define your optimization flags. Most compilers understand -O and -O2,
# Standard (note: Solaris on UltraSparc using gcc 2.8.x might not like this.)
-OPTS = -O2
+#OPTS = -O2
# Pentium with gcc 2.7.0 or better
#OPTS = -O2 -fomit-frame-pointer -malign-functions=2 -malign-loops=2 \
#-malign-jumps=2
# Define where you want Frotz to be installed. Usually this is /usr/local
-PREFIX = /usr/local
+#PREFIX = /usr/local
#PREFIX =
# Define where you want Frotz to look for frotz.conf.
-CONFIG_DIR = /usr/local/etc
+CONFIG_DIR = ${PREFIX}/etc
#CONFIG_DIR = /etc
#CONFIG_DIR = /usr/pkg/etc
#CONFIG_DIR =
# Uncomment this if you want color support. Usually this requires ncurses.
-#COLOR_DEFS = -DCOLOR_SUPPORT
+COLOR_DEFS = -DCOLOR_SUPPORT
# Uncomment this if you have an OSS soundcard driver and want classical
# Infocom sound support.
@@ -28,7 +28,7 @@
# This should point to the location of your curses.h or ncurses.h include
# file if your compiler doesn't know about it.
-INCL = -I/usr/local/include
+#INCL = -I/usr/local/include
#INCL = -I/usr/pkg/include
#INCL = -I/usr/freeware/include
#INCL = -I/5usr/include
@@ -37,7 +37,7 @@
# This should define the location and name of whatever curses library you're
# linking with. Usually, this isn't necessary if /etc/ld.so.conf is set
# up correctly.
-LIB = -L/usr/local/lib
+#LIB = -L/usr/local/lib
#LIB = -L/usr/pkg/lib
#LIB = -L/usr/freeware/lib
#LIB = -L/5usr/lib
@@ -81,7 +81,7 @@
COMP_DEFS = $(OPT_DEFS) $(COLOR_DEFS) $(SOUND_DEFS) $(SOUNDCARD) \
$(MEMMOVE_DEF)
-CFLAGS = $(OPTS) $(COMP_DEFS) $(INCL)
+CFLAGS += $(OPTS) $(COMP_DEFS) $(INCL)
$(BINNAME): soundcard.h $(OBJECTS)

View file

@ -1,9 +1,5 @@
bin/frotz
share/doc/frotz/AUTHORS
share/doc/frotz/BUGS
share/doc/frotz/ChangeLog
share/doc/frotz/HOW_TO_PLAY
share/doc/frotz/INSTALL
share/doc/frotz/README
share/doc/frotz/TODO
@dirrm share/doc/frotz
%%PORTDOCS%%share/doc/frotz/BUGS
%%PORTDOCS%%share/doc/frotz/HOW_TO_PLAY
%%PORTDOCS%%share/doc/frotz/README
%%PORTDOCS%%@dirrm share/doc/frotz