diff options
author | Masafumi Max NAKANE <max@FreeBSD.org> | 1996-09-24 17:03:37 +0000 |
---|---|---|
committer | Masafumi Max NAKANE <max@FreeBSD.org> | 1996-09-24 17:03:37 +0000 |
commit | 60c821c520d5e0b8a6e17e3abb1d205975a543bc (patch) | |
tree | cea8be02aacf1c1016576f8416f21558d9dd77aa /japanese | |
parent | Import of the Ascend RADIUS daemon. (diff) |
Mnews, Mini News Reader Ver. 1.19PL2.
Notes
Notes:
svn path=/head/; revision=3859
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/mnews/Makefile | 61 | ||||
-rw-r--r-- | japanese/mnews/distinfo | 3 | ||||
-rw-r--r-- | japanese/mnews/files/Makefile.in | 254 | ||||
-rw-r--r-- | japanese/mnews/files/site_dep.h.in | 51 | ||||
-rw-r--r-- | japanese/mnews/pkg-comment | 1 | ||||
-rw-r--r-- | japanese/mnews/pkg-descr | 27 | ||||
-rw-r--r-- | japanese/mnews/pkg-install | 3 | ||||
-rw-r--r-- | japanese/mnews/pkg-plist | 18 |
8 files changed, 418 insertions, 0 deletions
diff --git a/japanese/mnews/Makefile b/japanese/mnews/Makefile new file mode 100644 index 000000000000..27c1a71feed7 --- /dev/null +++ b/japanese/mnews/Makefile @@ -0,0 +1,61 @@ +# New ports collection makefile for: mnews +# Version required: 1.19PL2 +# Date created: 23 Sep 1996 +# Whom: Masafumi NAKANE <max@FreeBSD.ORG> +# +# $Id: porting.sgml,v 1.16 1996/03/21 14:15:01 asami Exp $ +# + +DISTNAME= mnews119 +PKGNAME= jp-mnews-1.19.2 +CATEGORIES+= japanese news +MASTER_SITES= ftp://ftp.mei.co.jp/free/Network/news/readers/ +DISTFILES= mnews119.tar.gz mnews119_119PL1.tar.gz mnews119PL1_PL2.tar.gz + +MAINTAINER= max@FreeBSD.ORG + +NO_WRKSUBDIR=yes +PATCH_DIST_STRIP= -p1 +DOCS= FAQ.doc board.doc mnews.doc mnews.1 prerel.doc \ + present.doc read1ST.doc readme.doc update.doc +SAMPLES= jnames.fj jnames.jp jnames.smp jnames.tnn + +pre-patch: + @for f in mnews119PL1.patch mnews119PL2.patch; do \ + ${PATCH} ${PATCH_DIST_ARGS} < ${WRKSRC}/$$f ; done + +do-configure: + @for f in Makefile site_dep.h ; do \ + sed s+@PREFIX@+${PREFIX}+ ${FILESDIR}/$$f.in > ${WRKSRC}/$$f ; done + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/mnews ${PREFIX}/bin + if [ ! -d ${PREFIX}/lib/mnews ] ; \ + then /bin/mkdir -p ${PREFIX}/lib/mnews ; fi + ${INSTALL_DATA} ${WRKSRC}/jnames.fj ${PREFIX}/lib/mnews/jnames + if [ ! -d ${PREFIX}/share/mnews ] ; \ + then /bin/mkdir -p ${PREFIX}/share/mnews ; fi + if [ ! -d ${PREFIX}/share/mnews/doc ] ; \ + then /bin/mkdir ${PREFIX}/share/mnews/doc ; fi +.for f in ${DOCS} + ${INSTALL_DATA} ${WRKSRC}/$f ${PREFIX}/share/mnews/doc +.endfor + if [ ! -d ${PREFIX}/share/mnews/samples ] ; \ + then /bin/mkdir ${PREFIX}/share/mnews/samples ; fi +.for f in ${SAMPLES} + ${INSTALL_DATA} ${WRKSRC}/$f ${PREFIX}/share/mnews/samples +.endfor +post-install: +.if !defined(BATCH) + @(while [ X$$domain = X ]; do \ + echo -n "Enter the domain name of this host>"; read domain ; \ + done; \ + echo $$domain > ${PREFIX}/lib/mnews/default-domain) +.else + @echo "Now, you need to make sure ${PREFIX}/lib/mnews/default-domain" + @echo "contains correct domain name." + @echo my.domain.com > ${PREFIX}/lib/mnews/default-domain +.endif + @echo "Refer to the files in ${PREFIX}/share/mnews." + +.include <bsd.port.mk> diff --git a/japanese/mnews/distinfo b/japanese/mnews/distinfo new file mode 100644 index 000000000000..58889ea02b3a --- /dev/null +++ b/japanese/mnews/distinfo @@ -0,0 +1,3 @@ +MD5 (mnews119.tar.gz) = dbc344bc30be7c671278a055dd3b5234 +MD5 (mnews119_119PL1.tar.gz) = 72df2f5c5c200b40b233804da7b8af4d +MD5 (mnews119PL1_PL2.tar.gz) = 0c79bd10c79fddb30264a403c429260a diff --git a/japanese/mnews/files/Makefile.in b/japanese/mnews/files/Makefile.in new file mode 100644 index 000000000000..f4293f87fb8e --- /dev/null +++ b/japanese/mnews/files/Makefile.in @@ -0,0 +1,254 @@ +# 1 "temp.c" + + + + + +SHELL = /bin/sh + +ARCH = _386BSD +WHEN = date +WHO = whoami +WHERE = hostname +CC = /usr/bin/cc +LIBS = -ltermcap +RANLIB = ranlib +INSTALL = +CC_FLAG = -O -DDONT_HAVE_FTIME +BIN_DIR = @PREFIX@/bin +LIB_DIR = @PREFIX@/lib/mnews +MAN_DIR = @PREFIX@/man + +CONNECT_OPT = -DNNTP -DNSPL +CONS_OPT = -DNEWSPOST -DMAILSEND -DJNAMES -DMH -DUCBMAIL -DRMAIL -DMIME -DPAGER -DFCC -DTERMCAP +CONF_OPT = -DCTRL_L -DCOMPLETION -DXOVER -DREF_SORT +MOD_OPT = -DJNHASH +CPP_FLAG1 = -DMNEWS -DJIS_INPUT $(CONF_OPT) -D$(ARCH) +CPP_FLAG2 = $(CONS_OPT) $(CPP_FLAG1) +C_FLAG1 = $(CPP_FLAG1) $(CC_FLAG) +C_FLAG2 = $(CPP_FLAG2) $(CC_FLAG) +RM = rm +RM_FLAG = -f +EXE = mnews + + +NEWSPOST_OBJ = newspost.o + + +MAILSEND_OBJ = mailsend.o + + + +JNAMES_OBJ = jnhash.o + + + + + +MH_OBJ = mh.o + + +UCBMAIL_OBJ = ucbmail.o + + +RMAIL_OBJ = rmail.o + + + + + +PAGER_OBJ = pager.o + + +FCC_OBJ = fcc.o + + +MIME_OBJ = mime.o + + + + +BASE_OBJ = mnews.o group.o article.o mark.o compat.o nntplib.o kanjilib.o termlib.o + +OPTION_OBJ = $(NEWSPOST_OBJ) $(MAILSEND_OBJ) $(JNAMES_OBJ) $(MH_OBJ) $(UCBMAIL_OBJ) $(RMAIL_OBJ) $(BOARD_OBJ) $(PAGER_OBJ) $(FCC_OBJ) $(MIME_OBJ) $(YOUBIN_OBJ) + + +OBJ = mnews.o group.o article.o mark.o mh.o ucbmail.o rmail.o board.o newspost.o mailsend.o pager.o fcc.o mime.o compat.o nntplib.o kanjilib.o termlib.o jnames.o jnhash.o + + + +SRC = mnews.c group.c article.c mark.c mh.c ucbmail.c rmail.c board.c newspost.c mailsend.c pager.c fcc.c mime.c compat.c nntplib.c kanjilib.c termlib.c termdos.c inetbios.c jnames.c jnhash.c youbin.c + + + +INC = mnews.h group.h article.h mark.h mh.h ucbmail.h rmail.h board.h newspost.h mailsend.h pager.h fcc.h mime.h compat.h nntplib.h kanjilib.h termlib.h site_DOS.h site_X68.h inetbios.h + + + +C_OBJ = config.o +C_SRC = config.c +C_INC = config.h +SITE = site_dep.h +DOC1 = mnews.doc mnews.1 read1ST.doc readme.doc update.doc FAQ.doc board.doc present.doc + +DOC2 = prerel.doc +ETC = board.sh board.csh combine.sh _mnews.smp jnames.smp jnames.fj jnames.jp jnames.tnn + +INFO = inst_inf.h +MAKE1 = config.sh config.jsh Makefile.obj +MAKE2 = Makefile.src Makefile.MSC Makefile.TCC Makefile.X68 +SRC_DIST = mnews_src.tar +OBJ_DIST = mnews_$(ARCH)_obj.tar +EXE_DIST = mnews_$(ARCH)_exe.tar + +all: $(EXE) + +obj: $(OBJ) + +$(EXE): $(BASE_OBJ) $(OPTION_OBJ) $(C_OBJ) + $(CC) $(CC_FLAG) -o $@ $(BASE_OBJ) $(OPTION_OBJ) $(C_OBJ) $(LIBS) + strip $@ + chmod 755 $@ + chmod 644 $(DOC1) $(DOC2) + +.c.o: $(INC) + $(CC) $(C_FLAG2) -c $*.c + +$(C_OBJ): $(C_SRC) $(C_INC) $(SITE) $(INFO) + $(CC) $(C_FLAG2) $(CONNECT_OPT) -c config.c + +$(INFO): $(C_SRC) $(C_INC) $(SITE) $(SRC) $(INC) + -$(RM) $(RM_FLAG) $(INFO) + @echo "Making "'"'$(INFO)'"' + touch $(INFO) + @echo "/*" >> $(INFO) + @echo " * Mini News Reader Install Information" >> $(INFO) + @echo " */" >> $(INFO) + @echo "" >> $(INFO) + @echo "#define CONS_OPT "'"'$(CONS_OPT)'"' >> $(INFO) + @echo "#define CONF_OPT "'"'$(CONF_OPT)'"' >> $(INFO) + @echo "#define ARCH_OPT "'"'$(ARCH)'"' >> $(INFO) + @echo "#define INSTALL_HOST "'"'`$(WHERE)`'"' >> $(INFO) + @echo "#define INSTALL_USER "'"'`$(WHO)`'"' >> $(INFO) + @echo "#define INSTALL_DATE "'"'`$(WHEN)`'"' >> $(INFO) + +$(SITE): + @echo "You must run config.sh or config.jsh first." + +nntplib.o: nntplib.c nntplib.h compat.h + $(CC) $(C_FLAG1) $(CONNECT_OPT) -c $*.c + +kanjilib.o: kanjilib.c kanjilib.h compat.h + $(CC) $(C_FLAG1) -DDELETE_X0212 -c $*.c + +termlib.o: termlib.c termlib.h compat.h + $(CC) $(C_FLAG2) -c $*.c + +jnames.o: jnames.c + $(CC) $(C_FLAG2) -c $*.c + +jnhash.o: jnhash.c kanjilib.h compat.h + $(CC) $(C_FLAG2) -c $*.c + +youbin.o: youbin.c $(INC) + $(CC) $(C_FLAG2) -c $*.c + +mnews.o: mnews.c $(INC) + $(CC) $(C_FLAG2) -c $*.c + +group.o: group.c $(INC) + $(CC) $(C_FLAG2) -c $*.c + +article.o: article.c $(INC) + $(CC) $(C_FLAG2) -c $*.c + +mark.o: mark.c $(INC) + $(CC) $(C_FLAG2) -c $*.c + +mh.o: mh.c $(INC) + $(CC) $(C_FLAG2) -c $*.c + +ucbmail.o: ucbmail.c $(INC) + $(CC) $(C_FLAG2) -c $*.c + +rmail.o: rmail.c $(INC) + $(CC) $(C_FLAG2) -c $*.c + +board.o: board.c $(INC) + $(CC) $(C_FLAG2) -c $*.c + +newspost.o: newspost.c $(INC) + $(CC) $(C_FLAG2) -c $*.c + +mailsend.o: mailsend.c $(INC) + $(CC) $(C_FLAG2) -c $*.c + +pager.o: pager.c $(INC) + $(CC) $(C_FLAG2) -c $*.c + +fcc.o: fcc.c $(INC) + $(CC) $(C_FLAG2) -c $*.c + +mime.o: mime.c $(INC) + $(CC) $(C_FLAG2) -c $*.c + +compat.o: compat.c $(INC) + $(CC) $(C_FLAG2) -c $*.c + +install: all + cp $(EXE) $(BIN_DIR) + chmod 755 $(BIN_DIR)/$(EXE) + @if [ -f default-domain ] ; then cp default-domain $(LIB_DIR) ; chmod 644 $(LIB_DIR)/default-domain ; fi + + + + @if [ -f "/sbin/i860" ] ; then "/sbin/i860" ; if [ $? -eq 0 ]; then echo "Change group & permission." ; chgrp mail $(BIN_DIR)/$(EXE) ; chmod g+s $(BIN_DIR)/$(EXE) ; fi ; fi + + + + + + + + @if [ -d $(MAN_DIR)/japanese/man1 ] ; then cp mnews.1 $(MAN_DIR)/japanese/man1 ; chmod 644 $(MAN_DIR)/japanese/man1/mnews.1 ; fi + + + + @if [ -d $(MAN_DIR)/man1 ] ; then cp mnews.1 $(MAN_DIR)/man1 ; chmod 644 $(MAN_DIR)/man1/mnews.1 ; fi + + + + +help: + @echo "--- Mini News Reader Makefile [Source Version] ---" + @echo "make --- make executable file" + @echo "make install --- install executable & manual file" + @echo "make clean --- remove backup & object file" + @echo "make remove --- remove object file" + @echo "make help --- print help message" + @echo "make src_dist --- archive source & document file" + @echo "make obj_dist --- archive object & document file" + @echo "make bin_dist --- archive executable & document file" + +clean: + -$(RM) $(RM_FLAG) $(EXE) $(OBJ) $(C_OBJ) $(INFO) *~ \#* *\# + +remove: + -$(RM) $(RM_FLAG) $(EXE) $(OBJ) $(C_OBJ) $(INFO) + +src_dist: + tar cvfh $(SRC_DIST) $(SRC) $(INC) $(C_SRC) $(C_INC) $(ETC) $(DOC1) $(DOC2) $(MAKE1) $(MAKE2) + + gzip -f $(SRC_DIST) + +obj_dist: $(OBJ) + tar cvfh $(OBJ_DIST) $(OBJ) $(C_SRC) $(C_INC) $(ETC) $(DOC1) $(MAKE1) + gzip -f $(OBJ_DIST) + +bin_dist: $(EXE) + tar cvfh $(EXE_DIST) $(EXE) $(ETC) $(DOC1) + gzip -f $(EXE_DIST) + +touch: + touch $(SRC) $(INC) $(C_SRC) $(C_INC) $(ETC) $(DOC1) $(DOC2) $(MAKE1) $(MAKE2) + diff --git a/japanese/mnews/files/site_dep.h.in b/japanese/mnews/files/site_dep.h.in new file mode 100644 index 000000000000..d39296b9b43d --- /dev/null +++ b/japanese/mnews/files/site_dep.h.in @@ -0,0 +1,51 @@ +/* + * + * System : Mini News Reader + * Sub system : Site depend define + * File : site_dep.h + * Version : 1.19 + * + * NOTE: + * This file made by config.sh program. + * If you want to change this file, please execute + * config.sh program again. + * + */ + +/* + * If you define DOMAIN_NAME, DOMAIN_NAME used in + * executable file, and DOMAIN_FILE does not need. + */ +/* +#define DOMAIN_NAME "aslm.rim.or.jp" +*/ +#define DOMAIN_FILE "@PREFIX@/lib/mnews/default-domain" +#define SERVER_FILE "@PREFIX@/lib/mnews/default-server" +#define MAIL_SERVER_FILE "@PREFIX@/lib/mnews/default-mailsv" +#define EXT_PAGER "@PREFIX@/bin/less" +#define PRINT_CODE JIS_CODE +#define DEFAULT_CODE ASCII_CODE +#define SAVE_CODE JIS_CODE +#define EDIT_CODE EUC_CODE +#define INPUT_CODE ASCII_CODE +#define FCC_CODE ASCII_CODE +#define PIPE_CODE ASCII_CODE +#define EDITOR_COMMAND "@PREFIX@/bin/mule -nw" +#define SEND_COMMAND "/usr/sbin/sendmail -t -om -oi" +#define POST_COMMAND "/usr/lib/news/inews -h" +#define MH_COMMAND_PATH "@PREFIX@/bin" +#define JNAMES_DB "@PREFIX@/lib/mnews/jnames" +#define NEWS_SPOOL "/var/spool/news" +#define NEWS_LIB "@PREFIX@/news/lib" +#define MAIL_SPOOL "/var/mail" +#define BOARD_SPOOL "/var/spool/board" +#define TMP_DIR "/tmp" + +#define NSPL_MODE 0 +#define JAPANESE 1 +#define X_NSUBJ_MODE 1 +#define INEWS_SIG_MODE 1 +#define JST_MODE 0 +#define DNAS_MODE 0 +#define NEWS_THREAD_MODE 1 +#define MAIL_THREAD_MODE 1 diff --git a/japanese/mnews/pkg-comment b/japanese/mnews/pkg-comment new file mode 100644 index 000000000000..efd3dee59616 --- /dev/null +++ b/japanese/mnews/pkg-comment @@ -0,0 +1 @@ +Mini News Reader Ver. 1.19 PL 2 diff --git a/japanese/mnews/pkg-descr b/japanese/mnews/pkg-descr new file mode 100644 index 000000000000..03df4e827833 --- /dev/null +++ b/japanese/mnews/pkg-descr @@ -0,0 +1,27 @@ +Mnews, Mini News Reader, is a small size news reader to handle news +and electronic mail messages. + +Goals of mnews' development are small size, fast operation and easy to +use interface. + +As far as the size is concerned, both the program itself and the +memory usage are much smaller than those of emacs+gnus or vin. + +We believe the speed of the program is also one of the fastest among +other news readers. (Though, we added various functions and they are +making the program a bit slower.) + +Most effort was put on making mnews easy to operate. Most of the +message from the program is in Japanese, the operation is easy to +learn for both former gnus users and former vin users (basically, it's +Gnus compatible), and discarded multi-keystroke operations. + +MH, UCB mail and rmail style e-mail files can be handled with mnews. +Optionally, you can build a electronic bulletin board system. +(FreeBSD's package does not include the support for this function by +default, so you need to rebuild mnews using the files in the port +collection if you wish to use the feature.) + +Also, MIME encoded headers using ISO-2022-JP can be handled. + +- Masafumi diff --git a/japanese/mnews/pkg-install b/japanese/mnews/pkg-install new file mode 100644 index 000000000000..8cb7d462e2c8 --- /dev/null +++ b/japanese/mnews/pkg-install @@ -0,0 +1,3 @@ +#!/bin/sh +echo "Don't forget to edit /usr/local/lib/mnews/default-domain and make sure" +echo "that it contains correct domain name for this host." diff --git a/japanese/mnews/pkg-plist b/japanese/mnews/pkg-plist new file mode 100644 index 000000000000..e69a1c6c5576 --- /dev/null +++ b/japanese/mnews/pkg-plist @@ -0,0 +1,18 @@ +bin/mnews +lib/mnews/jnames +lib/mnews/default-domain +share/mnews/doc/FAQ.doc +share/mnews/doc/board.doc +share/mnews/doc/mnews.1 +share/mnews/doc/mnews.doc +share/mnews/doc/prerel.doc +share/mnews/doc/present.doc +share/mnews/doc/read1ST.doc +share/mnews/doc/readme.doc +share/mnews/doc/update.doc +share/mnews/samples/jnames.fj +share/mnews/samples/jnames.jp +share/mnews/samples/jnames.smp +share/mnews/samples/jnames.tnn +@unexec rm -rf %D/lib/mnews +@unexec rm -rf %D/share/mnews |