1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00

Povchem is a tool to generate POV file from a PDB(Protein

DataBank) entry. One can adjust many parameters for a high
quality molecular graphic.
PR:		 ports/6008
Submitted by:	Frank Chen Hsiung Chan <frankch@waru.life.nthu.edu.tw>
This commit is contained in:
Vanilla I. Shu 1998-03-16 06:57:14 +00:00
parent a383ea7000
commit f53fc71c73
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=10173
7 changed files with 78 additions and 0 deletions

34
biology/povchem/Makefile Normal file
View File

@ -0,0 +1,34 @@
# New ports collection Makefile for: povchem
# Version required: 1.0
# Date created: Mar 14 1998
# Whom: frankch@waru.life.nthu.edu.tw
#
# $Id$
#
DISTNAME= povchem-1.0
CATEGORIES= biology graphics
MASTER_SITES= http://cherubino.med.jhmi.edu/~paul/PC_Dist/v1.00/
DISTFILES= povchem.c \
povchem.cfg \
periodic.tab
MAINTAINER= frankch@waru.life.nthu.edu.tw
NO_WRKSUBDIR= yes
pre-extract:
@${MKDIR} ${WRKSRC}
@${CP} ${DISTDIR}/povchem.c ${WRKSRC}
@${CP} ${DISTDIR}/povchem.cfg ${WRKSRC}
@${CP} ${DISTDIR}/periodic.tab ${WRKSRC}
do-extract:
@${TOUCH} ${TOUCH_FLAGS} ${EXTRACT_COOKIE}
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/povchem ${PREFIX}/bin
@${INSTALL_DATA} ${WRKSRC}/povchem.cfg ${PREFIX}/etc
@${INSTALL_DATA} ${WRKSRC}/periodic.tab ${PREFIX}/share
.include <bsd.port.mk>

3
biology/povchem/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (povchem.c) = a8eceada2acdee9f69e018a49033dfc4
MD5 (povchem.cfg) = 23c6417b12d9562c68e1242b7e339138
MD5 (periodic.tab) = bdb231f0c8b6e1e37c3b3b025d73a7b0

View File

@ -0,0 +1,20 @@
--- povchem.c.orig Sat Mar 14 17:19:41 1998
+++ povchem.c Sat Mar 14 17:20:32 1998
@@ -482,7 +482,7 @@
*/
if (*fileName==NULL) {
- New_String(fileName,"povchem.cfg");
+ New_String(fileName,"/usr/local/etc/povchem.cfg");
if ((config=fopen(*fileName,"r"))==NULL) {
puts("Can't read the configuration file \"povchem.cfg\"!");
perror("Reason");
@@ -731,7 +731,7 @@
no_config:
- if (!PERIODIC_TABLE_FILE) New_String(&PERIODIC_TABLE_FILE,"periodic.tab");
+ if (!PERIODIC_TABLE_FILE) New_String(&PERIODIC_TABLE_FILE,"/usr/local/share/periodic.tab");
if (!FINISH) New_String(&FINISH,"Plastic");
if (!FINISH_DECLARATION) New_String(&FINISH_DECLARATION,"\
finish {\n\

View File

@ -0,0 +1,11 @@
--- povchem.cfg.orig Sun Mar 15 14:14:16 1998
+++ povchem.cfg Sun Mar 15 14:15:13 1998
@@ -331,7 +331,7 @@
# the type of image POV-Ray generates - usually TGA (also called TARGA).
#
#Viewer = c:\util\dvpeg.exe
-Viewer = /usr/local/bin/xv
+Viewer = /usr/X11R6/bin/xv
# If ColorSplit is Proportional, 'Power' determines the power of the vdW radii
# to which the point of color change is proportional. See the manual for

View File

@ -0,0 +1 @@
Simple yet powerful tool to generate POV from a PDB file

View File

@ -0,0 +1,6 @@
PovChem is a powerful tool to generate a POV format file from a PDB entry.
It supports CPK, Ball-n-Stick and Cylinder model. You could adjust a lot
of parameters to get a good molecuar graphic.
The document could be found at
http://cherubino.med.jhmi.edu/~paul/Manual.html

View File

@ -0,0 +1,3 @@
bin/povchem
etc/povchem.cfg
share/periodic.tab