mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-22 08:58:47 +00:00
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>
This commit is contained in:
parent
cd524aef97
commit
77daf87099
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=9147
19
biology/babel/Makefile
Normal file
19
biology/babel/Makefile
Normal file
@ -0,0 +1,19 @@
|
||||
# New ports collection Makefile for: babel
|
||||
# Version required: 1.6
|
||||
# Date created: Dec 4 1997
|
||||
# Whom: frankch@waru.life.nthu.edu.tw
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
|
||||
DISTNAME= babel-1.6
|
||||
CATEGORIES= biology
|
||||
MASTER_SITES= ftp://ccl.osc.edu/pub/chemistry/software/MAC/babel/
|
||||
EXTRACT_SUFX= .tar.Z
|
||||
|
||||
MAINTAINER= frankch@waru.life.nthu.edu.tw
|
||||
|
||||
post-install:
|
||||
@ ${CAT} ${PKGDIR}/INSTALL
|
||||
|
||||
.include <bsd.port.mk>
|
1
biology/babel/distinfo
Normal file
1
biology/babel/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (babel-1.6.tar.Z) = 101a5dc4858ecacac123571db52b272e
|
24
biology/babel/files/patch-aa
Normal file
24
biology/babel/files/patch-aa
Normal file
@ -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)
|
||||
|
37
biology/babel/files/patch-ab
Normal file
37
biology/babel/files/patch-ab
Normal file
@ -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]))
|
1
biology/babel/pkg-comment
Normal file
1
biology/babel/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
Conversion program among various molecular file formats.
|
6
biology/babel/pkg-descr
Normal file
6
biology/babel/pkg-descr
Normal file
@ -0,0 +1,6 @@
|
||||
Babel is a conversion program which is able to convert among dozens of
|
||||
molecular file formats.
|
||||
Babel is developed by Dolata Group, Department of Chemistry,
|
||||
Arizona University and Ohio State University.
|
||||
The homepage of babel could be found at
|
||||
http://mercury.aichem.arizona.edu/babel.html
|
7
biology/babel/pkg-plist
Normal file
7
biology/babel/pkg-plist
Normal file
@ -0,0 +1,7 @@
|
||||
bin/babel
|
||||
share/babel/README.1ST
|
||||
share/babel/element.lis
|
||||
share/babel/new.lis
|
||||
share/babel/quanta.lis
|
||||
share/babel/types.lis
|
||||
@dirrm share/babel
|
Loading…
Reference in New Issue
Block a user