diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 1997-12-21 21:57:37 +0000 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 1997-12-21 21:57:37 +0000 |
commit | 77daf87099d085bed5b9ce9f9caeb485b7e6607c (patch) | |
tree | 74721d0a2370567d1b79a2f9f8ac82eab710c520 /biology/babel/files | |
parent | Upgrade to 2.04. (diff) |
This is a port of a molecular file format converter, babel.
Babel is developed by Dolata Group, Department of Chemistry,
University of Arizona and Ohio State University.
PR: ports/5215
Submitted by: Frank Chen Hsiung Chan <frankch@waru.life.nthu.edu.tw>
Diffstat (limited to 'biology/babel/files')
-rw-r--r-- | biology/babel/files/patch-aa | 24 | ||||
-rw-r--r-- | biology/babel/files/patch-ab | 37 |
2 files changed, 61 insertions, 0 deletions
diff --git a/biology/babel/files/patch-aa b/biology/babel/files/patch-aa new file mode 100644 index 000000000000..2cbbdf919829 --- /dev/null +++ b/biology/babel/files/patch-aa @@ -0,0 +1,24 @@ +--- Makefile.orig Tue Jan 21 23:53:05 1997 ++++ Makefile Sat Dec 20 05:12:51 1997 +@@ -1,6 +1,6 @@ +-CFLAGS = -O ++DEST = /usr/local/share/babel + +-LIBFLAGS = -O -DLIBRARY ++LIBFLAGS = -DLIBRARY + + CC = cc + +@@ -334,7 +334,11 @@ + index:; ctags -wx $(HDRS) $(SRCS) + + install: $(PROGRAM) +- install -s $(PROGRAM) $(DEST) ++ install -s $(PROGRAM) /usr/local/bin/$(PROGRAM) ++ install -d -o bin -g bin $(DEST) ++ install -c -o bin -g bin README.1ST $(DEST) ++ install -c -o bin -g bin element.lis new.lis $(DEST) ++ install -c -o bin -g bin quanta.lis types.lis $(DEST) + + print:; $(PRINT) $(HDRS) $(SRCS) + diff --git a/biology/babel/files/patch-ab b/biology/babel/files/patch-ab new file mode 100644 index 000000000000..4770277b67e8 --- /dev/null +++ b/biology/babel/files/patch-ab @@ -0,0 +1,37 @@ +--- menus.c.orig Thu Dec 4 20:20:28 1997 ++++ menus.c Thu Dec 4 20:21:46 1997 +@@ -63,9 +63,9 @@ + } + } + printf("Input file name : "); +- gets(InfileName); ++ fgets(InfileName, BUFF_SIZE - 1, stdin); + printf("Keywords : "); +- gets(InputKeywords); ++ fgets(InputKeywords, BUFF_SIZE - 1, stdin); + + if (strlen(InputKeywords) < 1) + strcpy(InputKeywords,"KEYWORDS GO HERE"); +@@ -108,11 +108,11 @@ + } + } + printf("Output file name : "); +- gets(OutfileName); ++ fgets(OutfileName, BUFF_SIZE - 1, stdin); + if (has_keywords) + { + printf("Keywords : "); +- gets(OutputKeywords); ++ fgets(OutputKeywords, BUFF_SIZE - 1, stdin); + if (strlen(OutputKeywords) < 1) + strcpy(OutputKeywords,"KEYWORDS GO HERE"); + } +@@ -167,7 +167,7 @@ + while (done == FALSE) + { + printf("Choice : "); +- gets(choice_string); ++ fgets(choice_string, 99, stdin); + for (i = 0; i < (int) strlen(choice_string); i++) + { + if (!isdigit(choice_string[i])) |