diff options
author | vanilla <vanilla@FreeBSD.org> | 1997-12-24 07:24:22 +0000 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 1997-12-24 07:24:22 +0000 |
commit | e7684cca8a4e0c1775ce29d0b389b127b7ec7239 (patch) | |
tree | 33893a91a55b42fac208e33215f1edb19fab3acc /biology/babel | |
parent | 81b9ed4f2298c0732fc1e9c02e92bbbec0bf3b59 (diff) | |
download | FreeBSD-ports-e7684cca8a4e0c1775ce29d0b389b127b7ec7239.zip FreeBSD-ports-e7684cca8a4e0c1775ce29d0b389b127b7ec7239.tar.gz |
Move pkg/INSTALL to pkg/MESSAGE, add another patch from maintainer.
PR: ports/5361
Reviewed by: asami
Submitted by: maintainer
Diffstat (limited to 'biology/babel')
-rw-r--r-- | biology/babel/Makefile | 4 | ||||
-rw-r--r-- | biology/babel/files/patch-ab | 10 | ||||
-rw-r--r-- | biology/babel/pkg-message | 6 |
3 files changed, 14 insertions, 6 deletions
diff --git a/biology/babel/Makefile b/biology/babel/Makefile index c6346cd..26a9619 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 <bsd.port.mk> diff --git a/biology/babel/files/patch-ab b/biology/babel/files/patch-ab index 4770277..a8017dc 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 0000000..b510910 --- /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 * +********************************************************* |