mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
Japanized pine for reading and writing Japanese mails (obviously!).
Submitted by: max@sfc.wide.ad.jp
This commit is contained in:
parent
e7d7e60555
commit
0ad8957a8e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=3047
61
japanese/pine/Makefile
Normal file
61
japanese/pine/Makefile
Normal file
@ -0,0 +1,61 @@
|
||||
# New ports collection makefile for: jp-pine
|
||||
# Version required: 3.91
|
||||
# Date created: 14 Apr 1996
|
||||
# Whom: masafumi
|
||||
#
|
||||
# $Id: Makefile,v 1.11 1995/08/14 11:52:36 asami Exp $
|
||||
#
|
||||
|
||||
DISTNAME= pine3.91
|
||||
PKGNAME= jp-pine-3.91
|
||||
CATEGORIES+= japanese mail
|
||||
MASTER_SITES= ftp://ftp.cac.washington.edu/pine/ \
|
||||
ftp://ftp.noc.titech.ac.jp/pub/tmp/aki/pine/
|
||||
DISTFILES= pine3.91.tar.Z pine3.91j1.0.tar.gz
|
||||
|
||||
PATCHFILES= pine3.91j1.0-1.0.1.gz pine3.91j1.0.1-1.0.2.gz
|
||||
PATCH_SITES= ftp://ftp.noc.titech.ac.jp/pub/tmp/aki/pine/
|
||||
|
||||
MAINTAINER= max@sfc.wide.ad.jp
|
||||
|
||||
EXTRACT_ONLY= pine3.91.tar.Z
|
||||
|
||||
pre-patch:
|
||||
@(cd ${WRKSRC}; \
|
||||
tar zxf ${DISTDIR}/pine3.91j1.0.tar.gz; \
|
||||
patch -s -p1 <pine3.91j1.0.diff)
|
||||
|
||||
.if defined(BATCH)
|
||||
do-configure:
|
||||
@(if [ ! -f ${WRKSRC}/pine/pine-e.hlp ]; then; \
|
||||
mv ${WRKSRC}/pine/pine.hlp ${WRKSRC}/pine/pine-e.hlp ; \
|
||||
fi)
|
||||
@ln -fs ${WRKSRC}/pine/pine-j.hlp ${WRKSRC}/pine/pine.hlp
|
||||
.endif
|
||||
|
||||
BUILD_DEPENDS= ${PREFIX}/lib/libmimekit.a:${PORTSDIR}/japanese/mimekit
|
||||
|
||||
do-build:
|
||||
(cd ${WRKSRC}; ./build bsf)
|
||||
|
||||
do-install:
|
||||
install -cs -o bin -g bin ${WRKSRC}/bin/imapd ${PREFIX}/libexec/imapd
|
||||
install -cs -o bin -g bin ${WRKSRC}/imap/systype/ipopd/ipop2d ${PREFIX}/libexec/ipop2d
|
||||
install -cs -o bin -g bin ${WRKSRC}/imap/systype/ipopd/ipop3d ${PREFIX}/libexec/ipop3d
|
||||
install -cs -o bin -g bin ${WRKSRC}/bin/mtest ${PREFIX}/bin/mtest
|
||||
install -cs -o bin -g bin ${WRKSRC}/bin/pico ${PREFIX}/bin/pico
|
||||
install -cs -o bin -g bin ${WRKSRC}/bin/pine ${PREFIX}/bin/pine
|
||||
install -c -o bin -g bin ${WRKSRC}/doc/pico.1 ${PREFIX}/man/man1/pico.1
|
||||
install -c -o bin -g bin ${WRKSRC}/doc/pine.1 ${PREFIX}/man/man1/pine.1
|
||||
install -c -o bin -g bin ${WRKSRC}/imap/systype/imapd/imapd.8c ${PREFIX}/man/man8/imapd.8c
|
||||
install -c -o bin -g bin ${WRKSRC}/imap/systype/ipopd/ipopd.8c ${PREFIX}/man/man8/ipopd.8c
|
||||
|
||||
post-install:
|
||||
.if !defined(NOMANCOMPRESS)
|
||||
gzip -9nf ${PREFIX}/man/man1/pine.1
|
||||
gzip -9nf ${PREFIX}/man/man1/pico.1
|
||||
gzip -9nf ${PREFIX}/man/man8/imapd.8c
|
||||
gzip -9nf ${PREFIX}/man/man8/ipopd.8c
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
4
japanese/pine/distinfo
Normal file
4
japanese/pine/distinfo
Normal file
@ -0,0 +1,4 @@
|
||||
MD5 (pine3.91.tar.Z) = 86e08fe40d503d4e65febecd41531712
|
||||
MD5 (pine3.91j1.0.tar.gz) = 9f7e94ad50fcff6e3d006896a3cc0a14
|
||||
MD5 (pine3.91j1.0-1.0.1.gz) = 049a1796d7df24725bb3bce43a232e36
|
||||
MD5 (pine3.91j1.0.1-1.0.2.gz) = 9afa4c2d22b198c13dc7e71849aa4dd8
|
45
japanese/pine/files/patch-aa
Normal file
45
japanese/pine/files/patch-aa
Normal file
@ -0,0 +1,45 @@
|
||||
*** imap/ANSI/c-client/mtest.c.bak Mon Sep 5 05:41:28 1994
|
||||
--- imap/ANSI/c-client/mtest.c Mon Nov 20 03:00:21 1995
|
||||
***************
|
||||
*** 454,461 ****
|
||||
|
||||
void prompt (char *msg,char *txt)
|
||||
{
|
||||
printf ("%s",msg);
|
||||
! gets (txt);
|
||||
}
|
||||
|
||||
/* Interfaces to C-client */
|
||||
--- 454,465 ----
|
||||
|
||||
void prompt (char *msg,char *txt)
|
||||
{
|
||||
+ char *s;
|
||||
printf ("%s",msg);
|
||||
! *txt = '\0';
|
||||
! fgets (txt, MAILTMPLEN, stdin);
|
||||
! if (s = strchr(txt, '\n'))
|
||||
! *s = '\0';
|
||||
}
|
||||
|
||||
/* Interfaces to C-client */
|
||||
***************
|
||||
*** 600,606 ****
|
||||
puts (" Msg (end with a line with only a '.'):");
|
||||
body->type = TYPETEXT;
|
||||
*text = '\0';
|
||||
! while (gets (line)) {
|
||||
if (line[0] == '.') {
|
||||
if (line[1] == '\0') break;
|
||||
else strcat ((char *) text,".");
|
||||
--- 604,613 ----
|
||||
puts (" Msg (end with a line with only a '.'):");
|
||||
body->type = TYPETEXT;
|
||||
*text = '\0';
|
||||
! while (fgets (line, sizeof(line), stdin)) {
|
||||
! char *s = strchr(line, '\n');
|
||||
! if (s)
|
||||
! *s = '\0';
|
||||
if (line[0] == '.') {
|
||||
if (line[1] == '\0') break;
|
||||
else strcat ((char *) text,".");
|
34
japanese/pine/files/patch-ab
Normal file
34
japanese/pine/files/patch-ab
Normal file
@ -0,0 +1,34 @@
|
||||
*** imap/ANSI/c-client/Makefile.orig Tue Oct 11 00:13:08 1994
|
||||
--- imap/ANSI/c-client/Makefile Mon Nov 28 12:50:03 1994
|
||||
***************
|
||||
*** 36,42 ****
|
||||
BINARIES=mail.o bezerk.o mtx.o tenex2.o mbox.o mh.o mmdf.o imap2.o pop3.o \
|
||||
news.o nntpcunx.o phile.o dummy.o smtp.o nntp.o rfc822.o misc.o \
|
||||
osdep.o sm_unix.o newsrc.o
|
||||
! CFLAGS=$(EXTRACFLAGS)
|
||||
DEFAULTDRIVERS=imap nntp pop3 mh mtx tenex mmdf bezerk news phile dummy
|
||||
LN=ln -s
|
||||
MAKE=make
|
||||
--- 36,42 ----
|
||||
BINARIES=mail.o bezerk.o mtx.o tenex2.o mbox.o mh.o mmdf.o imap2.o pop3.o \
|
||||
news.o nntpcunx.o phile.o dummy.o smtp.o nntp.o rfc822.o misc.o \
|
||||
osdep.o sm_unix.o newsrc.o
|
||||
! CFLAGS+=$(EXTRACFLAGS)
|
||||
DEFAULTDRIVERS=imap nntp pop3 mh mtx tenex mmdf bezerk news phile dummy
|
||||
LN=ln -s
|
||||
MAKE=make
|
||||
***************
|
||||
*** 84,89 ****
|
||||
--- 84,95 ----
|
||||
$(MAKE) mtest OS=$@ EXTRADRIVERS="$(EXTRADRIVERS)" \
|
||||
STDPROTO=bezerkproto \
|
||||
RSHPATH=/usr/bin/rsh CFLAGS="-g -O -pipe $(EXTRACFLAGS)"
|
||||
+
|
||||
+ bsf: # FreeBSD
|
||||
+ $(MAKE) mtest OS=$@ EXTRADRIVERS="$(EXTRADRIVERS)" \
|
||||
+ STDPROTO=bezerkproto \
|
||||
+ LDFLAGS="-lcrypt" \
|
||||
+ RSHPATH=/usr/bin/rsh CFLAGS="$(CFLAGS)"
|
||||
|
||||
cvx: # Convex
|
||||
$(MAKE) mtest OS=$@ EXTRADRIVERS="$(EXTRADRIVERS)" \
|
88
japanese/pine/files/patch-ac
Normal file
88
japanese/pine/files/patch-ac
Normal file
@ -0,0 +1,88 @@
|
||||
*** imap/ANSI/c-client/os_bsf.c Thu Jan 1 01:00:00 1970
|
||||
--- imap/ANSI/c-client/os_bsf.c Fri Sep 2 02:35:44 1994
|
||||
***************
|
||||
*** 0 ****
|
||||
--- 1,83 ----
|
||||
+ /*
|
||||
+ * Program: Operating-system dependent routines -- BSDI BSD/386 version
|
||||
+ *
|
||||
+ * Author: Mark Crispin
|
||||
+ * Networks and Distributed Computing
|
||||
+ * Computing & Communications
|
||||
+ * University of Washington
|
||||
+ * Administration Building, AG-44
|
||||
+ * Seattle, WA 98195
|
||||
+ * Internet: MRC@CAC.Washington.EDU
|
||||
+ *
|
||||
+ * Date: 1 August 1988
|
||||
+ * Last Edited: 11 July 1994
|
||||
+ *
|
||||
+ * Copyright 1994 by the University of Washington
|
||||
+ *
|
||||
+ * Permission to use, copy, modify, and distribute this software and its
|
||||
+ * documentation for any purpose and without fee is hereby granted, provided
|
||||
+ * that the above copyright notice appears in all copies and that both the
|
||||
+ * above copyright notice and this permission notice appear in supporting
|
||||
+ * documentation, and that the name of the University of Washington not be
|
||||
+ * used in advertising or publicity pertaining to distribution of the software
|
||||
+ * without specific, written prior permission. This software is made available
|
||||
+ * "as is", and
|
||||
+ * THE UNIVERSITY OF WASHINGTON DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED,
|
||||
+ * WITH REGARD TO THIS SOFTWARE, INCLUDING WITHOUT LIMITATION ALL IMPLIED
|
||||
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, AND IN
|
||||
+ * NO EVENT SHALL THE UNIVERSITY OF WASHINGTON BE LIABLE FOR ANY SPECIAL,
|
||||
+ * INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||||
+ * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, TORT
|
||||
+ * (INCLUDING NEGLIGENCE) OR STRICT LIABILITY, ARISING OUT OF OR IN CONNECTION
|
||||
+ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
+ *
|
||||
+ */
|
||||
+
|
||||
+ #include "tcp_unix.h" /* must be before osdep includes tcp.h */
|
||||
+ #include "mail.h"
|
||||
+ #include "osdep.h"
|
||||
+ #include <stdio.h>
|
||||
+ #include <sys/time.h>
|
||||
+ #include <sys/stat.h>
|
||||
+ #include <sys/socket.h>
|
||||
+ #include <netinet/in.h>
|
||||
+ #include <arpa/inet.h>
|
||||
+ #include <netdb.h>
|
||||
+ #include <ctype.h>
|
||||
+ #include <errno.h>
|
||||
+ extern int errno; /* just in case */
|
||||
+ #include <pwd.h>
|
||||
+ #include "misc.h"
|
||||
+ extern char *crypt();
|
||||
+
|
||||
+
|
||||
+ #include "fs_unix.c"
|
||||
+ #include "ftl_unix.c"
|
||||
+ #include "nl_unix.c"
|
||||
+ #define OWN_RFC_DATE
|
||||
+ #include "env_unix.c"
|
||||
+ #include "tcp_unix.c"
|
||||
+ #include "log_std.c"
|
||||
+ #include "gr_waitp.c"
|
||||
+ #include "tz_bsd.c"
|
||||
+
|
||||
+ /* Write current time in RFC 822 format
|
||||
+ * Accepts: destination string
|
||||
+ */
|
||||
+
|
||||
+ void rfc822_date (char *date)
|
||||
+ {
|
||||
+ int zone;
|
||||
+ char *zonename;
|
||||
+ struct tm *t;
|
||||
+ struct timeval tv;
|
||||
+ struct timezone tz;
|
||||
+ gettimeofday (&tv,&tz); /* get time and timezone poop */
|
||||
+ t = localtime (&tv.tv_sec); /* convert to individual items */
|
||||
+ zone = t->tm_gmtoff/60; /* get timezone from TZ environment stuff */
|
||||
+ zonename = t->tm_zone;
|
||||
+ /* and output it */
|
||||
+ sprintf (date,"%s, %d %s %d %02d:%02d:%02d %+03d%02d (%s)",
|
||||
+ days[t->tm_wday],t->tm_mday,months[t->tm_mon],t->tm_year+1900,
|
||||
+ t->tm_hour,t->tm_min,t->tm_sec,zone/60,abs (zone) % 60,zonename);
|
||||
+ }
|
58
japanese/pine/files/patch-ad
Normal file
58
japanese/pine/files/patch-ad
Normal file
@ -0,0 +1,58 @@
|
||||
*** imap/ANSI/c-client/os_bsf.h Thu Jan 1 01:00:00 1970
|
||||
--- imap/ANSI/c-client/os_bsf.h Sat Sep 3 15:33:50 1994
|
||||
***************
|
||||
*** 0 ****
|
||||
--- 1,53 ----
|
||||
+ /*
|
||||
+ * Program: Operating-system dependent routines -- BSDI BSD/386 version
|
||||
+ *
|
||||
+ * Author: Mark Crispin
|
||||
+ * Networks and Distributed Computing
|
||||
+ * Computing & Communications
|
||||
+ * University of Washington
|
||||
+ * Administration Building, AG-44
|
||||
+ * Seattle, WA 98195
|
||||
+ * Internet: MRC@CAC.Washington.EDU
|
||||
+ *
|
||||
+ * Date: 5 March 1993
|
||||
+ * Last Edited: 11 July 1994
|
||||
+ *
|
||||
+ * Copyright 1994 by the University of Washington
|
||||
+ *
|
||||
+ * Permission to use, copy, modify, and distribute this software and its
|
||||
+ * documentation for any purpose and without fee is hereby granted, provided
|
||||
+ * that the above copyright notice appears in all copies and that both the
|
||||
+ * above copyright notice and this permission notice appear in supporting
|
||||
+ * documentation, and that the name of the University of Washington not be
|
||||
+ * used in advertising or publicity pertaining to distribution of the software
|
||||
+ * without specific, written prior permission. This software is made available
|
||||
+ * "as is", and
|
||||
+ * THE UNIVERSITY OF WASHINGTON DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED,
|
||||
+ * WITH REGARD TO THIS SOFTWARE, INCLUDING WITHOUT LIMITATION ALL IMPLIED
|
||||
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, AND IN
|
||||
+ * NO EVENT SHALL THE UNIVERSITY OF WASHINGTON BE LIABLE FOR ANY SPECIAL,
|
||||
+ * INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||||
+ * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, TORT
|
||||
+ * (INCLUDING NEGLIGENCE) OR STRICT LIABILITY, ARISING OUT OF OR IN CONNECTION
|
||||
+ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
+ *
|
||||
+ */
|
||||
+
|
||||
+ #define MAILFILE "/var/mail/%s"
|
||||
+ #define ACTIVEFILE "/usr/local/lib/news/active"
|
||||
+ #define NEWSSPOOL "/var/news"
|
||||
+ #define NEWSRC strcat (strcpy (tmp,myhomedir ()),"/.newsrc")
|
||||
+
|
||||
+ #include <stdlib.h>
|
||||
+ #include <string.h>
|
||||
+ #include <sys/types.h>
|
||||
+ #include <sys/dir.h>
|
||||
+ #include <sys/uio.h> /* needed for writev() prototypes */
|
||||
+ #include <syslog.h>
|
||||
+ #include <unistd.h>
|
||||
+
|
||||
+ #include "env_unix.h"
|
||||
+ #include "fs.h"
|
||||
+ #include "ftl.h"
|
||||
+ #include "nl.h"
|
||||
+ #include "tcp.h"
|
28
japanese/pine/files/patch-ae
Normal file
28
japanese/pine/files/patch-ae
Normal file
@ -0,0 +1,28 @@
|
||||
*** imap/Makefile Sat Jun 18 04:53:04 1994
|
||||
--- imap/Makefile Sat Sep 3 17:38:37 1994
|
||||
***************
|
||||
*** 46,50 ****
|
||||
@false
|
||||
|
||||
! a32 aix bsi d-g lnx mct mnt neb nxt osf sco sgi:
|
||||
$(MAKE) build SYSTYPE=ANSI OS=$@
|
||||
|
||||
--- 46,50 ----
|
||||
@false
|
||||
|
||||
! a32 aix bsi bsf d-g lnx mct mnt neb nxt osf sco sgi:
|
||||
$(MAKE) build SYSTYPE=ANSI OS=$@
|
||||
|
||||
***************
|
||||
*** 65,69 ****
|
||||
|
||||
clean:
|
||||
! $(RM) systype
|
||||
cd ANSI/imapd;$(MAKE) clean
|
||||
cd ANSI/ipopd;$(MAKE) clean
|
||||
--- 65,69 ----
|
||||
|
||||
clean:
|
||||
! $(RM) systype OSTYPE
|
||||
cd ANSI/imapd;$(MAKE) clean
|
||||
cd ANSI/ipopd;$(MAKE) clean
|
100
japanese/pine/files/patch-af
Normal file
100
japanese/pine/files/patch-af
Normal file
@ -0,0 +1,100 @@
|
||||
*** pico/makefile.bsf.orig Tue Apr 9 04:04:05 1996
|
||||
--- pico/makefile.bsf Tue Apr 9 23:05:41 1996
|
||||
***************
|
||||
*** 0 ****
|
||||
--- 1,95 ----
|
||||
+ # $Id: patch-aa,v 1.9 1995/11/20 00:40:51 ache Exp $
|
||||
+ #
|
||||
+ # Michael Seibel
|
||||
+ # Networks and Distributed Computing
|
||||
+ # Computing and Communications
|
||||
+ # University of Washington
|
||||
+ # Administration Builiding, AG-44
|
||||
+ # Seattle, Washington, 98195, USA
|
||||
+ # Internet: mikes@cac.washington.edu
|
||||
+ #
|
||||
+ # Please address all bugs and comments to "pine-bugs@cac.washington.edu"
|
||||
+ #
|
||||
+ # Copyright 1991-1994 University of Washington
|
||||
+ #
|
||||
+ # Permission to use, copy, modify, and distribute this software and its
|
||||
+ # documentation for any purpose and without fee to the University of
|
||||
+ # Washington is hereby granted, provided that the above copyright notice
|
||||
+ # appears in all copies and that both the above copyright notice and this
|
||||
+ # permission notice appear in supporting documentation, and that the name
|
||||
+ # of the University of Washington not be used in advertising or publicity
|
||||
+ # pertaining to distribution of the software without specific, written
|
||||
+ # prior permission. This software is made available "as is", and
|
||||
+ # THE UNIVERSITY OF WASHINGTON DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED,
|
||||
+ # WITH REGARD TO THIS SOFTWARE, INCLUDING WITHOUT LIMITATION ALL IMPLIED
|
||||
+ # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, AND IN
|
||||
+ # NO EVENT SHALL THE UNIVERSITY OF WASHINGTON BE LIABLE FOR ANY SPECIAL,
|
||||
+ # INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||||
+ # LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, TORT
|
||||
+ # (INCLUDING NEGLIGENCE) OR STRICT LIABILITY, ARISING OUT OF OR IN CONNECTION
|
||||
+ # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
+ #
|
||||
+ # Pine and Pico are trademarks of the University of Washington.
|
||||
+ # No commercial use of these trademarks may be made without prior
|
||||
+ # written permission of the University of Washington.
|
||||
+ #
|
||||
+
|
||||
+ #
|
||||
+ # Makefile for BSD/386 Gamma 4.1 version of the PINE composer library and
|
||||
+ # stand-alone editor pico.
|
||||
+ #
|
||||
+
|
||||
+ #includes symbol info for debugging
|
||||
+ #DASHO= -g -O -pipe
|
||||
+ #for normal build
|
||||
+ #DASHO= -O
|
||||
+
|
||||
+ CFLAGS+= -DJOB_CONTROL -DANSI -DKANJI
|
||||
+
|
||||
+ # switches for library building
|
||||
+ LIBCMD= ar
|
||||
+ LIBARGS= ru
|
||||
+ RANLIB= ranlib
|
||||
+
|
||||
+ LIBS= -ltermcap
|
||||
+
|
||||
+ OFILES= attach.o ansi.o basic.o bind.o browse.o buffer.o \
|
||||
+ composer.o display.o file.o fileio.o line.o osdep.o \
|
||||
+ pico.o random.o region.o search.o spell.o tcap.o window.o word.o \
|
||||
+ jctype.o kanji.o
|
||||
+
|
||||
+ CFILES= attach.c ansi.c basic.c bind.c browse.c buffer.c \
|
||||
+ composer.c display.c file.c fileio.c line.c osdep.c \
|
||||
+ pico.c random.c region.c search.c spell.c tcap.c window.c word.c \
|
||||
+ jctype.c kanji.c
|
||||
+
|
||||
+ HFILES= estruct.h edef.h efunc.h ebind.h pico.h osdep.h \
|
||||
+ jctype.h kanji.h
|
||||
+
|
||||
+
|
||||
+ #
|
||||
+ # dependencies for the Unix versions of pico and libpico.a
|
||||
+ #
|
||||
+ all: pico
|
||||
+
|
||||
+ osdep.c: os_unix.c
|
||||
+ rm -f osdep.c
|
||||
+ cp os_unix.c osdep.c
|
||||
+
|
||||
+ osdep.h: os_unix.h
|
||||
+ rm -f osdep.h
|
||||
+ cp os_unix.h osdep.h
|
||||
+
|
||||
+ libpico.a: osdep.c osdep.h $(OFILES)
|
||||
+ $(LIBCMD) $(LIBARGS) libpico.a $(OFILES)
|
||||
+ $(RANLIB) libpico.a
|
||||
+
|
||||
+ pico: main.c libpico.a
|
||||
+ $(CC) $(CFLAGS) $(DASHO) main.c libpico.a $(LIBS) -o pico
|
||||
+
|
||||
+ .c.o: ; $(CC) -c $(CFLAGS) $(DASHO) $*.c
|
||||
+
|
||||
+ $(OFILES): $(HFILES)
|
||||
+
|
||||
+ clean:
|
||||
+ rm -f pico *.a *.o *~ osdep.c osdep.h
|
12
japanese/pine/files/patch-ag
Normal file
12
japanese/pine/files/patch-ag
Normal file
@ -0,0 +1,12 @@
|
||||
*** pico/os_unix.c Thu Aug 11 21:13:34 1994
|
||||
--- pico/os_unix.c Fri Sep 2 02:35:45 1994
|
||||
***************
|
||||
*** 952,956 ****
|
||||
--- 952,958 ----
|
||||
int err;
|
||||
{
|
||||
+ #ifndef __FreeBSD__
|
||||
extern char *sys_errlist[];
|
||||
+ #endif
|
||||
extern int sys_nerr;
|
||||
|
15
japanese/pine/files/patch-ah
Normal file
15
japanese/pine/files/patch-ah
Normal file
@ -0,0 +1,15 @@
|
||||
*** pico/os_unix.h Mon Jun 27 18:33:43 1994
|
||||
--- pico/os_unix.h Fri Sep 2 02:35:45 1994
|
||||
***************
|
||||
*** 104,108 ****
|
||||
* type qsort() expects
|
||||
*/
|
||||
! #if defined(nxt) || defined(neb)
|
||||
#define QSType void
|
||||
#define QcompType const void
|
||||
--- 104,108 ----
|
||||
* type qsort() expects
|
||||
*/
|
||||
! #if defined(nxt) || defined(neb) || defined(__FreeBSD__)
|
||||
#define QSType void
|
||||
#define QcompType const void
|
10
japanese/pine/files/patch-ak
Normal file
10
japanese/pine/files/patch-ak
Normal file
@ -0,0 +1,10 @@
|
||||
*** pine/osdep/err_desc Fri Jul 16 01:06:44 1993
|
||||
--- pine/osdep/err_desc Fri Sep 2 02:35:46 1994
|
||||
***************
|
||||
*** 1,3 ****
|
||||
--- 1,5 ----
|
||||
+ #if !defined(__FreeBSD__)
|
||||
extern char *sys_errlist[];
|
||||
+ #endif
|
||||
|
||||
/*----------------------------------------------------------------------
|
29
japanese/pine/files/patch-al
Normal file
29
japanese/pine/files/patch-al
Normal file
@ -0,0 +1,29 @@
|
||||
*** pine/osdep/makefile.orig Tue Apr 9 04:03:23 1996
|
||||
--- pine/osdep/makefile Tue Apr 9 04:33:59 1996
|
||||
***************
|
||||
*** 7,13 ****
|
||||
os-dyn.c os-gen.c os-hpp.c os-isc.c os-lnx.c os-nxt.c \
|
||||
os-osf.c os-ptx.c os-s40.c os-sgi.c \
|
||||
os-sun.c os-sv4.c os-ult.c os-aux.c \
|
||||
! os-ews.c
|
||||
|
||||
.SUFFIXES: .ic
|
||||
|
||||
--- 7,13 ----
|
||||
os-dyn.c os-gen.c os-hpp.c os-isc.c os-lnx.c os-nxt.c \
|
||||
os-osf.c os-ptx.c os-s40.c os-sgi.c \
|
||||
os-sun.c os-sv4.c os-ult.c os-aux.c \
|
||||
! os-bsf.c os-ews.c
|
||||
|
||||
.SUFFIXES: .ic
|
||||
|
||||
***************
|
||||
*** 43,48 ****
|
||||
--- 43,49 ----
|
||||
os-aux.c: bld_path canacces canonicl chnge_pw coredump creatdir diskquot.non domnames err_desc execview expnfldr fgetpos.non filesize fltrname fnexpand header hostname jobcntrl lstcmpnt mimedisp pipe pw_stuff readfile rename.hom sendmail tempfile tempnam writ_dir os-aux.ic
|
||||
os-bsd.c: bld_path canacces canonicl chnge_pw coredump creatdir diskquot domnames err_desc execview expnfldr fgetpos.non filesize fltrname fnexpand header hostname jobcntrl lstcmpnt mimedisp pipe pw_stuff readfile rename sendmail tempfile tempnam writ_dir os-bsd.ic
|
||||
os-bsi.c: bld_path canacces canonicl chnge_pw coredump creatdir diskquot.non domnames err_desc execview expnfldr fgetpos filesize fltrname fnexpand header hostname jobcntrl lstcmpnt mimedisp pipe pw_stuff readfile rename sendmail tempfile tempnam writ_dir os-bsi.ic
|
||||
+ os-bsf.c: bld_path canacces canonicl chnge_pw coredump creatdir diskquot.non domnames err_desc execview expnfldr fgetpos filesize fltrname fnexpand header hostname jobcntrl lstcmpnt mimedisp pipe pw_stuff readfile rename sendmail tempfile tempnam writ_dir os-bsf.ic
|
||||
os-cvx.c: bld_path canacces canonicl chnge_pw coredump creatdir diskquot.non domnames err_desc execview expnfldr fgetpos.non filesize fltrname fnexpand header hostname jobcntrl lstcmpnt mimedisp pipe pw_stuff readfile rename sendmail tempfile tempnam writ_dir os-cvx.ic
|
||||
os-dos.c: bld_path.dos canacces canonicl.dos chnge_pw.dos coredump creatdir.dos diskquot.non domnames.dos dosextra err_desc.dos execview.dos expnfldr.dos fgetpos filesize fltrname.dos fnexpand.dos header hostname jobcntrl.dos lstcmpnt.dos mimedisp pipe.dos pw_stuff.dos readfile.dos rename.dos sendmail.dos tempfile tempnam.dos writ_dir os-dos.ic
|
||||
os-dyn.c: bld_path canacces canonicl chnge_pw coredump.fpe creatdir diskquot.sun domnames err_desc execview expnfldr fgetpos.non filesize fltrname fnexpand header hostname jobcntrl lstcmpnt mimedisp pipe pw_stuff readfile rename sendmail tempfile.non tempnam writ_dir os-dyn.ic
|
1
japanese/pine/pkg-comment
Normal file
1
japanese/pine/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
Pine 3.91 - Program for Internet News and E-mail
|
14
japanese/pine/pkg-descr
Normal file
14
japanese/pine/pkg-descr
Normal file
@ -0,0 +1,14 @@
|
||||
Pine for FreeBSD 2.x is a tool for reading, sending, and managing
|
||||
electronic messages. It was designed specifically with novice
|
||||
computer users in mind, but can be tailored to accommodate the needs
|
||||
of "power users" as well. Pine uses Internet message protocols (e.g.
|
||||
RFC-822, SMTP, MIME, IMAP, NNTP) and runs on Unix and PCs. This
|
||||
package also includes the Pico editor, the IMAP daemon, a POP2 server,
|
||||
and a POP3 server.
|
||||
|
||||
If you want to use the spell checking feature of pine, set the
|
||||
environment variable SPELL to "/usr/local/bin/ispell -l".
|
||||
|
||||
An optional configuration file "pine.conf" can be put into /usr/local/etc
|
||||
to set system wide defaults. The format of this file is identical to the
|
||||
.pinerc file that is auto-generated by pine in your home directory.
|
10
japanese/pine/pkg-plist
Normal file
10
japanese/pine/pkg-plist
Normal file
@ -0,0 +1,10 @@
|
||||
libexec/imapd
|
||||
libexec/ipop2d
|
||||
libexec/ipop3d
|
||||
bin/mtest
|
||||
bin/pico
|
||||
bin/pine
|
||||
man/man1/pico.1.gz
|
||||
man/man1/pine.1.gz
|
||||
man/man8/imapd.8c.gz
|
||||
man/man8/ipopd.8c.gz
|
23
japanese/pine/scripts/configure
vendored
Normal file
23
japanese/pine/scripts/configure
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ ! -f ${WRKSRC}/pine/pine-e.hlp ] ; then
|
||||
mv ${WRKSRC}/pine/pine.hlp ${WRKSRC}/pine/pine-e.hlp
|
||||
fi
|
||||
|
||||
echo -n "Do you want pine to display its menu and help message in Japanese? (y/n)> "
|
||||
read ans
|
||||
case X$ans in
|
||||
y*|Y*)
|
||||
ln -fs ${WRKSRC}/pine-j.hlp ${WRKSRC}/pine.hlp
|
||||
;;
|
||||
*)
|
||||
ln -fs ${WRKSRC}/pine/pine-e.hlp ${WRKSRC}/pine/pine.hlp
|
||||
ed -s ${WRKSRC}/pico/kanji.h << EOP
|
||||
46c
|
||||
#undef KANJI_MSG
|
||||
.
|
||||
w
|
||||
EOP
|
||||
;;
|
||||
esac
|
||||
|
Loading…
Reference in New Issue
Block a user