1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

unbroke by upgrade to 20021018

drop maintainership

PR:		45466
Submitted by:	old maintainer
This commit is contained in:
Ying-Chieh Liao 2002-11-20 14:03:25 +00:00
parent 0d21dd0321
commit 5f94a921b1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=70600
8 changed files with 72 additions and 30 deletions

View File

@ -6,26 +6,26 @@
# #
PORTNAME= seaview PORTNAME= seaview
PORTVERSION= 1.0 PORTVERSION= 2002.10.18
CATEGORIES= biology CATEGORIES= biology
MASTER_SITES= ftp://pbil.univ-lyon1.fr/pub/mol_phylogeny/seaview/ MASTER_SITES= ftp://pbil.univ-lyon1.fr/pub/mol_phylogeny/seaview/
DISTNAME= ${PORTNAME} DISTNAME= ${PORTNAME}
EXTRACT_SUFX= .tar EXTRACT_SUFX= .tar
MAINTAINER= frankch@waru.life.nthu.edu.tw MAINTAINER= ports@FreeBSD.org
BROKEN= "Checksum is incorrect" LIB_DEPENDS= fltk.1:${PORTSDIR}/x11-toolkits/fltk
LIB_DEPENDS= forms.1:${PORTSDIR}/x11-toolkits/xforms
USE_X_PREFIX= YES USE_X_PREFIX= YES
NO_WRKSUBDIR= YES NO_WRKSUBDIR= YES
EXTRACT_CMD= ${TAR} EXTRACT_CMD= ${TAR}
EXTRACT_BEFORE_ARGS= -xf EXTRACT_BEFORE_ARGS= -xf
EXTRACT_AFTER_ARGS= # empty EXTRACT_AFTER_ARGS= # empty
MAKEFILE= makefile
do-install: do-install:
@ ${INSTALL_PROGRAM} ${WRKSRC}/${DISTNAME} ${PREFIX}/bin @ ${INSTALL_PROGRAM} ${WRKSRC}/${DISTNAME} ${PREFIX}/bin
@ ${INSTALL_SCRIPT} ${WRKSRC}/seaview_align.sh ${PREFIX}/bin
@ (${MKDIR} ${PREFIX}/lib/X11/seaview) @ (${MKDIR} ${PREFIX}/lib/X11/seaview)
@ ${INSTALL_DATA} ${WRKSRC}/seaview.help ${PREFIX}/lib/X11/seaview @ ${INSTALL_DATA} ${WRKSRC}/seaview.help ${PREFIX}/lib/X11/seaview

View File

@ -1 +1 @@
MD5 (seaview.tar) = 2e0b15423aae80a91709b253fc7c5cab MD5 (seaview.tar) = 1f9b5157966b98f2724428d3fb1f6b17

View File

@ -1,20 +1,23 @@
--- Makefile.orig Mon Aug 30 20:54:56 1999 --- makefile.orig Wed Sep 25 23:58:15 2002
+++ Makefile Mon Aug 30 20:55:48 1999 +++ makefile Mon Nov 18 11:26:42 2002
@@ -0,0 +1,17 @@ @@ -1,13 +1,15 @@
+#matpt.h -FLTK = ../fltk-1.1.0
+#seaview.h +OPT = -O2
+CC ?= gcc
+CFLAGS+= -I${X11BASE}/include -OBJECTS = seaview.o use_mase_files.o regions.o load_seq.o align.o xfmatpt.o comlines.o chooser_plus.o resource.o nexus.o old_file_chooser.o
+LIBS = -L${X11BASE}/lib -lxforms -lX11 -lm +OBJECTS = seaview.o use_mase_files.o regions.o load_seq.o align.o xfmatpt.o comlines.o chooser_plus.o resource.o nexus.o
+SRCS = align.c comlines.c load_seq.c regions.c seaview.c use_mase_files.c xfmatpt.c
+OBJS = align.o comlines.o load_seq.o regions.o seaview.o use_mase_files.o xfmatpt.o -CFLAGS = -c $(OPT) -I$(FLTK)
+CFLAGS = -c $(OPT) -I$(PREFIX)/include
-CXX = CC
+CXX = g++
+ +
+all: seaview +all: seaview
+
+seaview: $(OBJS) seaview : $(OBJECTS)
+ $(CC) -o seaview $(OBJS) $(LIBS) - $(CXX) -o $@ $(OBJECTS) -L$(FLTK)/lib -lfltk -lX11 -lm
+ + $(CXX) -o $@ $(OBJECTS) -L$(PREFIX)/lib -lfltk -lX11 -lMesaGL -lXext -lm
+c.o.: $(SRCS)
+ $(CC) $(CFLAGS) -c $(SRCS)
+ .SUFFIXES: .cxx .h .o
+

View File

@ -0,0 +1,18 @@
--- align.cxx.orig Tue Oct 8 19:43:40 2002
+++ align.cxx Mon Nov 18 11:40:08 2002
@@ -1,5 +1,6 @@
#include "seaview.h"
#include <stdlib.h>
+#include <unistd.h>
#include <ctype.h>
#ifndef WIN32
#include <FL/x.H>
@@ -155,7 +156,7 @@
#endif
debut = view->active_region->list->debut;
fin = view->active_region->list->fin;
-tmpnam(base_fname);
+mkstemp(base_fname);
/*
convertir en minuscules car clustalw n'accepte pas les majuscules ds filenames
*/

View File

@ -0,0 +1,20 @@
--- chooser_plus.cxx.orig Mon Nov 18 11:14:10 2002
+++ chooser_plus.cxx Mon Nov 18 11:17:52 2002
@@ -442,7 +442,7 @@
strcmp(pat,f->browser.pattern))) {
// if pattern is different, remove name but leave old directory:
const char* p = f->input.value();
- const char* q = fl_filename_name(p);
+ const char* q = filename_name(p);
f->input.value(p, q-p);
}
f->browser.pattern = pat;
@@ -500,7 +500,7 @@
strcmp(pat,f->browser.pattern))) {
// if pattern is different, remove name but leave old directory:
const char* p = f->input.value();
- const char* q = fl_filename_name(p);
+ const char* q = filename_name(p);
f->input.value(p, q-p);
}
f->browser.pattern = pat;

View File

@ -1 +1 @@
Multiple DNA sequence alignment editor Multiple DNA/protein sequence alignment editor

View File

@ -1,15 +1,15 @@
Seaview is a multiple DNA sequence alignment editor. Seaview is a multiple sequence alignment editor.
You can align DNA sequences from several organisms, and find out their You can align DNA/protein sequences from several organisms, and find out their
relative postions in phylogenic tree. relative postions in phylogenic tree.
File test.mase can be used as an example file.
Open the on-line help window through button 'Help' to learn seaview usage. Open the on-line help window through button 'Help' to learn seaview usage.
Example mase files could be found at:
WWW: http://pbil.univ-lyon1.fr/software/seaview.html ftp://pbil.univ-lyon1.fr/pub/mol_phylogeny/seaview/
***************************************************************************** *****************************************************************************
* The help file (seaview.help) is located in /usr/X11R6/lib/X11/seaview/ . * The help file (seaview.help) is located in /usr/X11R6/lib/X11/seaview/ .
* Add an entry in your Xresources or Xdefaults file with: * Add an entry in your .Xresources or .Xdefaults file with:
* *
* seaview*helpfile: /usr/X11R6/lib/X11/seaview/seaview.help * seaview*helpfile: /usr/X11R6/lib/X11/seaview/seaview.help
***************************************************************************** *****************************************************************************

View File

@ -1,3 +1,4 @@
bin/seaview bin/seaview
bin/seaview_align.sh
lib/X11/seaview/seaview.help lib/X11/seaview/seaview.help
@dirrm lib/X11/seaview @dirrm lib/X11/seaview