the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: clustalw
Version: 1.83
Revision: 3
Description: Multiple Sequence Alignment Program
License: Restrictive
Maintainer: Chris Black
BuildDepends: fink (>= 0.24.12)
Conflicts: arb
Recommends: boxshade
Source: ftp://ftp.ebi.ac.uk/pub/software/unix/%n/%n%v.UNIX.tar.gz
SourceDirectory: %n%v
Source-MD5: dc240277e5bb14ffc106d4a5fda87752
PatchFile: %n.patch
PatchFile-MD5: 12c43c584e887e82d72cff24ac64ebb1
PatchScript: sed 's|@PREFIX@|%p|g' < %{PatchFile} | patch -p1
CompileScript: make
InstallScript: make install prefix=%i
DocFiles: README clustalw.doc clustalv.doc clustalw.ms
Homepage: http://www-igbmc.u-strasbg.fr/BioInfo/ClustalW/Top.html
DescDetail: <<
ClustalW computes multiple sequence alignments for sets of either
nucleic acid (DNA/RNA) or amino acid (protein) sequences
<<
DescUsage: clustalw
DescPackaging: <<
The only license restriction is for a non-exclusive
license to redistribute as part of a commercial
product. Because of this I set the license to
Restrictive.
<<
DescPort: <<
Patches the makefile to put everything in place and add a
make install rule.
<<
diff -ruN clustalw1.83-orig/clustalw.c clustalw1.83/clustalw.c
--- clustalw1.83-orig/clustalw.c Wed Jan 29 00:53:45 2003
+++ clustalw1.83/clustalw.c Mon Feb 16 15:51:14 2004
@@ -34,7 +34,7 @@
#ifdef MSDOS
char *help_file_name = "clustalw.hlp";
#else
- char *help_file_name = "clustalw_help";
+ char *help_file_name = LIBDIR "/clustalw_help";
#endif
sint max_names; /* maximum length of names in current alignment file */
diff -ruN clustalw1.83-orig/makefile clustalw1.83/makefile
--- clustalw1.83-orig/makefile Wed Jan 29 00:53:45 2003
+++ clustalw1.83/makefile Mon Feb 16 15:53:48 2004
@@ -1,17 +1,21 @@
-install: clustalw
-
-clean:
- rm *.o
+#
+# Where to put things
+#
+prefix = @PREFIX@
+bindir = $(prefix)/bin
+libdir = $(prefix)/lib/clustalw
+#
OBJECTS = interface.o sequence.o showpair.o malign.o \
- util.o trees.o gcgcheck.o prfalign.o pairalign.o \
- calcgapcoeff.o calcprf1.o calcprf2.o calctree.o \
- readmat.o alnscore.o random.o
+ util.o trees.o gcgcheck.o prfalign.o pairalign.o \
+ calcgapcoeff.o calcprf1.o calcprf2.o calctree.o \
+ readmat.o alnscore.o random.o
HEADERS = general.h clustalw.h
+INSTALL = /usr/bin/install
CC = cc
-CFLAGS = -c -O
+CFLAGS = -c -O -DLIBDIR=\"${libdir}\"
LFLAGS = -O -lm
clustalw : $(OBJECTS) amenu.o clustalw.o
@@ -31,4 +35,15 @@
.c.o :
$(CC) $(CFLAGS) $?
+
+install: clustalw
+ $(INSTALL) -d -m 755 $(bindir)
+ $(INSTALL) -d -m 755 $(libdir)
+ $(INSTALL) -c -m 755 clustalw $(bindir)
+ $(INSTALL) -c -m 644 clustalw_help $(libdir)
+
+clean:
+ rm *.o clustalw
+
+