Update of /cvsroot/fink/dists/10.2/unstable/main/finkinfo/sci
In directory usw-pr-cvs1:/tmp/cvs-serv12271

Added Files:
        gdis-0.76.1-1.info gdis-0.76.1-1.patch 
Log Message:
new upstream version


--- NEW FILE: gdis-0.76.1-1.info ---
Package: gdis
Version: 0.76.1
Revision: 1
Maintainer: Andrew Rohl <[EMAIL PROTECTED]>
Depends: libgl, povray, imagemagick, babel, gtk+extra-shlibs (<< 0.99.17-1), gtk+,  
gtkglarea, glut-shlibs, grace
BuildDepends: gtk+extra, glut, libjpeg, libpng, libtiff, glib, libxml2, freetype2, 
gdbm, gmp, expat, tcltk-dev
Source: ftp://ftp.seul.org/pub/gdis/%n-%v.tgz
PatchScript: <<
 sed 's|@PREFIX2@|%i|g' <%a/%f.patch | sed 's|@PREFIX1@|%p|g' >gdis.patch
 patch -p1 -l <gdis.patch
<<
CompileScript: make
InstallScript: <<
 mkdir -p %i/bin
 mkdir -p %i/bin
 make install
 mkdir -p %i/lib/gdis
 cp -r models  %i/lib/gdis
<<
DocFiles: CHANGELOG GPL.txt README TODO gdis_manual.txt
Description: Molecular and lattice graphics system
DescDetail: <<
GDIS is a GTK/GL based program for the display and manipulation of isolated molecules 
and periodic systems.
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 (also rendered animations)
 * Surface generation tools
 * Geometry measurements
<<
DescUsage: <<
Sample input files are available in the fink lib/gdis/models directory.
There is a very rudimentary manual in the fink share/doc/gdis directory.
<<
License: GPL
Homepage: http://gdis.seul.org

--- NEW FILE: gdis-0.76.1-1.patch ---
--- gdis-0.76.1/Makefile        2002-04-26 11:16:55.000000000 +0800
+++ gdis-0.76.1-patched/Makefile        2002-05-16 12:01:29.000000000 +0800
@@ -2,17 +2,18 @@
 
 # --- edit as required
 CC = gcc
-CFLAGS = -O6
-INSTALL = /usr/local/bin
+CFLAGS = -no-cpp-precomp -O6
+INSTALL1 = @PREFIX1@/bin
+INSTALL2 = @PREFIX2@/bin
 USE_OPENGL = YES
 USE_GPROF = NO
 USE_EFENCE = NO
 
 # --- the rest should be ok
 NAME = gdis-0.76.1
-INCS = `gtk-config --cflags` -I/usr/local/include
+INCS = `gtk-config --cflags` -I@PREFIX1@/include
 LIBS = `gtk-config --libs`
-DEFS = -DINSTALL=\""$(INSTALL)"\"
+DEFS = -DINSTALL=\""$(INSTALL1)"\"
 
 ifeq ($(USE_OPENGL), YES)
 LIBS := $(LIBS) -lGLU -lGL -lglut -lgtkgl
@@ -51,8 +52,8 @@
 .PHONY: install
 install:
        /usr/bin/strip gdis
-       /bin/cp gdis $(INSTALL)
-       /bin/cp gdis.elements $(INSTALL)
+       /bin/cp gdis $(INSTALL2)
+       /bin/cp gdis.elements $(INSTALL2)
 
 .PHONY: tar
 tar:



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Fink-commits mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to