View | Details | Raw Unified | Return to bug 96063
Collapse All | Expand All

(-)fasta3/Makefile (-2 / +10 lines)
Lines 7-13 Link Here
7
#
7
#
8
8
9
PORTNAME=	fasta3
9
PORTNAME=	fasta3
10
PORTVERSION=	34.t25.d5
10
PORTVERSION=	34.t25.d6
11
CATEGORIES=	biology
11
CATEGORIES=	biology
12
MASTER_SITES=	ftp://ftp.virginia.edu/pub/fasta/
12
MASTER_SITES=	ftp://ftp.virginia.edu/pub/fasta/
13
DISTNAME=	fasta${PORTVERSION:S/.//g}
13
DISTNAME=	fasta${PORTVERSION:S/.//g}
Lines 19-26 Link Here
19
NO_CDROM=	"May not be sold or incorporated into a commercial product"
19
NO_CDROM=	"May not be sold or incorporated into a commercial product"
20
WRKSRC=		${WRKDIR}/${PORTNAME}
20
WRKSRC=		${WRKDIR}/${PORTNAME}
21
SUB_FILES=	pkg-message
21
SUB_FILES=	pkg-message
22
MAKEFILE=	Makefile.freebsd
22
23
23
MAKE_ENV+=	THR_LIBS=${PTHREAD_LIBS}
24
XDIR=		${PREFIX}/bin
25
FASTA_HOST!=	/usr/bin/uname -n
26
27
MAKE_ENV+=	THR_LIBS=${PTHREAD_LIBS} XDIR=${XDIR} \
28
		FASTA_HOST='"${FASTA_HOST}"'
24
29
25
FASTA3_DOCS=	README COPYRIGHT FASTA_LIST fasta3x.me fasta3x.doc \
30
FASTA3_DOCS=	README COPYRIGHT FASTA_LIST fasta3x.me fasta3x.doc \
26
		fasta20.doc fasta_func.doc readme.* fasta.defaults
31
		fasta20.doc fasta_func.doc readme.* fasta.defaults
Lines 38-43 Link Here
38
	@ for file in ${EXTRACT_ONLY}; do \
43
	@ for file in ${EXTRACT_ONLY}; do \
39
	  cd ${WRKSRC} && (${GZCAT} ${DISTDIR}/$${file} | ${SH} >/dev/null); \
44
	  cd ${WRKSRC} && (${GZCAT} ${DISTDIR}/$${file} | ${SH} >/dev/null); \
40
	done
45
	done
46
47
post-extract:
48
	@ cp ${FILESDIR}/Makefile.freebsd ${WRKSRC}
41
49
42
post-install:
50
post-install:
43
	${INSTALL_DATA} ${WRKSRC}/fastlibs ${PREFIX}/etc/fastlibs.sample
51
	${INSTALL_DATA} ${WRKSRC}/fastlibs ${PREFIX}/etc/fastlibs.sample
(-)fasta3/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (fasta34t25d5.shar.Z) = 500a449fe3eeebbeb3e7f53f652505c7
1
MD5 (fasta34t25d6.shar.Z) = 462419371d55afd787043d2104c461cc
2
SHA256 (fasta34t25d5.shar.Z) = bcb7c25b6e3d883cc4c61c35b94b4dc42c49a158859cfefbf6a3f9357c0e7482
2
SHA256 (fasta34t25d6.shar.Z) = 409abdf657931cb07ea2ae38587d9387d418436662f1c1b889a3829302656449
3
SIZE (fasta34t25d5.shar.Z) = 795675
3
SIZE (fasta34t25d6.shar.Z) = 798483
(-)fasta3/files/Makefile.freebsd (+67 lines)
Line 0 Link Here
1
#
2
# Makefile for building fasta3 on FreeBSD
3
#
4
# Fernan Aguero - <fernan@iib.unsam.edu.ar>
5
6
# we take care of doing variable assignment using the '?=' and '+='
7
# operators to preserve the value of variables if they are already
8
# defined. In FreeBSD this happens when fasta3 is build from the port or
9
# when the user has set these variables -- most notably CC and/or CFLAGS
10
# -- in /etc/make.conf
11
12
# Compiler executable, and optional flags
13
CC?=		gcc
14
CFLAGS?=	-g -O2
15
16
# your FASTA host
17
FASTA_HOST?=	"your_fasta_host"
18
19
# common CFLAGS. These are the set of CFLAGS that are always used
20
COMMON_CFLAGS=	-DSHOWSIM -DUNIX -DTIMES -DHZ=100 -c -DMAX_WORKERS=2 \
21
		-DTHR_EXIT=pthread_exit -DPROGRESS -DUSE_MMAP -D_REENTRANT \
22
		-D_LARGE_FILE_SOURCE -D_FILE_OFFSET_BITS=64 -DUSE_FSEEKO \
23
		-DHAS_INTTYPES -DSAMP_STATS
24
25
# standard options, these will be added to the common CFLAGS if
26
# selected below
27
STANDARD_CFLAGS=	-DSFCHAR="':'" -DFASTA_HOST='${FASTA_HOST}' \
28
			-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DPGM_DOC
29
30
# options for superfamily validations, these will be added to the common
31
# CFLAGS if selected below
32
SUPERFAMILY_CFLAGS=	-DSFCHAR="'|'" -DSUPERFAMNUM -DBIG_LIB64
33
34
# here we define CFLAGS to be the sum of common flags plus a subset of
35
# optional flags that define our intended use.
36
# The default standard flags are selected by default, although the user
37
# can override this if s/he wants
38
CFLAGS+=	${COMMON_CFLAGS} ${STANDARD_CFLAGS}
39
40
XDIR?=		/usr/local/bin
41
42
LIB_M+=		-lm
43
44
HFLAGS+=	-o
45
NFLAGS+=	-o
46
47
48
49
# FreeBSD users BEWARE! Different threading models ahead!
50
51
# The threading model has changed along the way from FreeBSD-4 to
52
# FreeBSD-6. If you're building fasta3 on your own, you will need to
53
# adjust this accordingly. The default works in FreeBSD-6x (currently
54
# the recommended major version for use in production). Or better yet,
55
# use the biology/fasta3 port from the ports collection, which will use
56
# the correct threading library for your OSVERSION
57
58
THR_SUBS?=	pthr_subs2
59
THR_LIBS?=	-lpthread
60
THR_CC?=	
61
62
DROPNFA_O = drop_nfa.o
63
DROPGSW_O = dropgsw.o
64
DROPRSS_O = dropnsw.o
65
DROPTFA_O = drop_tfa.o
66
67
include Makefile34m.common
(-)fasta3/files/patch-Makefile (-33 lines)
Lines 1-33 Link Here
1
--- Makefile.orig	Thu Feb  9 12:03:37 2006
2
+++ Makefile	Thu Feb  9 12:07:21 2006
3
@@ -7,7 +7,7 @@
4
 # in dropnfa.c  (wrp 3/19/1998)
5
 #
6
 
7
-CC= gcc -g -O3
8
+#CC= gcc -g -O3
9
 #CC=gcc -Wall -pedantic -ansi -g -O
10
 #CC = gcc -g -DDEBUG
11
 #CC= /opt/parasoft/bin.linux2/insure -g -pg -DDEBUG
12
@@ -21,7 +21,7 @@
13
 #CFLAGS= -DSHOWSIM -DUNIX -DTIMES -DHZ=100 -DSFCHAR="'|'" -c -DMAX_WORKERS=2 -DTHR_EXIT=pthread_exit -DPROGRESS -DSUPERFAMNUM -DUSE_MMAP -D_REENTRANT -DBIG_LIB64 -D_LARGE_FILE_SOURCE -DUSE_FSEEKO -D_FILE_OFFSET_BITS=64 -DHAS_INTTYPES -DSAMP_STATS
14
 
15
 # standard options
16
-CFLAGS= -DSHOWSIM -DUNIX -DTIMES -DHZ=100 -DSFCHAR="':'" -c -DMAX_WORKERS=2 -DTHR_EXIT=pthread_exit -DPROGRESS -DFASTA_HOST='"wrpx00.bioch.virginia.edu/fasta/cgi"' -DUSE_MMAP -D_REENTRANT -DHAS_INTTYPES -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DUSE_FSEEKO -DSAMP_STATS -DPGM_DOC
17
+CFLAGS+= -DSHOWSIM -DUNIX -DTIMES -DHZ=100 -DSFCHAR="':'" -c -DMAX_WORKERS=2 -DTHR_EXIT=pthread_exit -DPROGRESS -DFASTA_HOST='"wrpx00.bioch.virginia.edu/fasta/cgi"' -DUSE_MMAP -D_REENTRANT -DHAS_INTTYPES -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DUSE_FSEEKO -DSAMP_STATS -DPGM_DOC
18
 # -I/usr/local/include/mysql -DMYSQL_DB 
19
 #
20
 #(for mySQL databases)  (also requires change to Makefile34.common)
21
@@ -35,10 +35,10 @@
22
 
23
 # for Linux
24
 THR_SUBS = pthr_subs2
25
-THR_LIBS = -lpthread
26
+#THR_LIBS = -lpthread
27
 THR_CC =
28
 
29
-XDIR = /seqprg/bin
30
+XDIR = ${PREFIX}/bin
31
 
32
 DROPNFA_O = drop_nfa.o
33
 DROPGSW_O = dropgsw.o

Return to bug 96063