aboutsummaryrefslogtreecommitdiff
path: root/science/gdis
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-03-05 03:36:20 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-03-05 03:36:20 +0000
commitffc14c8d8fb8fef03a89aee1af5b440fead690e1 (patch)
treeeb6f72a5c9999f181432a38ed3f721c9b6b5a3a6 /science/gdis
parent74ae5e5a44281ae7dbe530142f8035ee0ef9f71b (diff)
downloadports-ffc14c8d8fb8fef03a89aee1af5b440fead690e1.tar.gz
ports-ffc14c8d8fb8fef03a89aee1af5b440fead690e1.zip
add gdis 0.73.3
Display and manipulation of isolated molecules and periodic systems
Notes
Notes: svn path=/head/; revision=55550
Diffstat (limited to 'science/gdis')
-rw-r--r--science/gdis/Makefile36
-rw-r--r--science/gdis/distinfo1
-rw-r--r--science/gdis/files/patch-gdis.h11
-rw-r--r--science/gdis/pkg-comment1
-rw-r--r--science/gdis/pkg-descr12
-rw-r--r--science/gdis/pkg-plist3
6 files changed, 64 insertions, 0 deletions
diff --git a/science/gdis/Makefile b/science/gdis/Makefile
new file mode 100644
index 000000000000..935a9f532780
--- /dev/null
+++ b/science/gdis/Makefile
@@ -0,0 +1,36 @@
+# ex:ts=8
+# Ports collection Makefile for: gdis
+# Date created: Mar 3, 2002
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= gdis
+PORTVERSION= 0.73.3
+CATEGORIES= science
+MASTER_SITES= ftp://ftp.seul.org/pub/gdis/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= ports@FreeBSD.org
+
+LIB_DEPENDS= gtkextra:${PORTSDIR}/x11-toolkits/gtkextra \
+ gtkgl:${PORTSDIR}/x11-toolkits/gtkglarea
+
+USE_GTK= yes
+USE_MESA= yes
+WRKSRC= ${WRKDIR}/${PORTNAME}
+USE_GMAKE= yes
+ALL_TARGET= # empty
+
+post-patch:
+ @${PERL} -pi -e "s,^CC,#CC,g ; s,^CFLAGS,#CFLAGS,g ; \
+ s,gtk-config,${GTK_CONFIG},g" ${WRKSRC}/Makefile
+ @${PERL} -pi -e "s,%%DATADIR%%,${DATADIR},g" ${WRKSRC}/gdis.h
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/gdis ${PREFIX}/bin
+ @${MKDIR} ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/gdis.lib ${DATADIR}
+
+.include <bsd.port.mk>
diff --git a/science/gdis/distinfo b/science/gdis/distinfo
new file mode 100644
index 000000000000..fd2d516c537c
--- /dev/null
+++ b/science/gdis/distinfo
@@ -0,0 +1 @@
+MD5 (gdis-0.73.3.tgz) = 50be37ea193352dc681d594903b2eead
diff --git a/science/gdis/files/patch-gdis.h b/science/gdis/files/patch-gdis.h
new file mode 100644
index 000000000000..71f5b308eeec
--- /dev/null
+++ b/science/gdis/files/patch-gdis.h
@@ -0,0 +1,11 @@
+--- gdis.h.orig Tue Mar 5 11:24:15 2002
++++ gdis.h Tue Mar 5 11:25:22 2002
+@@ -61,7 +61,7 @@
+
+ /* location of data file - TODO - IMPROVE ie rc file/scan etc */
+ #define RCFILE ".gdisrc"
+-#define LIBRARY "gdis.lib"
++#define LIBRARY "%%DATADIR%%gdis.lib"
+ #define LOG_FILE "gdismol.log"
+ #define FONT "-misc-fixed-medium-r-*-*-*-120-*-*-*-*-iso8859-1"
+
diff --git a/science/gdis/pkg-comment b/science/gdis/pkg-comment
new file mode 100644
index 000000000000..518f093ebf1f
--- /dev/null
+++ b/science/gdis/pkg-comment
@@ -0,0 +1 @@
+Display and manipulation of isolated molecules and periodic systems
diff --git a/science/gdis/pkg-descr b/science/gdis/pkg-descr
new file mode 100644
index 000000000000..6c0a5a3917d9
--- /dev/null
+++ b/science/gdis/pkg-descr
@@ -0,0 +1,12 @@
+GDIS is a GTK based program for the display and manipulation of isolated
+molecules and periodic systems. It is in development, but is nonetheless
+fairly functional. It has the following features:
+ - Support for several file types (CIF, BIOSYM, XYZ, XTL, MARVIN, and GULP)
+ - A simple molecular creation and manipulation tool
+ - A dialogue for creating starting configurations for molecular dynamics
+ simulations
+ - Assorted tools for visualization (geometry information, region
+ highlighting, etc.)
+ - Animation of BIOSYM files
+
+WWW: http://gdis.seul.org/
diff --git a/science/gdis/pkg-plist b/science/gdis/pkg-plist
new file mode 100644
index 000000000000..9a6978cf8d8c
--- /dev/null
+++ b/science/gdis/pkg-plist
@@ -0,0 +1,3 @@
+bin/gdis
+share/gdis/gdis.lib
+@dirrm share/gdis