aboutsummaryrefslogtreecommitdiffstats
path: root/biology
diff options
context:
space:
mode:
authortdb <tdb@FreeBSD.org>2005-12-10 22:04:33 +0800
committertdb <tdb@FreeBSD.org>2005-12-10 22:04:33 +0800
commit6414324d7293f89dd98835090d7691ecbdcfd1c5 (patch)
tree1ea710ef8b30251665c6654075775025d780b56b /biology
parent68d44a1e0854f0b3cdaa9e8bd44a44940c013bbe (diff)
downloadfreebsd-ports-gnome-6414324d7293f89dd98835090d7691ecbdcfd1c5.tar.gz
freebsd-ports-gnome-6414324d7293f89dd98835090d7691ecbdcfd1c5.tar.zst
freebsd-ports-gnome-6414324d7293f89dd98835090d7691ecbdcfd1c5.zip
- New upstream version; two patches incorporated.
PR: 90140 Submitted by: Fernan Aguero <fernan@iib.unsam.edu.ar> (maintainer) Approved by: clement (mentor)
Diffstat (limited to 'biology')
-rw-r--r--biology/seaview/Makefile8
-rw-r--r--biology/seaview/distinfo6
-rw-r--r--biology/seaview/files/patch-Makefile4
-rw-r--r--biology/seaview/files/patch-align.cxx19
-rw-r--r--biology/seaview/files/patch-seaview.cxx11
5 files changed, 9 insertions, 39 deletions
diff --git a/biology/seaview/Makefile b/biology/seaview/Makefile
index d04448fda4df..9ebc79bd6461 100644
--- a/biology/seaview/Makefile
+++ b/biology/seaview/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= seaview
-PORTVERSION= 2005.13.07
+PORTVERSION= 2006.01.01
CATEGORIES= biology
MASTER_SITES= ftp://pbil.univ-lyon1.fr/pub/mol_phylogeny/seaview/
DISTNAME= ${PORTNAME}
@@ -27,12 +27,12 @@ EXTRACT_BEFORE_ARGS= #
ALL_TARGET= ${PORTNAME}
CFLAGS+= -D HAVE_DIRENT_H \
- -D DEFAULT_HELPFILE=${PREFIX}/lib/X11/seaview/seaview.help
+ -D DEFAULT_HELPFILE=${PREFIX}/lib/X11/${PORTNAME}/seaview.help
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/${DISTNAME} ${PREFIX}/bin
@${INSTALL_SCRIPT} ${WRKSRC}/seaview_align.sh ${PREFIX}/bin
- @${MKDIR} ${PREFIX}/lib/X11/seaview
- @${INSTALL_DATA} ${WRKSRC}/seaview.help ${PREFIX}/lib/X11/seaview
+ @${MKDIR} ${PREFIX}/lib/X11/${PORTNAME}
+ @${INSTALL_DATA} ${WRKSRC}/seaview.help ${PREFIX}/lib/X11/${PORTNAME}
.include <bsd.port.mk>
diff --git a/biology/seaview/distinfo b/biology/seaview/distinfo
index 7b53eba62c52..1dfebc2f8a83 100644
--- a/biology/seaview/distinfo
+++ b/biology/seaview/distinfo
@@ -1,3 +1,3 @@
-MD5 (seaview-2005.13.07/seaview.tar) = 0971b3485351f6a1f56a7b56ead2359c
-SHA256 (seaview-2005.13.07/seaview.tar) = 7f48c494e5bee5dacef28bab2a52eab8aff6b66ceff8fab47fe77a18de376fc5
-SIZE (seaview-2005.13.07/seaview.tar) = 595968
+MD5 (seaview-2006.01.01/seaview.tar) = 4d1d1406f5d9ae0a0edad7144742143b
+SHA256 (seaview-2006.01.01/seaview.tar) = ced1844ca3fc8181a9c811079dbc8e2ee67242ef49be113f761abad034ba8ba3
+SIZE (seaview-2006.01.01/seaview.tar) = 595968
diff --git a/biology/seaview/files/patch-Makefile b/biology/seaview/files/patch-Makefile
index 192839897672..bd9c939916c2 100644
--- a/biology/seaview/files/patch-Makefile
+++ b/biology/seaview/files/patch-Makefile
@@ -1,5 +1,5 @@
--- Makefile.orig Wed Apr 6 05:54:30 2005
-+++ Makefile Mon Dec 5 08:31:05 2005
++++ Makefile Fri Dec 9 07:41:26 2005
@@ -1,18 +1,15 @@
-FLTK = ../fltk
-PDF = ../PDFlib-Lite-6.0.1/libs/pdflib
@@ -7,7 +7,7 @@
CXX = g++
-CFLAGS = -Dunix -U__APPLE__ -c $(OPT) -I$(FLTK) -I$(PDF) -I$(X11)/include
-+CFLAGS = -Dunix -c $(OPT) -I$(X11BASE)/include -I$(LOCALBASE)/include
++CFLAGS+= -Dunix -c $(OPT) -I$(X11BASE)/include -I$(LOCALBASE)/include
OBJECTS = seaview.o pdf.o custom.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
diff --git a/biology/seaview/files/patch-align.cxx b/biology/seaview/files/patch-align.cxx
deleted file mode 100644
index 0db64c232eda..000000000000
--- a/biology/seaview/files/patch-align.cxx
+++ /dev/null
@@ -1,19 +0,0 @@
---- align.cxx.orig Mon Nov 17 14:15:01 2003
-+++ align.cxx Mon Nov 17 14:15:26 2003
-@@ -1,6 +1,7 @@
- #include "seaview.h"
- #include <stdlib.h>
- #include <ctype.h>
-+#include <unistd.h>
- #ifndef WIN32
- #include <FL/x.H>
- #endif
-@@ -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
- */
diff --git a/biology/seaview/files/patch-seaview.cxx b/biology/seaview/files/patch-seaview.cxx
deleted file mode 100644
index e437fa511b20..000000000000
--- a/biology/seaview/files/patch-seaview.cxx
+++ /dev/null
@@ -1,11 +0,0 @@
---- seaview.cxx.orig Mon Nov 17 14:16:39 2003
-+++ seaview.cxx Mon Nov 17 14:17:13 2003
-@@ -164,6 +164,8 @@
- "seaview.hlp",
- #elif defined(__APPLE__)
- NULL,
-+#elif defined(DEFAULT_HELPFILE)
-+ __XSTRING(DEFAULT_HELPFILE),
- #else
- "seaview.help",
- #endif