From 742d411eeda4caca998d1f751fe4eaccbaabd05f Mon Sep 17 00:00:00 2001 From: "Vanilla I. Shu" Date: Wed, 24 Dec 1997 07:24:22 +0000 Subject: Move pkg/INSTALL to pkg/MESSAGE, add another patch from maintainer. PR: ports/5361 Reviewed by: asami Submitted by: maintainer --- biology/babel/Makefile | 4 ++-- biology/babel/files/patch-ab | 10 ++++++---- biology/babel/pkg-message | 6 ++++++ 3 files changed, 14 insertions(+), 6 deletions(-) create mode 100644 biology/babel/pkg-message (limited to 'biology') diff --git a/biology/babel/Makefile b/biology/babel/Makefile index c6346cd588a3..26a96190fcc4 100644 --- a/biology/babel/Makefile +++ b/biology/babel/Makefile @@ -3,7 +3,7 @@ # Date created: Dec 4 1997 # Whom: frankch@waru.life.nthu.edu.tw # -# $Id$ +# $Id: Makefile,v 1.1.1.1 1997/12/21 21:57:36 vanilla Exp $ # DISTNAME= babel-1.6 @@ -14,6 +14,6 @@ EXTRACT_SUFX= .tar.Z MAINTAINER= frankch@waru.life.nthu.edu.tw post-install: - @ ${CAT} ${PKGDIR}/INSTALL + @ ${CAT} ${PKGDIR}/MESSAGE .include diff --git a/biology/babel/files/patch-ab b/biology/babel/files/patch-ab index 4770277b67e8..a8017dc3e65b 100644 --- a/biology/babel/files/patch-ab +++ b/biology/babel/files/patch-ab @@ -1,5 +1,5 @@ ---- menus.c.orig Thu Dec 4 20:20:28 1997 -+++ menus.c Thu Dec 4 20:21:46 1997 +--- menus.c.orig Tue Jan 21 23:52:36 1997 ++++ menus.c Mon Dec 22 14:29:37 1997 @@ -63,9 +63,9 @@ } } @@ -26,12 +26,14 @@ if (strlen(OutputKeywords) < 1) strcpy(OutputKeywords,"KEYWORDS GO HERE"); } -@@ -167,7 +167,7 @@ +@@ -167,8 +167,8 @@ while (done == FALSE) { printf("Choice : "); - gets(choice_string); +- for (i = 0; i < (int) strlen(choice_string); i++) + fgets(choice_string, 99, stdin); - for (i = 0; i < (int) strlen(choice_string); i++) ++ for (i = 0; i < ((int) strlen(choice_string) - 1) ; i++) { if (!isdigit(choice_string[i])) + choice = 0; diff --git a/biology/babel/pkg-message b/biology/babel/pkg-message new file mode 100644 index 000000000000..b5109108d996 --- /dev/null +++ b/biology/babel/pkg-message @@ -0,0 +1,6 @@ +********************************************************* +* Please set the env variable BABEL_DIR to * +* /usr/local/share/babel before running babel. * +* For example, put the next line in your .cshrc file: * +* setenv BABEL_DIR /usr/loacl/share/babel * +********************************************************* -- cgit v1.2.3