diff options
author | max <max@FreeBSD.org> | 2000-02-18 06:53:12 +0000 |
---|---|---|
committer | max <max@FreeBSD.org> | 2000-02-18 06:53:12 +0000 |
commit | 517d516323d7db84326c0a227f5f89cb6a7ec153 (patch) | |
tree | 6a21c969ce3a42e09073efb8cb69862d95138ffc /textproc | |
parent | 5cfe997535af91b28e785f6c320114a92fc0256c (diff) | |
download | FreeBSD-ports-517d516323d7db84326c0a227f5f89cb6a7ec153.zip FreeBSD-ports-517d516323d7db84326c0a227f5f89cb6a7ec153.tar.gz |
- Update to 7.55.
- Added WWW: to the DESCR.
Reminded by: KATO Tsuguru <tkato@prontomail.ne.jp>
in
PR: 16668
- Install some more docs and examples.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/nfbtrans/Makefile | 25 | ||||
-rw-r--r-- | textproc/nfbtrans/distinfo | 2 | ||||
-rw-r--r-- | textproc/nfbtrans/files/patch-ab | 36 | ||||
-rw-r--r-- | textproc/nfbtrans/pkg-descr | 2 | ||||
-rw-r--r-- | textproc/nfbtrans/pkg-plist | 3 |
5 files changed, 34 insertions, 34 deletions
diff --git a/textproc/nfbtrans/Makefile b/textproc/nfbtrans/Makefile index 00027e9..8a0ff09 100644 --- a/textproc/nfbtrans/Makefile +++ b/textproc/nfbtrans/Makefile @@ -1,31 +1,31 @@ # New ports collection makefile for: nfbtrans -# Version required: 7.53 +# Version required: 7.55 # Date created: 30 Aug 1998 # Whom: Masafumi NAKANE <max@FreeBSD.org> # # $FreeBSD$ # -DISTNAME= nfbtr753 -PKGNAME= nfbtrans-7.53 +DISTNAME= nfbtr755 +PKGNAME= nfbtrans-7.55 CATEGORIES= textproc -MASTER_SITES= ftp://ftp.netcom.com/pub/in/inge/ -EXTRACT_SUFX= .zip +MASTER_SITES= ftp://nfb.org/braille/nfbtrans/ +EXTRACT_SUFX= .exe MAINTAINER= max@FreeBSD.org RESTRICTED= "Unclear copyright status" -USE_ZIP= yes +USE_ZIP= yes EXTRACT_BEFORE_ARGS= -q -a -L -o -NO_WRKSUBDIR= yes -ALL_TARGET= freebsd -MAKEFILE= makefile +NO_WRKSUBDIR= yes +ALL_TARGET= freebsd +MAKEFILE= makefile do-install: ${MKDIR} ${PREFIX}/lib/nfbtrans/tables ${INSTALL_PROGRAM} ${WRKSRC}/nfbtrans ${PREFIX}/bin -.for f in braille.tab back.tab english.dic nfbtrans.cnf +.for f in braille.tab back.tab english.dic nfbtrans.cnf menu.cnf ${INSTALL_DATA} ${WRKSRC}/$f ${PREFIX}/lib/nfbtrans .endfor @unzip -q -L -a -o ${WRKSRC}/tables.zip -d ${PREFIX}/lib/nfbtrans/tables @@ -35,8 +35,9 @@ do-install: @${WRKSRC}/nfbtrans st=${WRKSRC}/stat.txt qm=1 ob=oc=15 \ ${WRKSRC}/nfbprint.fmt > ${WRKSRC}/nfbtrans.doc ${MKDIR} ${PREFIX}/share/doc/nfbtrans - ${INSTALL_DATA} ${WRKSRC}/nfbtrans.doc ${PREFIX}/share/doc/nfbtrans - ${INSTALL_DATA} ${WRKSRC}/nfbtrans.fmt ${PREFIX}/share/doc/nfbtrans +.for f in read.me nfbtrans.doc nfbtrans.fmt tvfreqs.fmt + ${INSTALL_DATA} ${WRKSRC}/$f ${PREFIX}/share/doc/nfbtrans +.endfor .endif .include <bsd.port.mk> diff --git a/textproc/nfbtrans/distinfo b/textproc/nfbtrans/distinfo index b063d10..562bc77 100644 --- a/textproc/nfbtrans/distinfo +++ b/textproc/nfbtrans/distinfo @@ -1 +1 @@ -MD5 (nfbtr753.zip) = bb827f13f057efb03849bc6b7f82d164 +MD5 (nfbtr755.exe) = 74012045fa51b8a88b747b523fde8a14 diff --git a/textproc/nfbtrans/files/patch-ab b/textproc/nfbtrans/files/patch-ab index 2608e9a..3f36aee 100644 --- a/textproc/nfbtrans/files/patch-ab +++ b/textproc/nfbtrans/files/patch-ab @@ -1,5 +1,5 @@ ---- nfbtrans.c.orig Wed Aug 19 16:30:14 1998 -+++ nfbtrans.c Sun Aug 30 08:34:55 1998 +--- nfbtrans.c.orig Sun Nov 14 10:58:34 1999 ++++ nfbtrans.c Fri Feb 18 15:00:00 2000 @@ -2,7 +2,9 @@ #define LINT_ARGS #define DOS @@ -8,9 +8,9 @@ +#ifndef UNIX_PATH +#define UNIX_PATH "/usr/local/lib/nfbtrans/" +#endif - #endif /* unix */ + #endif /* unix */ #ifndef lint - #endif /* lint */ + #endif /* lint */ @@ -24,7 +26,7 @@ #include <fcntl.h> #include <stdarg.h> @@ -20,29 +20,23 @@ #define max(a,b) (((a) > (b)) ? (a) : (b)) #define min(a,b) (((a) < (b)) ? (a) : (b)) #endif -@@ -4731,7 +4733,12 @@ +@@ -4904,7 +4906,8 @@ for (;;) { fprintf(stderr, "Enter dictionary word <RETURN> to skip: "); -+#ifdef freebsd +- gets(temp); + fgets(temp, sizeof(temp), stdin); + temp[strlen(temp)-1] = '\0'; -+#else - gets(temp); -+#endif if (!temp[0]) - break; /* skip, don't store as rejected */ + break; /* skip, don't store as rejected */ strupr(temp); -@@ -5242,7 +5249,12 @@ - for (;;) - { - fprintf(stderr, "enter word <RETURN> to exit: "); -+#ifdef freebsd +@@ -5437,7 +5440,8 @@ + for (;;) + { + fprintf(stderr, "enter word <RETURN> to exit: "); +- gets(field); + fgets(field, (sizeof(field_) - (field - field_)), stdin); + field[strlen(field-1)] = '\0'; -+#else - gets(field); -+#endif - if (strlen(field) < 2) - break; - strupr(field); + if (strlen(field) < 2) + break; + strupr(field); diff --git a/textproc/nfbtrans/pkg-descr b/textproc/nfbtrans/pkg-descr index 93d2a9f..22af170 100644 --- a/textproc/nfbtrans/pkg-descr +++ b/textproc/nfbtrans/pkg-descr @@ -7,3 +7,5 @@ are in a text file and can easily be modified by the user. The program can be configured to hyphenate words to save space. - Max + +WWW: httr://www.nfb.org/nfbtrans.htm diff --git a/textproc/nfbtrans/pkg-plist b/textproc/nfbtrans/pkg-plist index 67e04a6..d5180e5 100644 --- a/textproc/nfbtrans/pkg-plist +++ b/textproc/nfbtrans/pkg-plist @@ -2,6 +2,7 @@ bin/nfbtrans lib/nfbtrans/back.tab lib/nfbtrans/braille.tab lib/nfbtrans/english.dic +lib/nfbtrans/menu.cnf lib/nfbtrans/nfbtrans.cnf lib/nfbtrans/tables/bhs_bhm.tab lib/nfbtrans/tables/danish.tab @@ -20,6 +21,8 @@ lib/nfbtrans/tables/swedish.tab lib/nfbtrans/tables/tables.doc share/doc/nfbtrans/nfbtrans.doc share/doc/nfbtrans/nfbtrans.fmt +share/doc/nfbtrans/read.me +share/doc/nfbtrans/tvfreqs.fmt @dirrm lib/nfbtrans/tables @dirrm lib/nfbtrans @dirrm share/doc/nfbtrans |