Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Feb 2000 07:43:17 +0900
From:      tkato@prontomail.ne.jp
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/16682: Update port: net/pmf
Message-ID:  <BD1CEF15431E3D11787300807CFDCBC0@tkato.prontomail.ne.jp>

next in thread | raw e-mail | index | archive | help

>Number:         16682
>Category:       ports
>Synopsis:       Update port: net/pmf
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 12 15:10:02 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 3.4-RELEASE i386
>Organization:
>Environment:

>Description:
- Support CC/CFLAGS prolerly
- Move install path of utility data from lib/ to libdata/
- Fix pkg/PLIST

New file:
patches/patch-ab  patches/patch-ac  patches/patch-ad  patches/patch-ae
files/pmfrc.default.in

Remove file:
patches/patch-aa

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/net/pmf/Makefile net/pmf/Makefile
--- /usr/ports/net/pmf/Makefile	Wed Sep 22 07:16:14 1999
+++ net/pmf/Makefile	Fri Feb 11 05:38:17 2000
@@ -1,26 +1,38 @@
-# New ports collection makefile for:    pmf
-# Version required:     1.13.1
-# Date created:         24 Sep 1994
-# Whom:                 adam
+# New ports collection makefile for:	pmf
+# Version required:	1.13.1
+# Date created:		24 Sep 1994
+# Whom:			adam
 #
 # $FreeBSD: ports/net/pmf/Makefile,v 1.15 1999/09/21 10:11:24 asami Exp $
 #
 
-DISTNAME=       pmf-1.13.1
+DISTNAME=	pmf-1.13.1
 CATEGORIES=	net
 MASTER_SITES=	ftp://ftp.lysator.liu.se/pub/lpmud/clients/pmf/
 
-MAINTAINER=	ports@freebsd.org
+MAINTAINER=	ports@FreeBSD.org
 
 WRKSRC=		${WRKDIR}/pmfdir/src
 
-pre-install:
-	@${MKDIR} ${PREFIX}/lib/pmf
-	@find ${WRKSRC}/../system_dir -name '*.orig' -exec ${RM} {} \;
-	@-${MV} ${WRKSRC}/../doc/pmf.doc ${WRKSRC}/../system_dir
-	@tar -C ${WRKSRC}/../system_dir -cf - . \
-		| tar -C ${PREFIX}/lib/pmf -xf -
-	@${CHOWN} -R bin.bin ${PREFIX}/lib/pmf
-	@${CHMOD} -R a-w ${PREFIX}/lib/pmf
+SYSSRC=		${WRKSRC}/../system_dir
+DOCSRC=		${WRKSRC}/../doc
+XMPSRC=		${WRKSRC}/../examples
+
+post-patch:
+	@${SED} -e 's:%%PREFIX%%:${PREFIX}:g' ${FILESDIR}/pmfrc.default.in \
+		> ${WRKSRC}/../system_dir/pmfrc.default
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/pmf ${PREFIX}/bin
+	@${MKDIR} ${PREFIX}/libdata/pmf/helpfiles
+	${INSTALL_DATA} ${SYSSRC}/pmfrc.default ${PREFIX}/libdata/pmf
+	${INSTALL_DATA} ${SYSSRC}/NEWS ${PREFIX}/libdata/pmf
+	${INSTALL_DATA} ${SYSSRC}/helpfiles/.pmfrc ${PREFIX}/libdata/pmf/helpfiles
+	${INSTALL_DATA} ${SYSSRC}/helpfiles/* ${PREFIX}/libdata/pmf/helpfiles
+	@${MKDIR} ${PREFIX}/share/doc/pmf
+	${INSTALL_DATA} ${DOCSRC}/../doc/* ${PREFIX}/share/doc/pmf
+	@${MKDIR} ${PREFIX}/share/examples/pmf
+	${INSTALL_DATA} ${XMPSRC}/.pmfrc ${PREFIX}/share/examples/pmf
+	${INSTALL_DATA} ${XMPSRC}/* ${PREFIX}/share/examples/pmf
 
 .include <bsd.port.mk>
diff -urN /usr/ports/net/pmf/files/pmfrc.default.in net/pmf/files/pmfrc.default.in
--- /usr/ports/net/pmf/files/pmfrc.default.in	Thu Jan  1 09:00:00 1970
+++ net/pmf/files/pmfrc.default.in	Fri Feb 11 04:24:06 2000
@@ -0,0 +1,54 @@
+#
+# Default init file for pmf.
+# Thomas Padron-McCarhty, padrone@lysator.liu.se, Sept 22 1991
+# Remember that all blank lines are sent to Mud, which means that you
+# should probably NOT have any blank lines in the init file.
+# Silent mode is on while running the init file.
+#
+#
+# First of all, set up some things:
+#
+/set prompt "pmf %d> "
+/set history 40
+/set lines_to_save 100
+/set cryptkey "Have a Coke and a Smile!"
+/unset substitute_history
+/unset replace_control
+#
+# Some very useful aliases:
+#
+/alias c score
+/alias l look
+/alias g get all
+/alias ec exa corpse
+/alias dc drop corpse
+/alias sb sell bottle
+/alias m missile
+/alias k shock
+/alias f fireball
+/alias gc "get $1 from corpse $2"
+/alias gb "get $1 from bag $2"
+/alias bdb "buy beer $n drink beer"
+/alias h history
+#
+# This alias lets you run from the church to the pub:
+#
+/unalias . "perform $1 >"
+/alias church-to-pub ". s $n . e $n . e $n . n $n . e"
+#
+# Some more aliases:
+#
+/alias /soundon "/source %%PREFIX%%/libdata/pmf/soundfiles/pmf-sparc-sound"
+/alias /soundoff "/unset sound"
+#
+# Avoid printing some of the more annoying messages:
+#
+# /gag "Go player says: "
+# /gag "Harry says: "
+#
+# A simple robot action:
+#
+/action "$1 tells you: $2" "/beep"
+/alias /on /set robot
+/alias /off /unset robot
+/on
diff -urN /usr/ports/net/pmf/patches/patch-aa net/pmf/patches/patch-aa
--- /usr/ports/net/pmf/patches/patch-aa	Tue Sep 24 19:36:25 1996
+++ net/pmf/patches/patch-aa	Thu Jan  1 09:00:00 1970
@@ -1,261 +0,0 @@
-*** pmfdir/src/Makefile	Sun May 23 11:54:05 1993
---- ./Makefile	Sun Sep 25 04:42:08 1994
-***************
-*** 29,40 ****
-  # pmf without GNU readline or without sound.
-  # Remove one (or both) of "-DGNU_READLINE" and "-DSOUND".
-  #
-! OPTIONS = -DGNU_READLINE -DSOUND
-  
-  # This variable, SOUND_OBJECT, should be changed if you want to
-  # compile pmf without sound: remove this definition of SOUND_OBJECT.
-  #
-! SOUND_OBJECT = sound.o
-  
-  # This variable, HISTORY_OBJECT, should be changed if you want to
-  # compile pmf without GNU readline: define HISTORY_OBJECT as
---- 29,41 ----
-  # pmf without GNU readline or without sound.
-  # Remove one (or both) of "-DGNU_READLINE" and "-DSOUND".
-  #
-! #OPTIONS = -DGNU_READLINE -DSOUND
-! OPTIONS = -DGNU_READLINE
-  
-  # This variable, SOUND_OBJECT, should be changed if you want to
-  # compile pmf without sound: remove this definition of SOUND_OBJECT.
-  #
-! #SOUND_OBJECT = sound.o
-  
-  # This variable, HISTORY_OBJECT, should be changed if you want to
-  # compile pmf without GNU readline: define HISTORY_OBJECT as
-***************
-*** 65,71 ****
-  #	-- the Makefiles in the subdirs have to be changed separately.
-  # Distribution: CFLAGS = -O
-  # Maximum debug: CFLAGS = -g -pg -DDEBUG -pipe
-! CFLAGS = -O
-  
-  ######################################################################
-  
---- 66,72 ----
-  #	-- the Makefiles in the subdirs have to be changed separately.
-  # Distribution: CFLAGS = -O
-  # Maximum debug: CFLAGS = -g -pg -DDEBUG -pipe
-! CFLAGS = -O2 -D_ANSI_SOURCE
-  
-  ######################################################################
-  
-***************
-*** 104,110 ****
-  READLINE_LIB = $(READLINE_DIR)/libreadline.a
-  C_PACKAGES_LIB = $(C_PACKAGES_DIR)/libc_packs.a
-  
-! LIBS = $(READLINE_LIB) $(C_PACKAGES_LIB)
-  
-  INCLUDEDIRS = -I$(C_PACKAGES_DIR)/safe_malloc \
-  	-I$(C_PACKAGES_DIR)/generic_list \
---- 105,112 ----
-  READLINE_LIB = $(READLINE_DIR)/libreadline.a
-  C_PACKAGES_LIB = $(C_PACKAGES_DIR)/libc_packs.a
-  
-! #LIBS = $(READLINE_LIB) $(C_PACKAGES_LIB)
-! LIBS = $(C_PACKAGES_LIB) -lreadline -lcompat
-  
-  INCLUDEDIRS = -I$(C_PACKAGES_DIR)/safe_malloc \
-  	-I$(C_PACKAGES_DIR)/generic_list \
-***************
-*** 123,142 ****
-  
-  pmf: $(OBJECTS) $(LIBS)
-  	rm -f compile_time.c
-! 	$(CC) -o pmf $(CFLAGS) $(OBJECTS) $(LIBS) -ltermcap -lresolv
-  	strip pmf
-  	rm -f compile_time.o
-  
-  compile_time.c:
-  	echo 'char compile_time[] = "'`date`'";' > compile_time.c
-  
-  ######################################################################
-  
-  $(READLINE_LIB):
-  	( cd $(READLINE_DIR); make )
-  
-  $(C_PACKAGES_LIB):
-! 	( cd $(C_PACKAGES_DIR); make )
-  
-  READLINE_FILES = \
-  	$(READLINE_DIR)/*
---- 125,147 ----
-  
-  pmf: $(OBJECTS) $(LIBS)
-  	rm -f compile_time.c
-! 	$(CC) -o pmf $(CFLAGS) $(OBJECTS) $(LIBS) -ltermcap
-  	strip pmf
-  	rm -f compile_time.o
-  
-  compile_time.c:
-  	echo 'char compile_time[] = "'`date`'";' > compile_time.c
-  
-+ install: pmf
-+ 	install -o bin -g bin -m 0755 pmf /usr/local/bin
-+ 
-  ######################################################################
-  
-  $(READLINE_LIB):
-  	( cd $(READLINE_DIR); make )
-  
-  $(C_PACKAGES_LIB):
-! 	( cd $(C_PACKAGES_DIR); make 'CFLAGS=$(CFLAGS)')
-  
-  READLINE_FILES = \
-  	$(READLINE_DIR)/*
-*** pmfdir/src/config.h	Fri Oct 29 09:25:35 1993
---- ./config.h	Sun Sep 25 02:33:58 1994
-***************
-*** 35,41 ****
-   *  files instead.
-   *  Note that "~" is not expanded in this directory name.
-   */
-! #define SYSTEM_DIR              "/home/diagnostix3/ida/tompa/pmf-1.13.1/pmfdir/system_dir"
-  
-  /*  These are the names of some files, usually in the system directory
-   *  SYSTEM_DIR that is #defined above.
---- 35,41 ----
-   *  files instead.
-   *  Note that "~" is not expanded in this directory name.
-   */
-! #define SYSTEM_DIR              "/usr/local/lib/pmf"
-  
-  /*  These are the names of some files, usually in the system directory
-   *  SYSTEM_DIR that is #defined above.
-***************
-*** 71,76 ****
---- 71,80 ----
-  #  define USE_TIOCGETP
-  #else
-  #  define USE_TCGETA
-+ #endif
-+ 
-+ #ifdef BSD
-+ #define _cnt _r
-  #endif
-  
-  /*  The prompt to print after doing a builtin command. 0 means no prompt.
-*** pmfdir/src/main.c	Sun Sep 22 03:13:43 1991
---- ./main.c	Sun Sep 25 02:51:47 1994
-***************
-*** 37,43 ****
-      extern int stop_printing();
-      extern int continue_printing();
-  
-!     extern int last_c_pos;
-  #endif
-  
-  /* Longjmp buffer, jump there after error() or CTRL-C */
---- 37,43 ----
-      extern int stop_printing();
-      extern int continue_printing();
-  
-!     extern int _rl_last_c_pos;
-  #endif
-  
-  /* Longjmp buffer, jump there after error() or CTRL-C */
-***************
-*** 58,64 ****
-  	ldisplay("\n");
-  	ldisplay("%s", rl_line_buffer);
-  	rl_redisplay(count, key);
-! 	last_c_pos = rl_end;
-      }
-  #endif
-  
---- 58,64 ----
-  	ldisplay("\n");
-  	ldisplay("%s", rl_line_buffer);
-  	rl_redisplay(count, key);
-! 	_rl_last_c_pos = rl_end;
-      }
-  #endif
-  
-*** pmfdir/system_dir/.pmfrc.default	Sun Sep 22 03:15:42 1991
---- ../system_dir/.pmfrc.default	Sun Sep 25 05:19:41 1994
-***************
-*** 1,6 ****
-  #
-  # Default init file for pmf.
-! # Thomas Padron-McCarhty, padrone@lysator.liu.se, Sept 22 1991
-  # Remember that all blank lines are sent to Mud, which means that you
-  # should probably NOT have any blank lines in the init file.
-  # Silent mode is on while running the init file.
---- 1,6 ----
-  #
-  # Default init file for pmf.
-! # Thomas Padron-McCarthy, padrone@lysator.liu.se, Sept 22 1991
-  # Remember that all blank lines are sent to Mud, which means that you
-  # should probably NOT have any blank lines in the init file.
-  # Silent mode is on while running the init file.
-***************
-*** 12,19 ****
-  /set history 40
-  /set lines_to_save 100
-  /set cryptkey "Have a Coke and a Smile!"
-! /set substitute_history
-! /set replace_control
-  #
-  # Some very useful aliases:
-  #
---- 12,19 ----
-  /set history 40
-  /set lines_to_save 100
-  /set cryptkey "Have a Coke and a Smile!"
-! /unset substitute_history
-! /unset replace_control
-  #
-  # Some very useful aliases:
-  #
-***************
-*** 33,44 ****
-  #
-  # This alias lets you run from the church to the pub:
-  #
-! /alias . "perform $1 >"
-  /alias church-to-pub ". s $n . e $n . e $n . n $n . e"
-  #
-  # Some more aliases:
-  #
-! /alias /soundon "/source /home/ingatrix3/ida/tompa/pmfdir/system_dir/soundfiles/pmf-sparc-sound"
-  /alias /soundoff "/unset sound"
-  #
-  # Avoid printing some of the more annoying messages:
---- 33,44 ----
-  #
-  # This alias lets you run from the church to the pub:
-  #
-! /unalias . "perform $1 >"
-  /alias church-to-pub ". s $n . e $n . e $n . n $n . e"
-  #
-  # Some more aliases:
-  #
-! /alias /soundon "/source /usr/local/lib/pmf/soundfiles/pmf-sparc-sound"
-  /alias /soundoff "/unset sound"
-  #
-  # Avoid printing some of the more annoying messages:
-*** ./c_packages/Makefile	Sat Sep 21 20:13:58 1991
---- ../../../pmfdir/src/c_packages/Makefile	Sat Oct  1 08:40:44 1994
-***************
-*** 8,14 ****
-  	for i in $(PACKAGES) ; \
-  	do \
-  		echo Making $$i...; \
-! 		( cd $$i; make ) \
-  	done
-  	ln -s */*.o .
-  	ar rv libc_packs.a *.o
---- 8,14 ----
-  	for i in $(PACKAGES) ; \
-  	do \
-  		echo Making $$i...; \
-! 		( cd $$i; make 'CFLAGS=$(CFLAGS)') \
-  	done
-  	ln -s */*.o .
-  	ar rv libc_packs.a *.o
diff -urN /usr/ports/net/pmf/patches/patch-ab net/pmf/patches/patch-ab
--- /usr/ports/net/pmf/patches/patch-ab	Thu Jan  1 09:00:00 1970
+++ net/pmf/patches/patch-ab	Fri Feb 11 04:10:08 2000
@@ -0,0 +1,68 @@
+--- Makefile.orig	Sun May 23 20:54:05 1993
++++ Makefile	Fri Feb 11 04:02:29 2000
+@@ -29,12 +29,13 @@
+ # pmf without GNU readline or without sound.
+ # Remove one (or both) of "-DGNU_READLINE" and "-DSOUND".
+ #
+-OPTIONS = -DGNU_READLINE -DSOUND
++#OPTIONS = -DGNU_READLINE -DSOUND
++OPTIONS = -DGNU_READLINE
+ 
+ # This variable, SOUND_OBJECT, should be changed if you want to
+ # compile pmf without sound: remove this definition of SOUND_OBJECT.
+ #
+-SOUND_OBJECT = sound.o
++#SOUND_OBJECT = sound.o
+ 
+ # This variable, HISTORY_OBJECT, should be changed if you want to
+ # compile pmf without GNU readline: define HISTORY_OBJECT as
+@@ -56,7 +57,7 @@
+ # If you want to use the GNU C compiler,
+ # change the variable CC to "gcc -traditional" instead:
+ #
+-CC = cc
++CC ?= cc
+ # CC = gcc -traditional
+ 
+ ######################################################################
+@@ -65,7 +66,7 @@
+ #	-- the Makefiles in the subdirs have to be changed separately.
+ # Distribution: CFLAGS = -O
+ # Maximum debug: CFLAGS = -g -pg -DDEBUG -pipe
+-CFLAGS = -O
++CFLAGS += -D_ANSI_SOURCE -DSYSTEM_DIR=\"${PREFIX}/libdata/pmf\"
+ 
+ ######################################################################
+ 
+@@ -104,7 +105,8 @@
+ READLINE_LIB = $(READLINE_DIR)/libreadline.a
+ C_PACKAGES_LIB = $(C_PACKAGES_DIR)/libc_packs.a
+ 
+-LIBS = $(READLINE_LIB) $(C_PACKAGES_LIB)
++#LIBS = $(READLINE_LIB) $(C_PACKAGES_LIB)
++LIBS = $(C_PACKAGES_LIB) -lreadline -lcompat
+ 
+ INCLUDEDIRS = -I$(C_PACKAGES_DIR)/safe_malloc \
+ 	-I$(C_PACKAGES_DIR)/generic_list \
+@@ -123,7 +125,7 @@
+ 
+ pmf: $(OBJECTS) $(LIBS)
+ 	rm -f compile_time.c
+-	$(CC) -o pmf $(CFLAGS) $(OBJECTS) $(LIBS) -ltermcap -lresolv
++	$(CC) -o pmf $(CFLAGS) $(OBJECTS) $(LIBS) -ltermcap
+ 	strip pmf
+ 	rm -f compile_time.o
+ 
+@@ -133,10 +135,10 @@
+ ######################################################################
+ 
+ $(READLINE_LIB):
+-	( cd $(READLINE_DIR); make )
++	( cd $(READLINE_DIR); $(MAKE) )
+ 
+ $(C_PACKAGES_LIB):
+-	( cd $(C_PACKAGES_DIR); make )
++	( cd $(C_PACKAGES_DIR); $(MAKE) 'CFLAGS=$(CFLAGS)')
+ 
+ READLINE_FILES = \
+ 	$(READLINE_DIR)/*
diff -urN /usr/ports/net/pmf/patches/patch-ac net/pmf/patches/patch-ac
--- /usr/ports/net/pmf/patches/patch-ac	Thu Jan  1 09:00:00 1970
+++ net/pmf/patches/patch-ac	Fri Feb 11 05:31:44 2000
@@ -0,0 +1,42 @@
+--- config.h.orig	Fri Oct 29 18:25:35 1993
++++ config.h	Fri Feb 11 05:31:15 2000
+@@ -35,14 +35,16 @@
+  *  files instead.
+  *  Note that "~" is not expanded in this directory name.
+  */
+-#define SYSTEM_DIR              "/home/diagnostix3/ida/tompa/pmf-1.13.1/pmfdir/system_dir"
++#ifndef SYSTEM_DIR
++#define SYSTEM_DIR              "/usr/local/libdata/pmf"
++#endif
+ 
+ /*  These are the names of some files, usually in the system directory
+  *  SYSTEM_DIR that is #defined above.
+  *  If these names start with a "/" they are considered
+  *  relative to the root directory, otherwise to SYSTEM_DIR.
+  */
+-#define SYSTEM_DEFAULT_INIT_FILE        ".pmfrc.default"
++#define SYSTEM_DEFAULT_INIT_FILE        "pmfrc.default"
+ #define SYSTEM_NEWS_FILE                "NEWS"
+ #define SYSTEM_HELP_DIR                 "helpfiles"
+ #define SYSTEM_SOUND_DIR                "soundfiles"
+@@ -63,7 +65,9 @@
+ #define X_OUTPUT_PROGRAM	"cat"
+ 
+ /* What system? Define one either BSD or SYSV:*/
++#ifndef BSD
+ #define BSD
++#endif
+ /* #define SYSV */
+ 
+ /* What ioctl do we use for the ttys? */
+@@ -71,6 +75,10 @@
+ #  define USE_TIOCGETP
+ #else
+ #  define USE_TCGETA
++#endif
++
++#ifdef BSD
++#define _cnt _r
+ #endif
+ 
+ /*  The prompt to print after doing a builtin command. 0 means no prompt.
diff -urN /usr/ports/net/pmf/patches/patch-ad net/pmf/patches/patch-ad
--- /usr/ports/net/pmf/patches/patch-ad	Thu Jan  1 09:00:00 1970
+++ net/pmf/patches/patch-ad	Fri Feb 11 04:18:46 2000
@@ -0,0 +1,20 @@
+--- main.c.orig	Sun Sep 22 12:13:43 1991
++++ main.c	Fri Feb 11 04:14:00 2000
+@@ -37,7 +37,7 @@
+     extern int stop_printing();
+     extern int continue_printing();
+ 
+-    extern int last_c_pos;
++    extern int _rl_last_c_pos;
+ #endif
+ 
+ /* Longjmp buffer, jump there after error() or CTRL-C */
+@@ -58,7 +58,7 @@
+ 	ldisplay("\n");
+ 	ldisplay("%s", rl_line_buffer);
+ 	rl_redisplay(count, key);
+-	last_c_pos = rl_end;
++	_rl_last_c_pos = rl_end;
+     }
+ #endif
+ 
diff -urN /usr/ports/net/pmf/patches/patch-ae net/pmf/patches/patch-ae
--- /usr/ports/net/pmf/patches/patch-ae	Thu Jan  1 09:00:00 1970
+++ net/pmf/patches/patch-ae	Fri Feb 11 04:19:00 2000
@@ -0,0 +1,11 @@
+--- c_packages/Makefile.orig	Sun Sep 22 12:13:58 1991
++++ c_packages/Makefile	Fri Feb 11 04:14:00 2000
+@@ -8,7 +8,7 @@
+ 	for i in $(PACKAGES) ; \
+ 	do \
+ 		echo Making $$i...; \
+-		( cd $$i; make ) \
++		( cd $$i; $(MAKE) 'CFLAGS=$(CFLAGS)') \
+ 	done
+ 	ln -s */*.o .
+ 	ar rv libc_packs.a *.o
diff -urN /usr/ports/net/pmf/patches/patch-az net/pmf/patches/patch-az
--- /usr/ports/net/pmf/patches/patch-az	Thu Jan  1 09:00:00 1970
+++ net/pmf/patches/patch-az	Fri Feb 11 05:31:27 2000
@@ -0,0 +1,42 @@
+--- config.h.orig	Fri Oct 29 18:25:35 1993
++++ config.h	Fri Feb 11 05:31:15 2000
+@@ -35,14 +35,16 @@
+  *  files instead.
+  *  Note that "~" is not expanded in this directory name.
+  */
+-#define SYSTEM_DIR              "/home/diagnostix3/ida/tompa/pmf-1.13.1/pmfdir/system_dir"
++#ifndef SYSTEM_DIR
++#define SYSTEM_DIR              "/usr/local/libdata/pmf"
++#endif
+ 
+ /*  These are the names of some files, usually in the system directory
+  *  SYSTEM_DIR that is #defined above.
+  *  If these names start with a "/" they are considered
+  *  relative to the root directory, otherwise to SYSTEM_DIR.
+  */
+-#define SYSTEM_DEFAULT_INIT_FILE        ".pmfrc.default"
++#define SYSTEM_DEFAULT_INIT_FILE        "pmfrc.default"
+ #define SYSTEM_NEWS_FILE                "NEWS"
+ #define SYSTEM_HELP_DIR                 "helpfiles"
+ #define SYSTEM_SOUND_DIR                "soundfiles"
+@@ -63,7 +65,9 @@
+ #define X_OUTPUT_PROGRAM	"cat"
+ 
+ /* What system? Define one either BSD or SYSV:*/
++#ifndef BSD
+ #define BSD
++#endif
+ /* #define SYSV */
+ 
+ /* What ioctl do we use for the ttys? */
+@@ -71,6 +75,10 @@
+ #  define USE_TIOCGETP
+ #else
+ #  define USE_TCGETA
++#endif
++
++#ifdef BSD
++#define _cnt _r
+ #endif
+ 
+ /*  The prompt to print after doing a builtin command. 0 means no prompt.
diff -urN /usr/ports/net/pmf/pkg/PLIST net/pmf/pkg/PLIST
--- /usr/ports/net/pmf/pkg/PLIST	Tue Nov 19 08:26:18 1996
+++ net/pmf/pkg/PLIST	Fri Feb 11 05:33:33 2000
@@ -1,2 +1,101 @@
 bin/pmf
-lib/pmf
+libdata/pmf/pmfrc.default
+libdata/pmf/NEWS
+libdata/pmf/helpfiles/!!
+libdata/pmf/helpfiles/!number
+libdata/pmf/helpfiles/!str
+libdata/pmf/helpfiles/!string
+libdata/pmf/helpfiles/+action
+libdata/pmf/helpfiles/+alias
+libdata/pmf/helpfiles/+beep
+libdata/pmf/helpfiles/+cd
+libdata/pmf/helpfiles/+connect
+libdata/pmf/helpfiles/+cryptsay
+libdata/pmf/helpfiles/+crypttell
+libdata/pmf/helpfiles/+debuglog
+libdata/pmf/helpfiles/+disconnect
+libdata/pmf/helpfiles/+dump
+libdata/pmf/helpfiles/+echo
+libdata/pmf/helpfiles/+gag
+libdata/pmf/helpfiles/+getfile
+libdata/pmf/helpfiles/+help
+libdata/pmf/helpfiles/+history
+libdata/pmf/helpfiles/+last
+libdata/pmf/helpfiles/+log
+libdata/pmf/helpfiles/+perform
+libdata/pmf/helpfiles/+putfile
+libdata/pmf/helpfiles/+quit
+libdata/pmf/helpfiles/+quote
+libdata/pmf/helpfiles/+receive
+libdata/pmf/helpfiles/+send
+libdata/pmf/helpfiles/+set
+libdata/pmf/helpfiles/+sound
+libdata/pmf/helpfiles/+source
+libdata/pmf/helpfiles/+status
+libdata/pmf/helpfiles/+system
+libdata/pmf/helpfiles/+unaction
+libdata/pmf/helpfiles/+unactionall
+libdata/pmf/helpfiles/+unalias
+libdata/pmf/helpfiles/+ungag
+libdata/pmf/helpfiles/+unset
+libdata/pmf/helpfiles/+unsound
+libdata/pmf/helpfiles/.pmfrc
+libdata/pmf/helpfiles/242
+libdata/pmf/helpfiles/?
+libdata/pmf/helpfiles/CTRL-C
+libdata/pmf/helpfiles/CTRL-D
+libdata/pmf/helpfiles/CTRL-Z
+libdata/pmf/helpfiles/FRONT242
+libdata/pmf/helpfiles/Padrone
+libdata/pmf/helpfiles/README
+libdata/pmf/helpfiles/achtung
+libdata/pmf/helpfiles/bug
+libdata/pmf/helpfiles/can_gag_fight
+libdata/pmf/helpfiles/cryptkey
+libdata/pmf/helpfiles/debug
+libdata/pmf/helpfiles/documentation
+libdata/pmf/helpfiles/echo
+libdata/pmf/helpfiles/frontcd
+libdata/pmf/helpfiles/frontecho
+libdata/pmf/helpfiles/fronthelp
+libdata/pmf/helpfiles/frontquit
+libdata/pmf/helpfiles/frontset
+libdata/pmf/helpfiles/frontstatus
+libdata/pmf/helpfiles/frontunset
+libdata/pmf/helpfiles/help
+libdata/pmf/helpfiles/history
+libdata/pmf/helpfiles/host
+libdata/pmf/helpfiles/ignoreeof
+libdata/pmf/helpfiles/init
+libdata/pmf/helpfiles/lines_to_save
+libdata/pmf/helpfiles/options
+libdata/pmf/helpfiles/padrone
+libdata/pmf/helpfiles/pmf
+libdata/pmf/helpfiles/port
+libdata/pmf/helpfiles/prompt
+libdata/pmf/helpfiles/quit
+libdata/pmf/helpfiles/replace_control
+libdata/pmf/helpfiles/robot
+libdata/pmf/helpfiles/screen_length
+libdata/pmf/helpfiles/show_receive
+libdata/pmf/helpfiles/slash_commands
+libdata/pmf/helpfiles/sound
+libdata/pmf/helpfiles/source
+libdata/pmf/helpfiles/source-code
+libdata/pmf/helpfiles/status
+libdata/pmf/helpfiles/substitute_history
+libdata/pmf/helpfiles/variables
+libdata/pmf/helpfiles/verbose
+share/doc/pmf/mud-clients.FAQ
+share/doc/pmf/mud-rwho.FAQ
+share/doc/pmf/mud.FAQ
+share/doc/pmf/mudlist.18oct93
+share/doc/pmf/pmf.doc
+share/doc/pmf/resource-usage
+share/examples/pmf/.pmfrc
+share/examples/pmf/pmf-sparc-sound
+share/examples/pmf/sample-robot
+@dirrm share/examples/pmf
+@dirrm share/doc/pmf
+@dirrm libdata/pmf/helpfiles
+@dirrm libdata/pmf


Sent by Japanese ProntoMail

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BD1CEF15431E3D11787300807CFDCBC0>