Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Feb 2000 06:04:06 -0800 (PST)
From:      tkato@prontomail.ne.jp
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/16872: Update port: japanese/pine
Message-ID:  <200002211404.GAA19291@freefall.freebsd.org>

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

>Number:         16872
>Category:       ports
>Synopsis:       Update port: japanese/pine
>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:   Mon Feb 21 06:10:03 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 3.4-RELEASE i386
>Organization:
>Environment:
>Description:
- Unbreak for ELF
- Fix DISTFILES
- Support PREFIX/LOCALBASE properly
- tar -> TAR
- patch -> PATCH
- Merge scripts/configure into Makefile
- Move install path of utility data from lib/ to lidata/
- Add japanese manpages

New file:
patches/patch-al  patches/patch-am  files/Makefile

Remove file:
patches/patch-ac  scripts/configure

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/japanese/pine/Makefile japanese/pine/Makefile
--- /usr/ports/japanese/pine/Makefile	Tue Aug 31 19:15:18 1999
+++ japanese/pine/Makefile	Mon Feb 21 21:32:53 2000
@@ -9,44 +9,36 @@
 DISTNAME=	pine3.95
 PKGNAME=	ja-pine-3.95
 CATEGORIES=	japanese mail
-MASTER_SITES=	ftp://ftp.cac.washington.edu/pine/ \
+MASTER_SITES=	ftp://ftp.cac.washington.edu/pine/old/ \
 		${MASTER_SITE_PORTS_JP}
-DISTFILES=	pine3.95.tar.gz pine3.95lj1.1b2.tar.gz
+DISTFILES=	pine3.95.tar.Z pine3.95lj1.1b2.tar.gz
 
 PATCHFILES=	pine3.95lj1.1b2-b3.diff.gz
 PATCH_SITES=	${MASTER_SITE_PORTS_JP}
 
 MAINTAINER=	max@FreeBSD.org
 
-BROKEN_ELF=	yes
-
 LIB_DEPENDS=	canna.1:${PORTSDIR}/japanese/Canna
-BUILD_DEPENDS=	${PREFIX}/lib/libcanna.a:${PORTSDIR}/japanese/Canna
 
-EXTRACT_ONLY=	pine3.95.tar.gz
-MAN1=		pine.1 pilot.1 pico.1
+EXTRACT_ONLY=	pine3.95.tar.Z
+MAN1=		pico pilot.1 pine.1
+MANLANG=	"" ja
 
 pre-patch:
 	@(cd ${WRKSRC}; \
-	  tar zxf ${DISTDIR}/pine3.95lj1.1b2.tar.gz; \
-	  patch -s -p0 < japan/pine3.95lj1.1b2.diff)
+	  ${TAR} zxf ${_DISTDIR}/pine3.95lj1.1b2.tar.gz; \
+	  ${PATCH} -s -p0 < japan/pine3.95lj1.1b2.diff)
+
+post-patch:
+	@${PERL} -pi.in \
+		-e "s|%%PREFIX%%|${PREFIX}|g;" \
+		-e "s|%%LOCALBASE%%|${LOCALBASE}|g;" \
+			${WRKSRC}/pine/osdep/os-bsf.h
 
-do-build:
-	(cd ${WRKSRC}; ./build bsf)
+do-configure:
+	@${CP} ${FILESDIR}/Makefile ${WRKSRC}/Makefile
 
-do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/bin/pico ${PREFIX}/bin
-	${INSTALL_PROGRAM} ${WRKSRC}/bin/pilot ${PREFIX}/bin
-	${INSTALL_PROGRAM} ${WRKSRC}/bin/pine ${PREFIX}/bin
-	${INSTALL_DATA} ${WRKSRC}/bin/libpico.so.1.3 $(PREFIX)/lib
-	${INSTALL_MAN} ${WRKSRC}/doc/pico.1 ${PREFIX}/man/man1
-	${INSTALL_MAN} ${WRKSRC}/doc/pilot.1 ${PREFIX}/man/man1
-	${INSTALL_MAN} ${WRKSRC}/doc/pine.1 ${PREFIX}/man/man1
-	${MKDIR} ${PREFIX}/lib/pine
-	${INSTALL_DATA} ${WRKSRC}/pine/pine.hlp ${PREFIX}/lib/pine
-	${INSTALL_DATA} ${WRKSRC}/pine/pine.ndx ${PREFIX}/lib/pine
-	${INSTALL_DATA} ${WRKSRC}/pine/pine_ja.hlp ${PREFIX}/lib/pine
-	${INSTALL_DATA} ${WRKSRC}/pine/pine_ja.ndx ${PREFIX}/lib/pine
-	@${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
+post-install:
+	${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
 
 .include <bsd.port.mk>
diff -urN /usr/ports/japanese/pine/files/Makefile japanese/pine/files/Makefile
--- /usr/ports/japanese/pine/files/Makefile	Thu Jan  1 09:00:00 1970
+++ japanese/pine/files/Makefile	Sat Feb 19 06:00:20 2000
@@ -0,0 +1,25 @@
+.if ${PORTOBJFORMAT} == "elf"
+SHLIB=	libpico.so.1
+.else
+SHLIB=	libpico.so.1.3
+.endif
+
+all:
+	./build bsf
+install:
+	${BSD_INSTALL_PROGRAM} bin/pico ${PREFIX}/bin
+	${BSD_INSTALL_PROGRAM} bin/pilot ${PREFIX}/bin
+	${BSD_INSTALL_PROGRAM} bin/pine ${PREFIX}/bin
+	${BSD_INSTALL_DATA} pico/${SHLIB} ${PREFIX}/lib
+	ln -s ${SHLIB} ${PREFIX}/lib/libpico.so
+	${BSD_INSTALL_MAN} doc/pico.1 ${PREFIX}/man/man1
+	${BSD_INSTALL_MAN} doc/pilot.1 ${PREFIX}/man/man1
+	${BSD_INSTALL_MAN} doc/pine.1 ${PREFIX}/man/man1
+	${BSD_INSTALL_MAN} japan/pico.1 ${PREFIX}/man/ja/man1
+	${BSD_INSTALL_MAN} japan/pilot.1 ${PREFIX}/man/ja/man1
+	${BSD_INSTALL_MAN} japan/pine.1 ${PREFIX}/man/ja/man1
+	mkdir -p ${PREFIX}/libdata/pine
+	${BSD_INSTALL_DATA} pine/pine.hlp ${PREFIX}/libdata/pine
+	${BSD_INSTALL_DATA} pine/pine.ndx ${PREFIX}/libdata/pine
+	${BSD_INSTALL_DATA} pine/pine_ja.hlp ${PREFIX}/libdata/pine
+	${BSD_INSTALL_DATA} pine/pine_ja.ndx ${PREFIX}/libdata/pine
diff -urN /usr/ports/japanese/pine/files/md5 japanese/pine/files/md5
--- /usr/ports/japanese/pine/files/md5	Fri Sep 20 14:47:10 1996
+++ japanese/pine/files/md5	Sat Feb 19 03:00:49 2000
@@ -1,3 +1,3 @@
-MD5 (pine3.95.tar.gz) = e99dd57904a035571776d7dc0c632d46
+MD5 (pine3.95.tar.Z) = 11b511d3be54ce46e0eda7e226cb77bc
 MD5 (pine3.95lj1.1b2.tar.gz) = 13d549f7140e2c85c417dbed397a7810
 MD5 (pine3.95lj1.1b2-b3.diff.gz) = 5ea9dfcbc92de6da4c5efb8453a33fd7
diff -urN /usr/ports/japanese/pine/patches/patch-ab japanese/pine/patches/patch-ab
--- /usr/ports/japanese/pine/patches/patch-ab	Tue Jan 21 15:40:53 1997
+++ japanese/pine/patches/patch-ab	Sat Feb 19 04:37:15 2000
@@ -1,8 +1,8 @@
-*** pico/makefile.bsf.orig	Fri Sep 20 13:44:43 1996
---- pico/makefile.bsf	Fri Sep 20 13:44:43 1996
+*** pico/makefile.bsf.orig	Sat Feb 19 04:00:41 2000
+--- pico/makefile.bsf	Sat Feb 19 04:16:10 2000
 ***************
 *** 0 ****
---- 1,101 ----
+--- 1,110 ----
 + #
 + #   Michael Seibel
 + #   Networks and Distributed Computing
@@ -36,9 +36,8 @@
 + #for normal build
 + #DASHO=		-O
 + 
-+ STDCFLAGS=	-DBSDI -DBSDI2 -DPOSIX -DJOB_CONTROL -DANSI -DMOUSE \
-+ 		-I/usr/local/include
-+ EXTRACFLAGS=	-DKANJI -DCANNA -DHELPFILE
++ STDCFLAGS=	-DBSDI -DBSDI2 -DPOSIX -DJOB_CONTROL -DANSI -DMOUSE
++ EXTRACFLAGS=	-DKANJI -DCANNA -DHELPFILE -I${LOCALBASE}/include
 + CFLAGS+=		$(EXTRACFLAGS) $(DASHO) $(STDCFLAGS)
 + 
 + # switches for library building
@@ -46,7 +45,7 @@
 + LIBARGS=	ru
 + RANLIB=		ranlib
 + 
-+ EXTRALIBES=	-lcanna -L/usr/local/lib
++ EXTRALIBES=	-lcanna -L${LOCALBASE}/lib
 + LIBS=		$(EXTRALIBES) -ltermcap
 + 
 + OFILES=		attach.o ansi.o basic.o bind.o browse.o buffer.o \
@@ -55,6 +54,11 @@
 + 		word.o kanji.o jctype.o canna.o
 + 
 + # Lets be elite and not retype in the above
++ .if ${PORTOBJFORMAT} == "elf"
++ SOLIB=		libpico.so.1
++ .else
++ SOLIB=		libpico.so.1.3
++ .endif
 + SOFILES=	${OFILES:.o=.so}
 + 
 + CFILES=		attach.c ansi.c basic.c bind.c browse.c buffer.c \
@@ -85,13 +89,18 @@
 + 		$(LIBCMD) $(LIBARGS) libpico.a $(OFILES)
 + 		$(RANLIB) libpico.a
 + 
-+ libpico.so.1.3:	osdep.c osdep.h $(SOFILES)
-+ 		ld -Bshareable -x -o libpico.so.1.3 $(SOFILES)
++ $(SOLIB):      osdep.c osdep.h $(SOFILES)
++ .if $(PORTOBJFORMAT) == "elf"
++ 		$(CC) -shared -Wl,-x -Wl,-soname,$(SOLIB) -o $(SOLIB) $(SOFILES)
++ 		ln -sf $(SOLIB) libpico.so
++ .else
++ 		ld -Bshareable -x -o $(SOLIB) $(SOFILES)
++ .endif
 + 
-+ pico:		main.c libpico.so.1.3
++ pico:		main.c $(SOLIB)
 + 		$(CC) $(CFLAGS) main.c -L. -lpico $(LIBS) -o pico
 + 
-+ pilot:		pilot.c libpico.so.1.3
++ pilot:		pilot.c $(SOLIB)
 + 		$(CC) $(CFLAGS) pilot.c -L. -lpico $(LIBS) -o pilot
 + 
 + .c.so:		; $(CC) -fpic -DPIC -c $(CFLAGS) ${@:.so=.c} -o $@
@@ -103,4 +112,4 @@
 + $(SOFILES):	$(HFILES)
 + 
 + clean:
-+ 		rm -f *.a *.so.1.3 *.o *.so *~ osdep.c osdep.h pico pilot
++ 		rm -f *.a *.so.* *.o *.so *~ osdep.c osdep.h pico pilot
diff -urN /usr/ports/japanese/pine/patches/patch-ac japanese/pine/patches/patch-ac
--- /usr/ports/japanese/pine/patches/patch-ac	Mon Apr 21 20:20:21 1997
+++ japanese/pine/patches/patch-ac	Thu Jan  1 09:00:00 1970
@@ -1,421 +0,0 @@
-*** pine/osdep/os-bsf.h.in.orig	Fri Sep 20 13:44:43 1996
---- pine/osdep/os-bsf.h.in	Fri Sep 20 13:44:44 1996
-***************
-*** 0 ****
---- 1,416 ----
-+ /*----------------------------------------------------------------------
-+ 
-+             T H E    P I N E    M A I L   S Y S T E M
-+ 
-+    Laurence Lundblade and Mike Seibel
-+    Networks and Distributed Computing
-+    Computing and Communications
-+    University of Washington
-+    Administration Builiding, AG-44
-+    Seattle, Washington, 98195, USA
-+    Internet: lgl@CAC.Washington.EDU
-+              mikes@CAC.Washington.EDU
-+ 
-+    Please address all bugs and comments to "pine-bugs@cac.washington.edu"
-+ 
-+ 
-+    Pine and Pico are registered trademarks of the University of Washington.
-+    No commercial use of these trademarks may be made without prior written
-+    permission of the University of Washington.
-+ 
-+    Pine, Pico, and Pilot software and its included text are Copyright
-+    1989-1996 by the University of Washington.
-+ 
-+    The full text of our legal notices is contained in the file called
-+    CPYRIGHT, included with this distribution.
-+ 
-+ 
-+    Pine is in part based on The Elm Mail System:
-+     ***********************************************************************
-+     *  The Elm Mail System  -  Revision: 2.13                             *
-+     *                                                                     *
-+     * 			Copyright (c) 1986, 1987 Dave Taylor              *
-+     * 			Copyright (c) 1988, 1989 USENET Community Trust   *
-+     ***********************************************************************
-+  
-+ 
-+   ----------------------------------------------------------------------*/
-+ 
-+ #ifndef _OS_INCLUDED
-+ #define _OS_INCLUDED
-+ 
-+ 
-+ /*----------------------------------------------------------------------
-+ 
-+    This first section has some constants that you may want to change
-+    for your configuration.  This is the BSD/386 Gamma 4.1 version of the
-+    os.h file.
-+    Further down in the file are os-dependent things that need to be set up
-+    correctly for each os.  They aren't interesting, they just have to be
-+    right.  There are also a few constants down there that may be of
-+    interest to some.
-+ 
-+  ----*/
-+ 
-+ /*----------------------------------------------------------------------
-+    Define this if you want the disk quota to be checked on startup.
-+    Of course, this only makes sense if your system has quotas.  If it doesn't,
-+    there should be a dummy disk_quota() routine in os-xxx.c so that defining
-+    this won't be harmful anyway.
-+  ----*/
-+ /* #define USE_QUOTAS  /* comment out if you never want quotas checked */
-+ 
-+ 
-+ 
-+ /*----------------------------------------------------------------------
-+    Define this if you want to allow the users to change their From header
-+    line when they send out mail.  The users will still have to configure
-+    either default-composer-hdrs or customized-hdrs to get at the From
-+    header, even if this is set.
-+  ----*/
-+ #define ALLOW_CHANGING_FROM  /* comment out to not allow changing From */
-+ 
-+ 
-+ 
-+ /*----------------------------------------------------------------------
-+    Define this if you want to allow users to turn on the feature that
-+    enables sending to take place in a fork()'d child.  This may reduce
-+    the time on the user's wall clock it takes to post mail.
-+    NOTE: You'll also have to make sure the appropriate osdep/postreap.*
-+          file is included in the os-*.ic file for your system.
-+  ----*/
-+ #define BACKGROUND_POST  /* comment out to disable posting from child */
-+ 
-+ 
-+ 
-+ /*----------------------------------------------------------------------
-+     Turn this on if you want to disable the keyboard lock function.
-+  ----*/
-+ /* #define NO_KEYBOARD_LOCK */
-+ 
-+ 
-+ 
-+ /*----------------------------------------------------------------------
-+     Turn this on to trigger QP encoding of sent message text if it contains
-+   "From " at the beginning of a line or "." on a line by itself.
-+  ----*/
-+ /* #define ENCODE_FROMS */
-+ 
-+ 
-+ 
-+ /*----------------------------------------------------------------------
-+     Timeouts (seconds)
-+  ----*/
-+ #define DF_MAILCHECK      "150" /* How often to check for new mail, by
-+ 				   default.  There's some expense in doing
-+ 				   this so it shouldn't be done too
-+ 				   frequently.  (Can be set in config
-+ 				   file now.)  */
-+ 
-+ /*----------------------------------------------------------------------
-+     Check pointing (seconds)
-+  ----*/
-+ #define CHECK_POINT_TIME (7*60) /* Check point the mail file (write changes
-+ 				   to disk) if more than CHECK_POINT_TIME
-+ 				   seconds have passed since the first
-+ 				   change was made.  Depending on what is
-+ 				   happening, we may wait up to three times
-+ 				   this long, since we don't want to do the
-+ 				   slow check pointing and irritate the user. */
-+                                      
-+ #define CHECK_POINT_FREQ   (12) /* Check point the mail file if there have been
-+                                    at least this many (status) changes to the
-+ 				   current mail file.  We may wait longer if
-+ 				   it isn't a good time to do the checkpoint. */
-+ 
-+ 
-+ 
-+ /*----------------------------------------------------------------------
-+  In scrolling through text, the number of lines from the previous
-+  screen to overlap when showing the next screen.  Usually set to two.
-+  ----*/
-+ #define	DF_OVERLAP	"2"
-+ 
-+ 
-+ 
-+ /*----------------------------------------------------------------------
-+  When scrolling screens, the number of lines from top and bottom of
-+  the screen to initiate single-line scrolling.
-+  ----*/
-+ #define	DF_MARGIN	"0"
-+ 
-+ 
-+ 
-+ /*----------------------------------------------------------------------
-+  Default fill column for pine composer and maximum fill column.  The max
-+  is used to stop people from setting their custom fill column higher than
-+  that number.  Note that DF_FILLCOL is a string but MAX_FILLCOL is an integer.
-+  ----*/
-+ #define	DF_FILLCOL	"74"
-+ #define	MAX_FILLCOL	80
-+ 
-+ 
-+ 
-+ /*----- System-wide config file ----------------------------------------*/
-+ #define SYSTEM_PINERC             "@PREFIX@/etc/pine.conf"
-+ #define SYSTEM_PINERC_FIXED       "@PREFIX@/etc/pine.conf.fixed"
-+ 
-+ 
-+ 
-+ /*----------------------------------------------------------------------
-+    The default folder names and folder directories (some for backwards
-+    compatibility).  Think hard before changing any of these.
-+  ----*/
-+ #define DF_DEFAULT_FCC            "sent-mail"
-+ #define DEFAULT_SAVE              "saved-messages"
-+ #define POSTPONED_MAIL            "postponed-mail"
-+ #define POSTPONED_MSGS            "postponed-msgs"
-+ #define INTERRUPTED_MAIL          ".pine-interrupted-mail"
-+ #define DEADLETTER                "dead.letter"
-+ #define DF_MAIL_DIRECTORY         "mail"
-+ #define INBOX_NAME                "INBOX"
-+ #define DF_SIGNATURE_FILE         ".signature"
-+ #define DF_ELM_STYLE_SAVE         "no"
-+ #define DF_HEADER_IN_REPLY        "no"
-+ #define DF_OLD_STYLE_REPLY        "no"
-+ #define DF_USE_ONLY_DOMAIN_NAME   "no"
-+ #define DF_FEATURE_LEVEL          "sapling"
-+ #define DF_SAVE_BY_SENDER         "no"
-+ #define DF_SORT_KEY               "arrival"
-+ #define DF_AB_SORT_RULE           "fullname-with-lists-last"
-+ #define DF_SAVED_MSG_NAME_RULE    "default-folder"
-+ #define DF_FCC_RULE               "default-fcc"
-+ #define DF_STANDARD_PRINTER       "lpr"
-+ #define ANSI_PRINTER              "attached-to-ansi"
-+ #define DF_ADDRESSBOOK            ".addressbook"
-+ #define DF_BUGS_FULLNAME          "Pine Developers"
-+ #define DF_BUGS_ADDRESS           "pine-bugs@cac.washington.edu"
-+ #define DF_SUGGEST_FULLNAME       "Pine Developers"
-+ #define DF_SUGGEST_ADDRESS        "pine-suggestions@cac.washington.edu"
-+ #define DF_PINEINFO_FULLNAME      "Pine-Info News Group"
-+ #define DF_PINEINFO_ADDRESS       "pine-info@cac.washington.edu"
-+ #define DF_LOCAL_FULLNAME         "Local Support"
-+ #define DF_LOCAL_ADDRESS          "postmaster"
-+ #define DF_KBLOCK_PASSWD_COUNT    "1"
-+ 
-+ /*----------------------------------------------------------------------
-+    The default printer when pine starts up for the first time with no printer
-+  ----*/
-+ #define DF_DEFAULT_PRINTER        ANSI_PRINTER
-+ 
-+ 
-+ 
-+ /*----------------------------------------------------------------------
-+ 
-+    OS dependencies, BSD/386 Gamma 4.1 version.  See also the os-bsi.c files.
-+    The following stuff may need to be changed for a new port, but once
-+    the port is done, it won't change.  At the bottom of the file are a few
-+    constants that you may want to configure differently than they
-+    are configured, but probably not.
-+ 
-+  ----*/
-+ 
-+ 
-+ 
-+ /*----------------- Are we ANSI? ---------------------------------------*/
-+ #define ANSI		/* this is an ANSI compiler */
-+ 
-+ /*------ If our compiler doesn't understand type void ------------------*/
-+ /* #define void char     /* no void in compiler */
-+ 
-+ 
-+ 
-+ /*------- Some more includes that should usually be correct ------------*/
-+ #include <pwd.h>
-+ #include <sys/wait.h>
-+ #include <sys/stat.h>
-+ #include <fcntl.h>
-+ #include <netdb.h>
-+ 
-+ 
-+ 
-+ /*----------------- locale.h -------------------------------------------*/
-+ #include <locale.h>  /* To make matching and sorting work right */
-+ 
-+ 
-+ 
-+ /*----------------- time.h ---------------------------------------------*/
-+ #include <time.h>
-+ /* plain time.h isn't enough on some systems */
-+ /* #include <sys/time.h>  /* For struct timeval usually in time.h */ 
-+ 
-+ 
-+ 
-+ /*--------------- signal.h ---------------------------------------------*/
-+ #include <signal.h>      /* sometimes both required, sometimes */
-+ /* #include <sys/signal.h>  /* only one or the other */
-+ 
-+ #define SigType void     /* value returned by sig handlers is void */
-+ /* #define SigType int      /* value returned by sig handlers is int */
-+ 
-+ #define POSIX_SIGNALS    /* use POSIX signal semantics (ttyin.c) */
-+ /* #define SYSV_SIGNALS    /* use System-V signal semantics (ttyin.c) */
-+ 
-+ 
-+ 
-+ 
-+ /*-------------- A couple typedef's for integer sizes ------------------*/
-+ typedef unsigned int usign32_t;
-+ typedef unsigned short usign16_t;
-+ 
-+ 
-+ 
-+ /*-------------- qsort argument type -----------------------------------*/
-+ #define QSType void  /* qsort arg is of type void * */
-+ /* #define QSType char  /* qsort arg is of type char * */
-+ 
-+ 
-+ 
-+ /*-------------- fcntl flag to set non-blocking IO ---------------------*/
-+ #define	NON_BLOCKING_IO	O_NONBLOCK		/* POSIX style */
-+ /* #define	NON_BLOCKING_IO	FNDELAY		/* good ol' bsd style  */
-+ 
-+ 
-+ #ifdef HELPFILE
-+ #undef HELPFILE
-+ #define HELPFILE        "@PREFIX@/lib/pine/pine.hlp"
-+ #define HELPINDEX       "@PREFIX@/lib/pine/pine.ndx"
-+ #endif
-+ 
-+ /*------ how help text is referenced (always char ** on Unix) ----------*/
-+ #ifdef HELPFILE
-+ #define HelpType char **
-+ #define HelpType short
-+ #define NO_HELP  (-1)
-+ #else
-+ #define HelpType char **
-+ #define NO_HELP (char **)NULL
-+ #endif
-+ 
-+ 
-+ /*
-+  * Choose one of the following three terminal drivers
-+  */
-+ 
-+ /*--------- Good 'ol BSD -----------------------------------------------*/
-+ /* #include <sgtty.h>      /* BSD-based systems */
-+ 
-+ /*--------- System V terminal driver -----------------------------------*/
-+ /* #define HAVE_TERMIO     /* this is for pure System V */
-+ /* #include <termio.h>     /* Sys V */
-+ 
-+ /*--------- POSIX terminal driver --------------------------------------*/
-+ #define HAVE_TERMIOS    /* this is an alternative */
-+ #include <termios.h>    /* POSIX */
-+ 
-+ 
-+ 
-+ /*-------- Use poll system call instead of select ----------------------*/
-+ /* #define USE_POLL        /* use the poll() system call instead of select() */
-+ 
-+ 
-+ 
-+ /*-------- Use terminfo database instead of termcap --------------------*/
-+ /* #define USE_TERMINFO    /* use terminfo instead of termcap */
-+ 
-+ 
-+ 
-+ /*-- What argument does wait(2) take? Define this if it is a union -----*/
-+ /* #define HAVE_WAIT_UNION  /* the arg to wait is a union wait * */
-+ 
-+ 
-+ 
-+ /*-------- Is window resizing available? -------------------------------*/
-+ #if defined(TIOCGWINSZ) && defined(SIGWINCH)
-+ #define RESIZING  /* SIGWINCH and friends */
-+ #endif
-+ 
-+ 
-+ 
-+ /*-------- If no vfork, use regular fork -------------------------------*/
-+ /* #define vfork fork  /* vfork is just a lightweight fork, so can use fork */
-+ 
-+ 
-+ 
-+ /*----- The usual sendmail configuration for sending mail on Unix ------*/
-+ #define SENDMAIL	"/usr/sbin/sendmail"
-+ #define SENDMAILFLAGS	"-bs -odb -oem"	/* send via smtp with backgroud
-+ 					   delivery and mail back errors */
-+ 
-+ 
-+ /*----------------------------------------------------------------------
-+    If no nntp-servers are defined, this program will be used to post news.
-+  ----*/
-+ #define SENDNEWS	"/usr/local/news/lib/inews -h"	/* news posting cmd */
-+ 
-+ 
-+ /*--------- Program employed by users to change their password ---------*/
-+ #define	PASSWD_PROG	"/usr/bin/passwd"
-+ 
-+ 
-+ /*-------------- A couple constants used to size arrays ----------------*/
-+ #include <sys/param.h>          /* Get it from param.h if available */
-+ #undef MAXPATH                  /* Sometimes defined in param.h differently */
-+ #define MAXPATH MAXPATHLEN      /* Longest pathname we ever expect */
-+ /* #define MAXPATH        (512)    /* Longest pathname we ever expect */
-+ #define MAXFOLDER      (64)     /* Longest foldername we ever expect */  
-+ 
-+ 
-+ /*-- Max screen pine will display on. Used to define some array sizes --*/
-+ #define MAX_SCREEN_COLS  (170) 
-+ #define MAX_SCREEN_ROWS  (200) 
-+ 
-+ 
-+ /*---- When no screen size can be discovered this is the size used -----*/
-+ #define DEFAULT_LINES_ON_TERMINAL	(24)
-+ #define DEFAULT_COLUMNS_ON_TERMINAL	(80)
-+ 
-+ 
-+ /*----------------------------------------------------------------------
-+     Where to put the output of pine in debug mode. Files are created
-+  in the user's home directory and have a number appended to them when
-+  there is more than one.
-+  ----*/
-+ #define DEBUGFILE	".pine-debug"
-+ 
-+ /*----------------------------------------------------------------------
-+     The number of debug files to save in the user's home diretory. The files
-+  are useful for figuring out what a user did when he complains that something
-+  went wrong. It's important to keep a bunch around, usually 4, so that the
-+  debug file in question will still be around when the problem gets 
-+  investigated. Users tend to go in and out of Pine a few times and there
-+  is one file for each pine invocation
-+  ----*/
-+ #define NUMDEBUGFILES 4
-+ 
-+ /*----------------------------------------------------------------------
-+    The default debug level to set (approximate meanings):
-+        1 logs only highest level events and errors
-+        2 logs events like file writes
-+        3
-+        4 logs each command
-+        5
-+        6 
-+        7 logs details of command execution (7 is highest to run any production)
-+        8
-+        9 logs gross details of command execution
-+  ----*/
-+ #define DEFAULT_DEBUG 2
-+ 
-+ 
-+ 
-+ /*----------------------------------------------------------------------
-+     Various maximum field lengths, probably shouldn't be changed.
-+  ----*/
-+ #define MAX_FULLNAME     (100) 
-+ #define MAX_NICKNAME      (40)
-+ #define MAX_ADDRESS      (200)
-+ #define MAX_NEW_LIST     (500)  /* Max addrs to be added when creating list */
-+ #define MAX_SEARCH       (100)  /* Longest string to search for             */
-+ #define MAX_ADDR_EXPN   (1000)  /* Longest expanded addr                    */
-+ #define MAX_ADDR_FIELD (10000)  /* Longest fully-expanded addr field        */
-+ 
-+ 
-+ #endif /* _OS_INCLUDED */
-+ 
-+ 
diff -urN /usr/ports/japanese/pine/patches/patch-ae japanese/pine/patches/patch-ae
--- /usr/ports/japanese/pine/patches/patch-ae	Tue Jan 21 15:40:55 1997
+++ japanese/pine/patches/patch-ae	Sat Feb 19 04:04:22 2000
@@ -1,5 +1,5 @@
-*** pine/makefile.bsf.orig	Fri Sep 20 13:44:43 1996
---- pine/makefile.bsf	Fri Sep 20 13:44:43 1996
+*** pine/makefile.bsf.orig	Sat Feb 19 04:00:42 2000
+--- pine/makefile.bsf	Sat Feb 19 04:03:25 2000
 ***************
 *** 0 ****
 --- 1,156 ----
@@ -61,11 +61,11 @@
 + #LOCLIBES=   $(PICODIR)/libpico.a $(IMAPDIR)/c-client.a
 + LOCLIBES=    -lpico ${IMAPDIR}/c-client.a
 + LOCLIBDIR=   -L$(PICODIR)
-+ EXTRALIBES=  -L/usr/local/lib -lcanna
++ EXTRALIBES=  -L${LOCALBASE}/lib -lcanna
 + LIBES=       $(LOCLIBDIR) $(LOCLIBES) $(EXTRALIBES) $(STDLIBES)
 + 
-+ STDCFLAGS=   -DBSDI -DSYSTYPE=\"BSF\" -DMOUSE -I/usr/local/include
-+ EXTRACFLAGS= -DKANJI -DCANNA -DHELPFILE
++ STDCFLAGS=   -DBSDI -DSYSTYPE=\"BSF\" -DMOUSE
++ EXTRACFLAGS= -DKANJI -DCANNA -DHELPFILE -I${LOCALBASE}/include
 + CFLAGS+=      $(OPTIMIZE) $(PROFILE) $(DEBUG) $(EXTRACFLAGS) $(STDCFLAGS)
 + 
 + obj=    addrbook.o adrbklib.o args.o context.o filter.o \
diff -urN /usr/ports/japanese/pine/patches/patch-al japanese/pine/patches/patch-al
--- /usr/ports/japanese/pine/patches/patch-al	Tue Jan 21 15:40:57 1997
+++ japanese/pine/patches/patch-al	Sat Feb 19 04:01:54 2000
@@ -1,5 +1,5 @@
-*** build.orig	Tue Jan 21 14:26:05 1997
---- build	Tue Jan 21 14:55:43 1997
+*** build.orig	Sat Feb 19 04:00:21 2000
+--- build	Sat Feb 19 04:01:33 2000
 ***************
 *** 168,181 ****
           cd $PHOME/bin
@@ -16,20 +16,7 @@
           echo "Done"
           ;;
   
---- 168,180 ----
-          cd $PHOME/bin
-          rm -f pine mtest imapd pico pilot
-          if [ -s ../pine/pine ] ;      then ln ../pine/pine  pine      ; fi
-          if [ -s ../pico/pico ] ;      then ln ../pico/pico pico ; fi
-          if [ -s ../pico/pilot ] ;     then ln ../pico/pilot pilot ; fi
-+         if [ -s ../pico/libpico.so.1.3 ] ;     
-+ 		then ln ../pico/libpico.so.1.3 libpico.so.1.3 ; fi
-          cd $PHOME
-          echo ''
-          echo "Links to executables are in bin directory:"
-          echo "Done"
-          ;;
-  
+--- 168,178 ----
 ***************
 *** 186,195 ****
   	make clean
@@ -42,7 +29,7 @@
           echo "Done"
           cd $PHOME
           ;;
---- 185,194 ----
+--- 183,192 ----
   	make clean
           echo "Cleaning Pine"
           cd $PHOME/pine
diff -urN /usr/ports/japanese/pine/patches/patch-am japanese/pine/patches/patch-am
--- /usr/ports/japanese/pine/patches/patch-am	Thu Jan  1 09:00:00 1970
+++ japanese/pine/patches/patch-am	Sat Feb 19 05:49:13 2000
@@ -0,0 +1,17 @@
+*** imap/ANSI/c-client/os_bsi.h.orig	Wed Feb  7 12:01:07 1996
+--- imap/ANSI/c-client/os_bsi.h	Sat Feb 19 03:22:07 2000
+***************
+*** 36,42 ****
+--- 36,47 ----
+  #include <stdlib.h>
+  #include <string.h>
+  #include <sys/types.h>
++ #ifdef __FreeBSD__
++ #include <dirent.h>
++ #define direct dirent
++ #else
+  #include <sys/dir.h>
++ #endif
+  #include <sys/uio.h>		/* needed for writev() prototypes */
+  #include <fcntl.h>
+  #include <syslog.h>
diff -urN /usr/ports/japanese/pine/patches/patch-an japanese/pine/patches/patch-an
--- /usr/ports/japanese/pine/patches/patch-an	Thu Jan  1 09:00:00 1970
+++ japanese/pine/patches/patch-an	Mon Feb 21 21:31:37 2000
@@ -0,0 +1,420 @@
+*** pine/osdep/os-bsf.h.orig	Sat Feb 19 03:24:23 2000
+--- pine/osdep/os-bsf.h	Sat Feb 19 03:24:40 2000
+***************
+*** 0 ****
+--- 1,415 ----
++ /*----------------------------------------------------------------------
++ 
++             T H E    P I N E    M A I L   S Y S T E M
++ 
++    Laurence Lundblade and Mike Seibel
++    Networks and Distributed Computing
++    Computing and Communications
++    University of Washington
++    Administration Builiding, AG-44
++    Seattle, Washington, 98195, USA
++    Internet: lgl@CAC.Washington.EDU
++              mikes@CAC.Washington.EDU
++ 
++    Please address all bugs and comments to "pine-bugs@cac.washington.edu"
++ 
++ 
++    Pine and Pico are registered trademarks of the University of Washington.
++    No commercial use of these trademarks may be made without prior written
++    permission of the University of Washington.
++ 
++    Pine, Pico, and Pilot software and its included text are Copyright
++    1989-1996 by the University of Washington.
++ 
++    The full text of our legal notices is contained in the file called
++    CPYRIGHT, included with this distribution.
++ 
++ 
++    Pine is in part based on The Elm Mail System:
++     ***********************************************************************
++     *  The Elm Mail System  -  Revision: 2.13                             *
++     *                                                                     *
++     * 			Copyright (c) 1986, 1987 Dave Taylor              *
++     * 			Copyright (c) 1988, 1989 USENET Community Trust   *
++     ***********************************************************************
++  
++ 
++   ----------------------------------------------------------------------*/
++ 
++ #ifndef _OS_INCLUDED
++ #define _OS_INCLUDED
++ 
++ 
++ /*----------------------------------------------------------------------
++ 
++    This first section has some constants that you may want to change
++    for your configuration.  This is the BSD/386 Gamma 4.1 version of the
++    os.h file.
++    Further down in the file are os-dependent things that need to be set up
++    correctly for each os.  They aren't interesting, they just have to be
++    right.  There are also a few constants down there that may be of
++    interest to some.
++ 
++  ----*/
++ 
++ /*----------------------------------------------------------------------
++    Define this if you want the disk quota to be checked on startup.
++    Of course, this only makes sense if your system has quotas.  If it doesn't,
++    there should be a dummy disk_quota() routine in os-xxx.c so that defining
++    this won't be harmful anyway.
++  ----*/
++ /* #define USE_QUOTAS  /* comment out if you never want quotas checked */
++ 
++ 
++ 
++ /*----------------------------------------------------------------------
++    Define this if you want to allow the users to change their From header
++    line when they send out mail.  The users will still have to configure
++    either default-composer-hdrs or customized-hdrs to get at the From
++    header, even if this is set.
++  ----*/
++ #define ALLOW_CHANGING_FROM  /* comment out to not allow changing From */
++ 
++ 
++ 
++ /*----------------------------------------------------------------------
++    Define this if you want to allow users to turn on the feature that
++    enables sending to take place in a fork()'d child.  This may reduce
++    the time on the user's wall clock it takes to post mail.
++    NOTE: You'll also have to make sure the appropriate osdep/postreap.*
++          file is included in the os-*.ic file for your system.
++  ----*/
++ #define BACKGROUND_POST  /* comment out to disable posting from child */
++ 
++ 
++ 
++ /*----------------------------------------------------------------------
++     Turn this on if you want to disable the keyboard lock function.
++  ----*/
++ /* #define NO_KEYBOARD_LOCK */
++ 
++ 
++ 
++ /*----------------------------------------------------------------------
++     Turn this on to trigger QP encoding of sent message text if it contains
++   "From " at the beginning of a line or "." on a line by itself.
++  ----*/
++ /* #define ENCODE_FROMS */
++ 
++ 
++ 
++ /*----------------------------------------------------------------------
++     Timeouts (seconds)
++  ----*/
++ #define DF_MAILCHECK      "150" /* How often to check for new mail, by
++ 				   default.  There's some expense in doing
++ 				   this so it shouldn't be done too
++ 				   frequently.  (Can be set in config
++ 				   file now.)  */
++ 
++ /*----------------------------------------------------------------------
++     Check pointing (seconds)
++  ----*/
++ #define CHECK_POINT_TIME (7*60) /* Check point the mail file (write changes
++ 				   to disk) if more than CHECK_POINT_TIME
++ 				   seconds have passed since the first
++ 				   change was made.  Depending on what is
++ 				   happening, we may wait up to three times
++ 				   this long, since we don't want to do the
++ 				   slow check pointing and irritate the user. */
++                                      
++ #define CHECK_POINT_FREQ   (12) /* Check point the mail file if there have been
++                                    at least this many (status) changes to the
++ 				   current mail file.  We may wait longer if
++ 				   it isn't a good time to do the checkpoint. */
++ 
++ 
++ 
++ /*----------------------------------------------------------------------
++  In scrolling through text, the number of lines from the previous
++  screen to overlap when showing the next screen.  Usually set to two.
++  ----*/
++ #define	DF_OVERLAP	"2"
++ 
++ 
++ 
++ /*----------------------------------------------------------------------
++  When scrolling screens, the number of lines from top and bottom of
++  the screen to initiate single-line scrolling.
++  ----*/
++ #define	DF_MARGIN	"0"
++ 
++ 
++ 
++ /*----------------------------------------------------------------------
++  Default fill column for pine composer and maximum fill column.  The max
++  is used to stop people from setting their custom fill column higher than
++  that number.  Note that DF_FILLCOL is a string but MAX_FILLCOL is an integer.
++  ----*/
++ #define	DF_FILLCOL	"74"
++ #define	MAX_FILLCOL	80
++ 
++ 
++ 
++ /*----- System-wide config file ----------------------------------------*/
++ #define SYSTEM_PINERC             "%%PREFIX%%/etc/pine.conf"
++ #define SYSTEM_PINERC_FIXED       "%%PREFIX%%/etc/pine.conf.fixed"
++ 
++ 
++ 
++ /*----------------------------------------------------------------------
++    The default folder names and folder directories (some for backwards
++    compatibility).  Think hard before changing any of these.
++  ----*/
++ #define DF_DEFAULT_FCC            "sent-mail"
++ #define DEFAULT_SAVE              "saved-messages"
++ #define POSTPONED_MAIL            "postponed-mail"
++ #define POSTPONED_MSGS            "postponed-msgs"
++ #define INTERRUPTED_MAIL          ".pine-interrupted-mail"
++ #define DEADLETTER                "dead.letter"
++ #define DF_MAIL_DIRECTORY         "mail"
++ #define INBOX_NAME                "INBOX"
++ #define DF_SIGNATURE_FILE         ".signature"
++ #define DF_ELM_STYLE_SAVE         "no"
++ #define DF_HEADER_IN_REPLY        "no"
++ #define DF_OLD_STYLE_REPLY        "no"
++ #define DF_USE_ONLY_DOMAIN_NAME   "no"
++ #define DF_FEATURE_LEVEL          "sapling"
++ #define DF_SAVE_BY_SENDER         "no"
++ #define DF_SORT_KEY               "arrival"
++ #define DF_AB_SORT_RULE           "fullname-with-lists-last"
++ #define DF_SAVED_MSG_NAME_RULE    "default-folder"
++ #define DF_FCC_RULE               "default-fcc"
++ #define DF_STANDARD_PRINTER       "lpr"
++ #define ANSI_PRINTER              "attached-to-ansi"
++ #define DF_ADDRESSBOOK            ".addressbook"
++ #define DF_BUGS_FULLNAME          "Pine Developers"
++ #define DF_BUGS_ADDRESS           "pine-bugs@cac.washington.edu"
++ #define DF_SUGGEST_FULLNAME       "Pine Developers"
++ #define DF_SUGGEST_ADDRESS        "pine-suggestions@cac.washington.edu"
++ #define DF_PINEINFO_FULLNAME      "Pine-Info News Group"
++ #define DF_PINEINFO_ADDRESS       "pine-info@cac.washington.edu"
++ #define DF_LOCAL_FULLNAME         "Local Support"
++ #define DF_LOCAL_ADDRESS          "postmaster"
++ #define DF_KBLOCK_PASSWD_COUNT    "1"
++ 
++ /*----------------------------------------------------------------------
++    The default printer when pine starts up for the first time with no printer
++  ----*/
++ #define DF_DEFAULT_PRINTER        ANSI_PRINTER
++ 
++ 
++ 
++ /*----------------------------------------------------------------------
++ 
++    OS dependencies, BSD/386 Gamma 4.1 version.  See also the os-bsi.c files.
++    The following stuff may need to be changed for a new port, but once
++    the port is done, it won't change.  At the bottom of the file are a few
++    constants that you may want to configure differently than they
++    are configured, but probably not.
++ 
++  ----*/
++ 
++ 
++ 
++ /*----------------- Are we ANSI? ---------------------------------------*/
++ #define ANSI		/* this is an ANSI compiler */
++ 
++ /*------ If our compiler doesn't understand type void ------------------*/
++ /* #define void char     /* no void in compiler */
++ 
++ 
++ 
++ /*------- Some more includes that should usually be correct ------------*/
++ #include <pwd.h>
++ #include <sys/wait.h>
++ #include <sys/stat.h>
++ #include <fcntl.h>
++ #include <netdb.h>
++ 
++ 
++ 
++ /*----------------- locale.h -------------------------------------------*/
++ #include <locale.h>  /* To make matching and sorting work right */
++ 
++ 
++ 
++ /*----------------- time.h ---------------------------------------------*/
++ #include <time.h>
++ /* plain time.h isn't enough on some systems */
++ /* #include <sys/time.h>  /* For struct timeval usually in time.h */ 
++ 
++ 
++ 
++ /*--------------- signal.h ---------------------------------------------*/
++ #include <signal.h>      /* sometimes both required, sometimes */
++ /* #include <sys/signal.h>  /* only one or the other */
++ 
++ #define SigType void     /* value returned by sig handlers is void */
++ /* #define SigType int      /* value returned by sig handlers is int */
++ 
++ #define POSIX_SIGNALS    /* use POSIX signal semantics (ttyin.c) */
++ /* #define SYSV_SIGNALS    /* use System-V signal semantics (ttyin.c) */
++ 
++ 
++ 
++ 
++ /*-------------- A couple typedef's for integer sizes ------------------*/
++ typedef unsigned int usign32_t;
++ typedef unsigned short usign16_t;
++ 
++ 
++ 
++ /*-------------- qsort argument type -----------------------------------*/
++ #define QSType void  /* qsort arg is of type void * */
++ /* #define QSType char  /* qsort arg is of type char * */
++ 
++ 
++ 
++ /*-------------- fcntl flag to set non-blocking IO ---------------------*/
++ #define	NON_BLOCKING_IO	O_NONBLOCK		/* POSIX style */
++ /* #define	NON_BLOCKING_IO	FNDELAY		/* good ol' bsd style  */
++ 
++ 
++ #ifdef HELPFILE
++ #undef HELPFILE
++ #define HELPFILE        "%%PREFIX%%/libdata/pine/pine.hlp"
++ #define HELPINDEX       "%%PREFIX%%/libdata/pine/pine.ndx"
++ #endif
++ 
++ /*------ how help text is referenced (always char ** on Unix) ----------*/
++ #ifdef HELPFILE
++ #define HelpType short
++ #define NO_HELP  (-1)
++ #else
++ #define HelpType char **
++ #define NO_HELP (char **)NULL
++ #endif
++ 
++ 
++ /*
++  * Choose one of the following three terminal drivers
++  */
++ 
++ /*--------- Good 'ol BSD -----------------------------------------------*/
++ /* #include <sgtty.h>      /* BSD-based systems */
++ 
++ /*--------- System V terminal driver -----------------------------------*/
++ /* #define HAVE_TERMIO     /* this is for pure System V */
++ /* #include <termio.h>     /* Sys V */
++ 
++ /*--------- POSIX terminal driver --------------------------------------*/
++ #define HAVE_TERMIOS    /* this is an alternative */
++ #include <termios.h>    /* POSIX */
++ 
++ 
++ 
++ /*-------- Use poll system call instead of select ----------------------*/
++ /* #define USE_POLL        /* use the poll() system call instead of select() */
++ 
++ 
++ 
++ /*-------- Use terminfo database instead of termcap --------------------*/
++ /* #define USE_TERMINFO    /* use terminfo instead of termcap */
++ 
++ 
++ 
++ /*-- What argument does wait(2) take? Define this if it is a union -----*/
++ /* #define HAVE_WAIT_UNION  /* the arg to wait is a union wait * */
++ 
++ 
++ 
++ /*-------- Is window resizing available? -------------------------------*/
++ #if defined(TIOCGWINSZ) && defined(SIGWINCH)
++ #define RESIZING  /* SIGWINCH and friends */
++ #endif
++ 
++ 
++ 
++ /*-------- If no vfork, use regular fork -------------------------------*/
++ /* #define vfork fork  /* vfork is just a lightweight fork, so can use fork */
++ 
++ 
++ 
++ /*----- The usual sendmail configuration for sending mail on Unix ------*/
++ #define SENDMAIL	"/usr/sbin/sendmail"
++ #define SENDMAILFLAGS	"-bs -odb -oem"	/* send via smtp with backgroud
++ 					   delivery and mail back errors */
++ 
++ 
++ /*----------------------------------------------------------------------
++    If no nntp-servers are defined, this program will be used to post news.
++  ----*/
++ #define SENDNEWS	"%%LOCALBASE%%/news/lib/inews -h"	/* news posting cmd */
++ 
++ 
++ /*--------- Program employed by users to change their password ---------*/
++ #define	PASSWD_PROG	"/usr/bin/passwd"
++ 
++ 
++ /*-------------- A couple constants used to size arrays ----------------*/
++ #include <sys/param.h>          /* Get it from param.h if available */
++ #undef MAXPATH                  /* Sometimes defined in param.h differently */
++ #define MAXPATH MAXPATHLEN      /* Longest pathname we ever expect */
++ /* #define MAXPATH        (512)    /* Longest pathname we ever expect */
++ #define MAXFOLDER      (64)     /* Longest foldername we ever expect */  
++ 
++ 
++ /*-- Max screen pine will display on. Used to define some array sizes --*/
++ #define MAX_SCREEN_COLS  (170) 
++ #define MAX_SCREEN_ROWS  (200) 
++ 
++ 
++ /*---- When no screen size can be discovered this is the size used -----*/
++ #define DEFAULT_LINES_ON_TERMINAL	(24)
++ #define DEFAULT_COLUMNS_ON_TERMINAL	(80)
++ 
++ 
++ /*----------------------------------------------------------------------
++     Where to put the output of pine in debug mode. Files are created
++  in the user's home directory and have a number appended to them when
++  there is more than one.
++  ----*/
++ #define DEBUGFILE	".pine-debug"
++ 
++ /*----------------------------------------------------------------------
++     The number of debug files to save in the user's home diretory. The files
++  are useful for figuring out what a user did when he complains that something
++  went wrong. It's important to keep a bunch around, usually 4, so that the
++  debug file in question will still be around when the problem gets 
++  investigated. Users tend to go in and out of Pine a few times and there
++  is one file for each pine invocation
++  ----*/
++ #define NUMDEBUGFILES 4
++ 
++ /*----------------------------------------------------------------------
++    The default debug level to set (approximate meanings):
++        1 logs only highest level events and errors
++        2 logs events like file writes
++        3
++        4 logs each command
++        5
++        6 
++        7 logs details of command execution (7 is highest to run any production)
++        8
++        9 logs gross details of command execution
++  ----*/
++ #define DEFAULT_DEBUG 2
++ 
++ 
++ 
++ /*----------------------------------------------------------------------
++     Various maximum field lengths, probably shouldn't be changed.
++  ----*/
++ #define MAX_FULLNAME     (100) 
++ #define MAX_NICKNAME      (40)
++ #define MAX_ADDRESS      (200)
++ #define MAX_NEW_LIST     (500)  /* Max addrs to be added when creating list */
++ #define MAX_SEARCH       (100)  /* Longest string to search for             */
++ #define MAX_ADDR_EXPN   (1000)  /* Longest expanded addr                    */
++ #define MAX_ADDR_FIELD (10000)  /* Longest fully-expanded addr field        */
++ 
++ 
++ #endif /* _OS_INCLUDED */
++ 
++ 
diff -urN /usr/ports/japanese/pine/pkg/PLIST japanese/pine/pkg/PLIST
--- /usr/ports/japanese/pine/pkg/PLIST	Tue Sep  1 07:47:13 1998
+++ japanese/pine/pkg/PLIST	Sat Feb 19 04:21:05 2000
@@ -1,10 +1,12 @@
 bin/pico
 bin/pilot
 bin/pine
-lib/libpico.so.1.3
-@exec /sbin/ldconfig -m %B
-@unexec /sbin/ldconfig -R
-lib/pine/pine.hlp
-lib/pine/pine.ndx
-lib/pine/pine_ja.hlp
-lib/pine/pine_ja.ndx
+lib/libpico.so
+lib/libpico.so.1
+@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
+@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
+libdata/pine/pine.hlp
+libdata/pine/pine.ndx
+libdata/pine/pine_ja.hlp
+libdata/pine/pine_ja.ndx
+@dirrm libdata/pine
diff -urN /usr/ports/japanese/pine/scripts/configure japanese/pine/scripts/configure
--- /usr/ports/japanese/pine/scripts/configure	Fri Sep 20 14:47:59 1996
+++ japanese/pine/scripts/configure	Thu Jan  1 09:00:00 1970
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-sed s+@PREFIX@+${PREFIX}+ ${WRKSRC}/pine/osdep/os-bsf.h.in >${WRKSRC}/pine/osdep/os-bsf.h


>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?200002211404.GAA19291>